Ad Widget

Collapse

Trigger question about using nodata()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcamelio
    Member
    • Jul 2005
    • 67

    #1

    Trigger question about using nodata()

    Hi,

    I am looking a way to define a trigger who should be on if the item receive no data between 21:30 and 23:00.

    I already manage numerous programs using zabbix_sender inside but I don't yet check if the program themselves are really started ... this trigger would be helpful for me.

    Any answer would helpful.

    Regards
    Philippe
  • skogan
    Member
    • Nov 2007
    • 70

    #2
    Check page 121 of the manual - it shows an example of EXACTLY what you're asking for.

    Comment

    • pcamelio
      Member
      • Jul 2005
      • 67

      #3
      I already try this triiger, but it is not work I I would like:

      The trigger is working if there is no data in specific time range when I am in that specific time range,

      Let say an example with the followinf trigger:
      ({X_APP_SYNCHRO:synchro.status.nodata(5400)}=1)&({ X_APP_SYNCHRO:synchro.status.time(0)}>213000)&({X_ APP_SYNCHRO:synchro.status.time(0)}<230000)

      a batch should start at 21.30
      I I do not receive data for the itm synchro.status and it is between 21.30 and 23.00 then the trigger is ON but when I check zabbix in the morning I am outside the time range so the trigger is OFF.

      Any suggestions ?

      Comment

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

        #4
        Originally posted by pcamelio
        I I do not receive data for the itm synchro.status and it is between 21.30 and 23.00 then the trigger is ON but when I check zabbix in the morning I am outside the time range so the trigger is OFF.
        This is absolutely fine. It works as advertised Assign a notification to the trigger, so you will be alarmed if anything goes wrong with the synchro.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • pcamelio
          Member
          • Jul 2005
          • 67

          #5
          Hi Alexei,

          your answer give me the solution I was looking.
          As we want to follow everythnig over screen/maps and not over mail. The action link to the trigger will execute a script which will send a specific value to an item (synchro.job) where 1 means job as been started, and 0 means job as not been started.

          So in the morning, just seeing the map would show me if all the batches have been running at night or not.

          Comment

          Working...