Am i stupid? (check_ping)

Jan Johansson jan.johansson at nwl.se
Thu Apr 24 10:06:15 CEST 2003


>Can you send your check_ping command definition in checkcommands.cfg
>
>It'll probably be that.

# Included from /usr/share/netsaint/pluginconfig/check_ping.cfg
# 'check_ping' command definition
define command {
                command_name    check_ping
                command_line    /usr/lib/netsaint/plugins/check_ping -H
$HOSTADDRESS$ -w 10:20% -c 60:100%
                }


CRAP.. its hard coded... no wonder.

# Included from /usr/share/netsaint/pluginconfig/check_ping.cfg
# 'check_ping' command definition
define command { 
                command_name    check_ping
                command_line    /usr/lib/netsaint/plugins/check_ping -H
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$       
                }

is prolly better?

YEEEEYYYYYY success... actually.. my checkcommands.cfg is a mess.. not
sure what has happened here. Time to clean up.

Thankyou.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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