Showing posts with label nagios. Show all posts
Showing posts with label nagios. Show all posts

Wednesday, September 25, 2013

Error: Could not open command file ‘/var/nagios/rw/nagios.cmd’ for update!

Error:

Error: Could not open command file '/var/nagios/rw/nagios.cmd' for update!

The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.

An error occurred while attempting to commit your command for processing.
Solutions:

#chmod 777 /var/nagios/rw/nagios.cmd

 

Error while Compiling nagios-plugins-1.4.16 in Centos 6.4

Error
check_http.c:312:9: error: ‘ssl_version’ undeclared (first use in this function)
....
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory `/home/nicadmin/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nicadmin/nagios-plugins-1.4.16'
make: *** [all] Error 2

Solutions:

#yum install openssl-devel

recompile the plugin. -

# ./configure