Error Starting Nagios 1.1 on RH 9

Rhugga nagios at zulu420.com
Wed Nov 19 17:52:07 CET 2003


I went thru each config file and applied the settings for my 
environment, however, when I start nagios, I get this error:

[1069264239] Error in object configuration file 
'/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not parse 
input)
<snip>
[1069264239] Nagios 1.1 starting... (PID=27451)
[1069264239] Error: There are no services defined!
[1069264239] Error: There are no hosts defined!
[1069264239] Error: There are no host groups defined!
[1069264239] Error: There are no contacts defined!
[1069264239] Error: There are no contact groups defined!
[1069264239] Bailing out due to errors encountered while running the 
pre-flight check.  Run Nagios from the command line with the -v option 
to verify your config before restarting. (PID=27451)


Here is a section of checkcommands.cfg starting at line 39:

# 'check_tcp' command definition
define command{
         command_name    check_tcp
         command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
         }


# 'check_udp' command definition
define command{
         command_name    check_udp
         command_line    $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
         }

$USER$ is defined to the correct path.

Anyone know what my problem is? I have defined at least 1 of everything 
(host, contactgroup, etc....)

Thx,
CC



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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