Graph is not showing in Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Graph is not showing in Nagios

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Graph is not showing in Nagios

Post 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.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Graph is not showing in Nagios

Post 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.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Graph is not showing in Nagios

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Graph is not showing in Nagios

Post 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
Former Nagios employee
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Graph is not showing in Nagios

Post by imran_khan »

Hello,

Great problem resolved.


Thanks,
Imran Khan.
Locked