Ad Widget

Collapse

Update Interval Zabbix Trapper

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stkr
    Junior Member
    • Feb 2007
    • 18

    #1

    Update Interval Zabbix Trapper

    Hello,

    when I create an item, i can choose as "type" the value "Zabbix Trapper". If I do so, there is no field to type in the update interval. When finished, in the overview there is shown an update interval with 30seconds . How can I change this value?

    Version: 1.1.6

    Thanks for your answers.
    stkr
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by stkr
    when I create an item, i can choose as "type" the value "Zabbix Trapper". If I do so, there is no field to type in the update interval. When finished, in the overview there is shown an update interval with 30seconds . How can I change this value?
    Zabbix Trapper is a passive check, meaning the server does not query anything, instead it tells the Zabbix Server to listen for something else to send the data. Because of this, it makes no sense to set an update interval. Now, what I suspect you are really worried about is how to trigger of the server does not receive data. That can be done using the nodata() comparison. For example;
    Code:
    {HOST:KEY.nodata(300)}=1
    This trigger will fire if the Zabbix Server does not receive the key data for 300 seconds (5 minutes).
    Unofficial Zabbix Developer

    Comment

    • stkr
      Junior Member
      • Feb 2007
      • 18

      #3
      Hello James,

      thank you for your answer. The nodata() function is very useful. But what I want so say, when you create an item with type Zabbix Trapper, you will see in the overview (after saving) the column "update interval" with 30sec, though you don´t set this value. So is this a default value? Maybe it is a little design mistake.

      And there is one question about this. The nodata() function must have an "update interval", because the Trigger with this function must validate whether the result have changed. So where can I see this update intervall? And can I change it?

      I hope my question isn´t so cryptical

      thanks a lot for your answers
      stkr

      Comment

      • medic
        Member
        • Feb 2007
        • 58

        #4
        stkr, SNMP-Traps are "signals" send via SNMP by the Host you monitor.

        the "update-interval" you see, is because of the templates which are used. It has no meaning, because there is no "update interval" ..

        your server may send an SNMP-Trap once a day, once every minute, or even only in case of a critical failure.

        zabbix_trapper just recieves this Trap, and you configure, what this trap means, no more, no less.

        Comment

        • James Wells
          Senior Member
          • Jun 2005
          • 664

          #5
          Originally posted by stkr
          But what I want so say, when you create an item with type Zabbix Trapper, you will see in the overview (after saving) the column "update interval" with 30sec, though you don´t set this value. So is this a default value? Maybe it is a little design mistake.
          30 is just a default, if an interval is not set. Because you are using Zabbix Trapper, the Zabbix Server will ignore the interval. Personally, I tend to set these manually, by editing the DB, but that is only for aesthetic reasons.

          And there is one question about this. The nodata() function must have an "update interval", because the Trigger with this function must validate whether the result have changed. So where can I see this update intervall? And can I change it?
          nodata() is a trigger function that says, if the server does not receive data in X seconds, then set true. This function is only valid when you use Zabbix Trapper or Zabbix Agent (Active) mode. To use it with either of these, you simply set X to the number of seconds you want to test for. So for example, if you want to trap to see if you get item foo, and want to trigger if you don't get it for 5 minutes, you would create the following trigger;
          Code:
          {HOST:foo.nodata(300)}=1
          Unofficial Zabbix Developer

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Just a small correction. The limitation was for previous versions of ZABBIX. Currently function nodata() works for all items regardless of their type (ZABBIX Agent, ZABBIX Agent (active), Trapper, any) in both 1.1.x and 1.3.x.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • stkr
              Junior Member
              • Feb 2007
              • 18

              #7
              thx all for your answers.

              stkr

              Comment

              • vins
                Member
                • Feb 2009
                • 31

                #8
                the "update-interval" you see, is because of the templates which are used. It has no meaning, because there is no "update interval"
                this is not 100% correct.

                i've done some tests and i see when a zabbix trapper item activates a trigger, it keeps activated until "update interval" occurs, and then, trigger alarm vanishes.

                Comment

                Working...