Ad Widget

Collapse

make agent do ping-checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neth
    Junior Member
    • Jun 2007
    • 5

    #1

    make agent do ping-checks

    Hi all,

    i'm pretty new to zabbix, so that may be the reason why i can't figure it out.

    How do i tell my agents to ping some_url and report that to the server if they can reach it or not? The idea is that i can see if the monitored servers can reach e.g. the internet. The manual always tells me all those ping-checks are done on the zabbix-server, which won't work for me...

    Thanks,
    neth
  • treyh
    Member
    • May 2007
    • 64

    #2
    External Scripts

    An external script would work:

    Comment

    • neth
      Junior Member
      • Jun 2007
      • 5

      #3
      thanks. i used the solution marc posted but no i have another problem.

      i create a trigger using agent.ping.last(0) as expression. now i have two choices:

      1. trigger is false if ping does work
      2. trigger is true if ping does work

      i make a network map and use the trigger to set the color for my links. now i can choose between to not-so-nice solutions. if i tell the link to be green when the trigger is false (1. from above) and red for trigger=true i will run into problems if the agent isn't responding at all. agent.ping will return no data, the trigger changes it state to "UNKNOWN" and the link remains green (which is bad).

      the other option is to use 2. from above, telling the link to be only green if the trigger is true, but then the true state of the trigger is reported as a problem for the machine.

      so how can i properly check if my zabbix server has a link to it's agents? the status.last never send data even if i monitor a lot of other things on the machine (disku usage, cpu load,...)

      Comment

      Working...