Ad Widget

Collapse

How can create a custom item for a script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #16
    "Cannot send request: wrong discovery rule type." is because you cannot send test to "dependent item"... you need to pull data to main item, then all dependent items do their job also...

    I don't know anything about micro or milliseconds... Anything extracted is from source file without any mods. There is always option to multiply by 1000 in preprocessing...

    I suggest you try to understand what and how works there. What comes first, what is done to it, what happens after that etc... and make those needed changes, if I screwed up something... doing things blindly here between my own work etc... mistakes can happen..

    Comment

    • bab
      Senior Member
      • Aug 2020
      • 176

      #17
      Originally posted by cyber
      "Cannot send request: wrong discovery rule type." is because you cannot send test to "dependent item"... you need to pull data to main item, then all dependent items do their job also...

      I don't know anything about micro or milliseconds... Anything extracted is from source file without any mods. There is always option to multiply by 1000 in preprocessing...

      I suggest you try to understand what and how works there. What comes first, what is done to it, what happens after that etc... and make those needed changes, if I screwed up something... doing things blindly here between my own work etc... mistakes can happen..


      My means about millisecond is that for example currently it returns 12345 now we need devide to 1000 to convert millisecond 12345/1000 = 12.345 Is that possible do it ?

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #18
        yes.. add another preprocessing step and divide it with any number you need..

        Comment

        • bab
          Senior Member
          • Aug 2020
          • 176

          #19
          Originally posted by cyber
          yes.. add another preprocessing step and divide it with any number you need..

          Thanks. Does it your mean add other preprocessing here ? (emc8.jpg)
          Also would you please say what parameters should fill in ?
          Attached Files

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #20
            yes.. there..
            But I am not going to do your work. https://www.zabbix.com/documentation.../preprocessing

            Comment

            Working...