I have a below error in nagios and I wonder if someone could help.
Code: Select all
Whoops!
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
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
sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
sudo /etc/rc.d/init.d/nagios reload
Code: Select all
Error: The description string for service 'Free Memory, less than 1.5 eq Critical' on host 'pfsense' contains one or more illegal characters.
Code: Select all
sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios is running
Code: Select all
ps -ef | grep nagios
nagios 15391 1 0 15:33 ? 00:00:00 /usr/sbin/nagios -d /etc/nagios/nagios.cfg
root 15540 15526 0 15:40 pts/0 00:00:00 grep --color=auto nagios
Code: Select all
Whoops!
Debug is set to zero but I can change it and maybe get some info?