On 03.01.2014 04:51, Nikhil Eshwar wrote:
Hi
I am seeing the following error nrpe unable read the output for mysql
service in icinga please help on this
1.root@icinga#/usr/lib64/nagios/plugins/check_nrpe -H x.x.x.x
o/p nrpe 2.14
2.root@icinga#/usr/lib64/nagios/pluings/check_nrpe -H x.x.x.x -c
check_mysql
o/p nrpe unable to read output
Don't test plugins as root.
but when i have execute with other services such as load,disk it is
working fine but seems facing a problem with this mysql service
3.Here command defined in nrpe.cfg of remote host looks like given below
command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql -u icinga
Run that command as nrpe on a local shell. Result?
4.here command defined in nrpe.cfg of icinga server
command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql
That's not required, nrpe.cfg is read by the nrpe daemon running on the
client.
5.Here command defined in commands.cfg
define command {
command_name nrpe_mysql
command_line /usr/lib/nagios/plugins/check_nrpe -H
$HOSTADDRESS$ -c check_mysql0
check_mysql0 is different to your manual check.
--
DI (FH) Michael Friedrich
mail: michael.friedr...@gmail.com
twitter: https://twitter.com/dnsmichi
jabber: dnsmi...@jabber.ccc.de
irc: irc.freenode.net/icinga dnsmichi
icinga open source monitoring
position: lead core developer
url: https://www.icinga.org
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users