Page 6 of 6

Re: Graph is not showing in Nagios

Posted: Fri Jul 18, 2014 2:07 pm
by lmiltchev
You can download nrpe from here:

http://sourceforge.net/projects/nagios/files/nrpe-2.x/

Please, review the official nrpe documentation here:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

Hope this helps.

Re: Graph is not showing in Nagios

Posted: Fri Jul 18, 2014 2:23 pm
by imran_khan
Hello,

Thanks for the reply.

Nagios and plugin installation are completed using document which you have provided.
I want to migrate nagios core from 3.2.3 (centos-5.5) to nagios core 4.0.7 (centos-6.5) with data and pnpnagios. How I can do this?
Can you provide me migration document for the same?

Thanks,
Imran Khan.

Re: Graph is not showing in Nagios

Posted: Fri Jul 18, 2014 3:48 pm
by imran_khan
Hello,

I am getting below error while rescheduling services of any hosts/servers.

“Error: “Could not open command file '/usr/local/nagios/var/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.”

I have tried below mentioned resolution but issue is still same. Please suggest me on the same.

Code: Select all

1).
chown nagios.nagcmd /usr/local/nagios/var/rw 

chmod g+rwx /usr/local/nagios/var/rw 

chmod g+s /usr/local/nagios/var/rw

/etc/init.d/httpd restart

/etc/init.d/nagios restart

2). 
usermod -a -G nagios apache

/etc/init.d/httpd restart

/etc/init.d/nagios restart
Thanks,
Imran Khan.

Re: Graph is not showing in Nagios

Posted: Mon Jul 21, 2014 6:19 am
by imran_khan
Hello,

Thanks for your support.

I have re installed OS + Nagios + Pnp4Nagios and completed the migration successfully from nagios version 3.2 to 4.0.7.
Now graphs are working fine on new server. Now I am facing issue with the below some plugins, please find the details for the same and suggest me.

OS:- CentOS-6.5
Nagios version:- 4.0.7
Nagios plugin version:- 2.0.3
[root@localhost libexec]# ./check_nagios -V
check_nagios v2.0.3 (nagios-plugins 2.0.3)

Mysql version:- 5.1
[root@localhost libexec]# rpm -qa | grep mysql*
mysql-server-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-5.1.73-3.el6_5.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
[root@localhost libexec]# mysql -V
mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1

Error:-
[root@localhost libexec]# ./check_mysql --help
./check_mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[root@localhost libexec]# ./check_mysql_query --help
./check_mysql_query: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

Thanks,
Imran Khan.

Re: Graph is not showing in Nagios

Posted: Mon Jul 21, 2014 10:07 am
by tmcdonald

Code: Select all

./check_mysql_query: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
This page might be able to provide some input:

http://help.directadmin.com/item.php?id=236

Re: Graph is not showing in Nagios

Posted: Mon Jul 21, 2014 11:18 am
by imran_khan
Hello,

Great problem resolved.


Thanks,
Imran Khan.