I am getting the Warning: Monitoring process may not be running!
Click here for more info. / It appears as though Nagios is not running, so commands are temporarily unavailable… messages in the web interface.
Here’s what my cgi.cfg file looks like for the nagios process check command:
nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 ‘nagios’
I run
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and it says “no serious problems were detected…”
I run /etc/init.d/nagios start and I get:
Starting nagios:No directory, logging in with HOME=/
done.
Now, if i do ps -aux, nagios does not show up in this process list.
Is there something I’m missing? Anything else I need to check? Any help would be greatly appreciated.