in our company we are using nagios to monitor the functions our the servers.
A few days ago we had the Problem, that nagios.cmd was not working so I tried to do some troubleshooting with the Information of other topics.
But now we are having an even more big problem
Verifying the nagios configuration brings me this:
Code: Select all
nagios@XXXX:/usr/local/nagios/etc$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-29-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 588 services.
Checked 132 hosts.
Checked 8 host groups.
Checked 0 service groups.
Checked 4 contacts.
Checked 1 contact groups.
Checked 35 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 132 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
The Nagios service is running....
Code: Select all
nagios@XXXX:/usr/local/nagios/etc$ service nagios status
nagios (pid 12663) is running...
Apache2 service is running normally and the www-data user is member of both groupsWhoops!
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
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.
Code: Select all
nagios@b13lxhr01:/usr/local/nagios/etc$ grep nag /etc/group
nagios:x:1001:nagios,www-data
nagcmd:x:1002:www-data,nagios
I don't have any idea what it could also be so i hope to find help in this support forum.
Thanks for your help.