Ad Widget

Collapse

Reliable parameter to monitor server availablity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meng-kong
    Junior Member
    • Apr 2009
    • 8

    #1

    Reliable parameter to monitor server availablity

    Would like to check what is the realiable parameter to use for monitoring server's availability? Is it "Host status" or "Agent Ping"?
    2
    Host Status
    100.00%
    2
    Agent Ping
    0.00%
    0

    The poll is expired.

  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    i'd say it depends on your environment and requirements.
    i'm not voting, because i believe this might differ depending on these factors - one would have to understand what both do and decide based on that.
    Zabbix 3.0 Network Monitoring book

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      This is a quote from Alexei regarding the use of Host Status:

      The "Host status" is just a special item, which DOES NOT represent host status, it provide us with status of a passive agent (ZABBIX and SNMP). This is really important to understand!

      Because of this, use of the status for a host availability trigger is not a good idea. Consider using of a combination on function nodata() for a reliable item with a TCP or ICMP ping, if possible. This is much more efficient and bullet proof method with "built-in" flap detection adjusted by nodata's period.

      Comment

      • jroberson
        Senior Member
        • May 2008
        • 124

        #4
        I like to use "icmppingsec" for mine. This way I get a ping and I get a quick metric to determine if the network/server is returning slow responses. This is because I feel a slow server is just as bad as a dead server ... sometimes.

        Comment

        • AEckert
          Junior Member
          • May 2009
          • 3

          #5
          ICMP Ping or Agent Ping?

          Which of the two is less resource intensive on my Zabbix Server?

          Comment

          • bbrendon
            Senior Member
            • Sep 2005
            • 870

            #6
            Originally posted by meng-kong
            Would like to check what is the realiable parameter to use for monitoring server's availability? Is it "Host status" or "Agent Ping"?
            You can use any item. I usually use load or cpu usage.
            Unofficial Zabbix Expert
            Blog, Corporate Site

            Comment

            • ataylo13
              Senior Member
              • Feb 2007
              • 122

              #7
              I setup a trigger for cpu usage (every 60s) that triggers if there is nodata for 300s so I can avoid false positives. HTH
              Version : 1.8.8
              Current Configuration 1 Master and 3 Child Nodes

              Comment

              • georgew
                Member
                • Mar 2008
                • 50

                #8
                How?

                Originally posted by jroberson
                I like to use "icmppingsec" for mine. This way I get a ping and I get a quick metric to determine if the network/server is returning slow responses. This is because I feel a slow server is just as bad as a dead server ... sometimes.
                this sounds good, but how are you doing this?

                Something like:
                {template_sm:icmppingsec.nodata( 0 ) }=0?

                Comment

                • jroberson
                  Senior Member
                  • May 2008
                  • 124

                  #9
                  I use:
                  Code:
                  ({Template_Windows:icmppingsec.avg(360)}>2)|({Template_Windows:icmppingsec.avg(360)}=0)
                  Basically, it will tell me if the ping replies within 6 minutes average higher than 2 seconds (slow server responce ) OR if it replys with 0s (As you will always get at least 1ms, and Zabbix reports "0" instead of "nodata", go figure!) for 6 minutes. It does have a little room for error, i.e. a network interface is going up and down, but it seems to work for me. You can play with the formula a bit to fix that if you want.

                  Comment

                  • AEckert
                    Junior Member
                    • May 2009
                    • 3

                    #10
                    ICMPPING vs Agent.Ping

                    Everyone seems to be using ICMPPING, what happened to the Agent Ping?
                    I would assume that the agent ping uses less resources on the Zabbix server as it is a build in ping (is it?) vs. the ICMPPING which is an external command.

                    How many ICMPPING can I realistically do on a 2 CPU server? I got ~ 1000 devices to monitor and I was hoping for a 1 minute interval. Reason being, rebotting a VM session often doesnt take more than 1 or 2 minutes, thus my current 5 minute interval often doesnt pick up the restart.

                    Comment

                    • jroberson
                      Senior Member
                      • May 2008
                      • 124

                      #11
                      Well, you could really use anything to monitor "status" of a server. Any value returned from a Zabbix host through the agent would suggest a "live" server. The real problem comes when you have varying levels of failure. i.e. The server is up and responding to pings, but a service has died. The use of pings simply is a check to see if the server is available on the network. Any real measure of "availlability" of any "server" is to monitor the particular service that server provides. i.e. ftp, web, terminal, smb, mail, dns, etc. etc. etc. So ultimately, it comes down to what YOU find most important to monitor, and then base your items and ultimately triggers on that.

                      PS: There is an option in the zabbix_server.conf file called "startpingers." Your realistic limit of these is based on your network and server specs. You'll just have to experiment.

                      Comment

                      • richlv
                        Senior Member
                        Zabbix Certified Trainer
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Oct 2005
                        • 3112

                        #12
                        picking up restarts reliably shouldn't be done by *ping checks anyway - see default templates for 'just restarted' check examples
                        Zabbix 3.0 Network Monitoring book

                        Comment

                        Working...