Ad Widget

Collapse

icmpping Trigger with .avg function not working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johanpre44
    Member
    • Apr 2006
    • 40

    #1

    icmpping Trigger with .avg function not working?

    I've created a trigger, the expression on the template is {template:icmpping.avg(7200)}=0

    The icmpping item on this template is update every 15 minutes. The items are actually getting values

    The trigger should let me know if the ping was unsuccessfull for 8 pings (or in this case 7200 seconds which translates for 2 hours).

    This trigger does not seem to work. Is there myabe something wrong with my Logic, or does the zabbix server pinger freq have something to do with this.

    When I change the .avg(7200) to .last(0) the trigger does work.

    I also get lots of entries in my zabbix_server.log that looks like this:
    003269:20070115:130749 Evaluation of expression [{15908}=0] failed [Unable to get value for functionid [15908]]
    003269:20070115:130749 Expression [{15908}=0] cannot be evaluated [Unable to get value for functionid [15908]]

    When I create a trigger like this:
    {template:icmpping.last(0)}=0&{template:icmpping.p rev(0)}=0
    it does actually work (withouth the log file messages)

    Looks like Zabbix cannot do an Average of an integer value when the only possible values are 1 or 0. I changed the trigger to work an average on the pingsec float integer.
    Last edited by johanpre44; 16-01-2007, 08:50. Reason: Added additional information
Working...