check_ping

Askar Ali askarali at beaconet.net
Tue Mar 8 15:10:59 CET 2005


hi list,

   Im just checking my firewall "iptables" machine whether is alive or not

what I did hard coded ping argument in checkcommand.cfg

# 'check_ping' command definition
define command{
        command_name    check_ping
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 500,20% 
-c 1000,50% -p 5
        }

then called it in services.cfg "check_command  check_ping".
Okay my question is ,
1) is this correct way to check the status of host?
2) Is it good to hard coding values in checkcommand.cfg ?

regards






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list