Ad Widget

Collapse

[Agent] When the server does down

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wido
    Junior Member
    • Mar 2006
    • 23

    #1

    [Agent] When the server does down

    Hi,

    I am trying to monitor some things through the agent, but i run into some troubles.

    On a server i installed the agent and with agent.ping i check wether the server is online or not.

    So i made a trigger: {host:agent.ping.last(0)}=0

    Looks ok, but the problem is. When the host is down this item does not report 0, but i reports nothing. So the trigger will never go off.

    Using simple checks is not an option in this case.

    Using a trigger like: {host.agent.ping.last(0)}#1 works but the problem is i want to use sum() in some cases so i don't get a message for just one simple network hickup.

    Does anyone what i should do?
  • Wido
    Junior Member
    • Mar 2006
    • 23

    #2
    Fixed!

    The nodata() value in a trigger fixes it. The docs say it only works with a trapper, but that's not true

    Comment

    • mary nancy
      Senior Member
      • Jul 2005
      • 125

      #3
      Can we use nodata to monitor the Agent Status

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        Just for information:

        http://www.zabbix.com/manual/v1.1/config_items.php:
        agent.ping | Check the agent usability. | Always return 1. | Can be used as a TCP ping. Old naming: "ping"
        (an agent that's not working of course can't provide values to the server. That's why you'll never get a "0" )
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        Working...