Ad Widget

Collapse

Triggered Action as a Message-Passthrough

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harry483
    Junior Member
    • Nov 2010
    • 5

    #1

    Triggered Action as a Message-Passthrough

    I would like to be able to trigger an action (for sending an email etc.) whenever an item receives a new value.

    The item contains a text value that could repeat itself. The item currently gets updated by invocations of zabbix_sender. I need a trigger configuration that (ideally) instantly fires an action whenever a new value (measured by timestamp) is submitted.

    I tried a couple of things, but either I ended up with the problem that only the first value affecting a trigger (by changing its state) was processed, or, after activating "multiple events generation", some values seem to be processed multiple times without having been changed.

    Is there a suitable trigger definition for this requirement?

    Thanks a lot
    Michael
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Well, the multiple events generation works as intended,
    it Triggers each and every single time received value respects the Trigger conditions (regardless of the Trigger being already ON).

    You can add a condition to the Trigger which guarantees .regexp(yourstring) # .prev(0)

    but that will trigger if your 'new value (measured by timestamp)' string has a single character different than the previously received value.

    Comment

    Working...