CGI Errors and NSClient++ errors on Windows 7 workstation
Posted: Thu Feb 21, 2013 11:03 am
Greetings to All,
I am experiencing three issues with Nagios and I need assistance. First, I have a OpenSuSe box (10.217.99.101) that is failing to CGI script, even though the firewall is disabled and the Nagios configs are not detecting any errors. Error message:
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.
Second, NSClient++ is replicating the same exact error message on my Windows 7 (64 bit) workstation:
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
Lastly, some menu selection, such as Map and Documentation, are not working due to object not found?
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
10.217.99.101
Thu 21 Feb 2013 12:00:02 PM EST
Apache/2.2.21 (Linux/SUSE)
I am running the latest revision of Nagios Core:
Nagios® Core™
Version 3.4.4
January 12, 2013
nagios -v /etc/nagios/nagios.cfg
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 24 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
Thank you in advance for your assistance to this urgent matter.
I am experiencing three issues with Nagios and I need assistance. First, I have a OpenSuSe box (10.217.99.101) that is failing to CGI script, even though the firewall is disabled and the Nagios configs are not detecting any errors. Error message:
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.
Second, NSClient++ is replicating the same exact error message on my Windows 7 (64 bit) workstation:
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
/server/protocol.hpp:65 Rejected connection from: ::ffff:10.217.99.100
Lastly, some menu selection, such as Map and Documentation, are not working due to object not found?
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
10.217.99.101
Thu 21 Feb 2013 12:00:02 PM EST
Apache/2.2.21 (Linux/SUSE)
I am running the latest revision of Nagios Core:
Nagios® Core™
Version 3.4.4
January 12, 2013
nagios -v /etc/nagios/nagios.cfg
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 24 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
Thank you in advance for your assistance to this urgent matter.