Nagios errors !!

Jai Ganesh r_jai_ganesh at yahoo.com
Wed Jan 5 09:47:37 CET 2005


Hello,

I have installed 2 tar files including nagios plugin
in - FC2 Linux, after entering login/password,

Whoops!

Error: Could not read object configuration data!

Here are some things you should check in order to
resolve this error:

   1. Verify configuration options using the -v
command-line option to check for errors.
   2. Check the Nagios log file for messages relating
to startup or status data errors.
   3. Make sure you've compiled the main program and
the CGIs to use the same object data storage options
(i.e. default text file or template-based file). 

Make sure you read the documentation on installing,
configuring and running Nagios thoroughly before
continuing. If all else fails, try sending a message
to one of the mailing lists. More information can be
found at http://www.nagios.org. 

this is the log :
[root at kiwi var]#tail -f nagios.log
[1104815737] LOG VERSION: 2.0
[1104815737] Bailing out due to one or more errors
encountered in the configuration files.  Run Nagios
from the command line with the -v option to verify
your config before restarting. (PID=3299)
[1104815776] Nagios 2.0b1 starting... (PID=3346)

[root at kiwi var]# nagios -v
bash: nagios: command not found

[root at kiwi var]# /etc/init.d/nagios start
Starting network monitor: nagios
No lock file found in
/usr/local/nagios/var/nagios.lock

/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg
 
Nagios 2.0b1
Copyright (c) 1999-2004 Ethan Galstad
(nagios at nagios.org)
Last Modified: 12-15-2005
License: GPL
 
Reading configuration data...
 
Error: Invalid hostgroup object directive
'contact_groups'.
Error: Could not add object property in file
'/usr/local/nagios/etc/hostgroups.cfg' on line 4.
 
***> One or more problems was encountered while
processing the config files...
 
     Check your configuration file(s) to ensure that
they contain valid
     directives and data defintions.  If you are
upgrading from a previous
     version of Nagios, you should be aware that some
variables/definitions
     may have been removed or modified in this
version.  Make sure to read
     the HTML documentation regarding the config
files, as well as the
     'Whats New' section to find out what has changed.


PLease let me know how to fix this issue.



	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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