NAGIOS 2.0 and SuSE 10

Marcin Mazurek M.Mazurek at netsync.pl
Sun Feb 19 20:42:17 CET 2006


Juan Mera (juanlmera at gmail.com) napisał(a):

> Error: Command 'check-host-alive' has already been defined
> Error: Could not register command (config file
> '/opt/nagios/etc/minimal.cfg', starting on line 76)
> 
> Line 76 of minimal.cfg
> # Command to check to see if a host is "alive" (up) by pinging it
> 
> define command{
>         command_name    check-host-alive
>         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c
> 100,100% -p 1 
>         }
> 
> What it's wrong?

You must have check-host-alive already defined somewhere. You might user
grep to look for c-h-a in Your included config files.

hth


-- 
http://www.actus.org.pl/  - :::: -  nic-hdl: MM3380-RIPE
GnuPG 6687 E661 98B0 AEE6 DA8B  7F48 AEE4 776F 5688 DC89
http://www.poznan.linux.org.pl/ : http://www.netsync.pl/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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