Where to enable service check commands.

Sudheer Muddappa sudheer at tgs-solutions.com
Fri Oct 14 23:14:41 CEST 2005


Hi all,

I am running nagios 1.3 on Debian Linux.

As some of you know debian tailors the packages.
Which file do I have to edit to add the check_icmp command?  for 
checking the hosts?

By default Debian installs all the plugin binaries in 
/usr/lib/nagios/plugins
and their config files in /etc/nagios-plugins/config

I have created a icmp.cfg file like below.

# 'check_icmp' command definition
define command{
        command_name    check-icmp
        command_line    /usr/lib/nagios/plugins/check_icmp -H 
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}

When I run a flight check i get this error
 Service check command 'check_icmp' specified in service 'ICMP' for host 
'navigant_prod' not defined anywhere!

Thanks,

Sudheer Muddappa 
 






-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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