Ad Widget

Collapse

Monitor Ping Response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • server-specialists
    Junior Member
    • Mar 2007
    • 14

    #1

    Monitor Ping Response

    I can see that you can monitor if a server RESPONDS to ping, but how, using the zabbix agent or a combination of custom definitions can you monitor a servers PING response, in real time?

    These are freebsd servers I'm trying to monitor. I was able to monitor bandwidth inbound and outbound on the machines setting up a custom trigger using netstat to grab the information.. but now I need ping times..

    Regards,
    John Zulim
    SS
    Last edited by server-specialists; 03-04-2007, 16:36.
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    When you created the items for ping, you used icmpping as the item key, to monitor the ping time in seconds, you would use icmppingsec as your item key.
    Unofficial Zabbix Developer

    Comment

    • server-specialists
      Junior Member
      • Mar 2007
      • 14

      #3
      How could I have missed though.. uhg..

      Sorry to waste your time. Thanks though.

      Regards,
      John

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        hehehe. No worries... Happens to all of us.
        Unofficial Zabbix Developer

        Comment

        • server-specialists
          Junior Member
          • Mar 2007
          • 14

          #5
          So,

          I used the icmppingsec key. I have fping installed. Zabbix is running as root (I will change this soon) and so zabbix should be able to execute fping. I have set the fping location in zabbix_agentd.conf and restarted zabbix.

          The Item shows as active, but no data is dplayed, just a '-'.. No error in my logs. Any advice?

          Regards,
          John

          Comment

          • James Wells
            Senior Member
            • Jun 2005
            • 664

            #6
            Originally posted by server-specialists
            I have set the fping location in zabbix_agentd.conf and restarted zabbix.
            I do hope that this is a typo, and that you actually put that into zabbix_server.conf? and restarted the zabbix-server daemon?

            The first thing to do would be to create a single host item for icmpping with the item value type of integer and item type of Simple Check. If that works, then we move on to creating the icmppingsec check, which has a value type of float and again item type of simple check.

            If the first one doesn't work, then what you need to do is;
            Code:
            chmod 1710 /usr/sbin/fping
            chown root:zabbix /usr/sbin/fping
            This will ensure that the Zabbix Server daemon is able to run fping. Please remember that Zabbix, even when started by root, will change to the Zabbix user.
            Unofficial Zabbix Developer

            Comment

            • skaze
              Junior Member
              • Jun 2007
              • 19

              #7
              From this thread http://www.zabbix.com/forum/showthread.php?t=60 i see Alexei says icmppingsec returns seconds yet folks on this thread are refering to millisecond response times. My icmppingsec simply returns 0 all the time, is it not working or is this the rounded up value?

              Comment

              • Tenzer
                Senior Member
                • Nov 2007
                • 316

                #8
                You should check that "Type of information" for the item is set to "Numeric (float)" and not "Numeric (integer 64bit)". If the later is selected it won't be able to save values with greater presicion than 1.

                Comment

                Working...