Unable to start nagios.
Posted: Thu Nov 23, 2017 9:01 am
Hello! I'm kind of new to this and I please you to help me if you have any ideea what is happening.
So.. the problem is with http conection i guess, because I am able to acces my server and see the nagios page, but I can't acces services or anything else on this page.. it shows this:
"
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 https://www.nagios.org.
"
The nagios service is active, /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command returns everything ok:
"
Checking objects...
Checked 163 services.
Warning: Host 'Bit Router' has no default contacts or contactgroups defined!
Checked 56 hosts.
Checked 8 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 1 contact groups.
Checked 45 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 56 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: 1
Total Errors: 0
"
Everything has stoped on the web interface after a restart... i tried several restarts but no succes.
Please help
Thank you in advance!
George
So.. the problem is with http conection i guess, because I am able to acces my server and see the nagios page, but I can't acces services or anything else on this page.. it shows this:
"
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 https://www.nagios.org.
"
The nagios service is active, /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command returns everything ok:
"
Checking objects...
Checked 163 services.
Warning: Host 'Bit Router' has no default contacts or contactgroups defined!
Checked 56 hosts.
Checked 8 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 1 contact groups.
Checked 45 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 56 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: 1
Total Errors: 0
"
Everything has stoped on the web interface after a restart... i tried several restarts but no succes.
Please help
Thank you in advance!
George