It might be worth while to mention that all the check commands are stored in 
the /usr/local/Nagios/libexec/  directory and that each one can and should be 
run manually to see how they work.  They all support the –h switch to print out 
how to use them.

 

Salvatore Polifemo

Sr. Systems Security Specialist

ConEdison Solutions

100 Summit Lake Drive

Valhalla, NY 10595

 

From: steve f [mailto:[email protected]] 
Sent: Thursday, December 30, 2010 11:18 AM
To: [email protected]
Subject: Re: [Nagios-users] The right value check_ping command‏

 

The 5 ping value is written in the check as the default value. If you do not 
add any -p value, it pings the host 5x.  Just like if you do not add a -t value 
for a timeout for a check, it defaults to 10 seconds.

You can look at the source code for the check_ping here :

http://nagios-plugins.sourcearchive.com/documentation/1.4/check__ping_8c-source.html

Steve

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to