Ad Widget

Collapse

How can i make zabbix send values at trigger event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fresh
    Junior Member
    • Sep 2006
    • 4

    #1

    How can i make zabbix send values at trigger event

    hi.
    Tell me please, how can a adjust zabbix(1.1) to send values in messages, not just
    TRIGGERNAME and status ON or OFF?

    i want to reccive messages just they was in previouse version.

    It`s cool, that i can enable all triggers of one host but i also want to know what is the value. The message should contain something like this:

    Free disk space on /backup: {calipso.ru:diskfree[/backup].last(0)} (latest value)
    Free disk space on /backup: {calipso.ru:diskfree[/backup].max(300)} (maximum value for last 5 min)
    Free disk space on /backup: {calipso.ru:diskfree[/backup].min(300)} (minimum value for last 5 min)


    Not just

    {TRIGGER.NAME}: {STATUS}


    thank you
  • fricardo
    Junior Member
    • Aug 2006
    • 4

    #2
    Re: How can i make zabbix send values at trigger event Reply to Thread

    Hello ... you can use the format host:{hostname: key.func(param)} ...

    I get the lines below in the Zabbix manual - http://www.zabbix.com/manual/v1.1/config_actions.php

    # Example 2. Message: Processor load is: {zabbix.zabbix.com:system.cpu.load[,avg1].last(0)}

    The message will be replaced by something like:

    "Processor load is: 1.45"
    Last edited by fricardo; 01-09-2006, 14:02.

    Comment

    • fresh
      Junior Member
      • Sep 2006
      • 4

      #3
      Originally posted by fricardo
      Hello ... you can use the format host:{hostname: key.func(param)} ...

      I get the lines below in the Zabbix manual - http://www.zabbix.com/manual/v1.1/config_actions.php

      # Example 2. Message: Processor load is: {zabbix.zabbix.com:system.cpu.load[,avg1].last(0)}

      The message will be replaced by something like:

      "Processor load is: 1.45"
      {TRIGGER.NAME}: {{HOSTNAME}:{TRIGGER.KEY}.last(0)} at {TIME}

      Processor load is too high on robo.xxx.ru: 7.9 at 12:38:59

      Comment

      Working...