Ad Widget

Collapse

Triger on new value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavvv
    Junior Member
    • May 2016
    • 3

    #1

    Triger on new value

    Hi, I want to create an action to send an email asap after a new value is received for item. What kind of trigger function is best used in this case?
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    You can use the .last() function



    last (sec|#num,<time_shift>)
    The most recent value.

    regards,
    Kaspars

    Comment

    • pavvv
      Junior Member
      • May 2016
      • 3

      #3
      Originally posted by kaspars.mednis
      You can use the .last() function



      last (sec|#num,<time_shift>)
      The most recent value.

      regards,
      Kaspars

      thanks but this dont work, now i have item which collect one id event from windows log and triger fire only for first value


      1. 10:02:13 event id 1111 = triger fire (status Problem) - send email
      2. 10:32:12 event id 1111 = triger dont fire (status problem) - email dont send




      Settings:
      ITEM: eventlog[Security,,,,4740,,]
      Triger: {DC-OST:eventlog[Security,,,,4740,,].last()}
      Action:
      Maintenance status not in maintenance
      Trigger = SERVERNAME: lockout
      Host = SERVERNAME

      Is there any possibility, to configure email notification allways when item collect new data?

      Comment

      Working...