[BlueOnyx:10967] Nagios -aaahhhh!

Colin Jack colin at mainline.co.uk
Thu Jul 19 12:41:17 -05 2012


My BX Nagios server self destructed and I have rebuilt it using 5107R ... 

I then installed Nagios again in default setup and could not get around all the permissions problems - it is well locked down ;)

I then created a vsite called nagios.domain.name and moved the web interface (the /share directory), the cgi-bin directory (/sbin) and the plugins directory (/libexec) into the web folder.
Changed all ownership to nagios:nagios and put an .htaccess file in the cgi and plugin folders:

Options +ExecCGI
AddHandler cgi-script .cgi
IndexIgnore *

The web interface and cgi scripts work fine but I cannot get the plugins to run. Keep getting 
" Warning: Return code of 126 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run is executable."

The path has been changed in resources.cfg and permissions set as 755 ...

Anybody any idea how to either

1. Get the plugins to run or
2. Get it run from the native install (I tried disabling CGIWrap in httpd.conf but that didn't help.

I appreciate I should run on a bare CentOS box but I have other stuff on here that uses BX.

Can anybody point me in the correct direction?

Thanks

Colin







More information about the Blueonyx mailing list