Ad Widget

Collapse

Ping host from a zabbix agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinny
    Senior Member
    • Jan 2008
    • 145

    #1

    Ping host from a zabbix agent

    I searched through the forum and the doc but so far I have not found an answer.
    Is it possible to ping a server within a Zabbix agent ?

    What I want is :
    Zabbix server -> server A with zbx agent, check if ping working to server B

    thx,
    vinny
    -------
    Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere
  • sergio.cricca
    Member
    • Mar 2008
    • 43

    #2
    I think you should create a script that pings server B and returns 0 if it's OK or 1 if it fails... instruct agent to run it, then create item on the script and instruct on how often to run it and at the end create trigger on the item ;-)


    ex: zabbix_server.conf (or something like this)

    UserParameter=pinghostB, /usr/sbin/ping <host B>

    then create item on pinghostB, etc.

    Bye

    Comment

    • vinny
      Senior Member
      • Jan 2008
      • 145

      #3
      thx for the reply,
      I thought about this solution but would hope secretly that a parameter would exist directly within the agent.

      -------
      Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

      Comment

      Working...