My first install worked just fine for a long time, then when I tried to run some checks on another machine via check_by_ssh, it gave me a series of errors that I fixed in some weird roundabout ways, but I ended up with a "Return code of 127 is out of bounds - plugin may be missing" error, just for that single process on the services page. I knew I had installed the plugins correctly and after messing around with it for a long time, I came to the conclusion that I must have messed something up while fixing the older errors or doing some initial config a few weeks earlier.
Today, I started up two new VMs and installed a clean version of Nagios (all of these are 3.5.0, by the way) on one to see if the problem still happened, but I never got that far. I logged into the web interface, which worked fine, but when I clicked on any of the links in the sidebar (hosts, services, map, etc) it just said:
After trying to work through the for a while, I decided to just try to see if it worked on the second of the new VMs. Another clean Nagios install, and I got to the same point, and this time when I clicked on the sidebar links it said:Forbidden
You don't have permission to access /nagios/cgi-bin//tac.cgi on this server.
Verifying configuration options (on either of the VMs) comes up 100% clean with no warnings or errors. So I decided to check the log files. Interestingly, both VMs came up with repeated messages saying:Whoops!
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.
What's strange is that it seems I got the same error 3 times, putting out 3 different types of text, and at different points in the setup process. Keep in mind, on the two newer VMs I hadn't even configured any hosts or services or anything; I was just trying to see if the web interface worked. Most of the people who have had this issue here or anywhere else on the internet have had it in the way I had it the first time around: related to a single service, which put up a "critical" error and turned its box red. I have yet to see anyone encountering this issue without even having any services running, so any help would be appreciated.Warning: Return code of 127 for check of service 'PING' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.