I have a nagios-server (v.3.5) which is controlling several clients (nrpe v2.14). One week ago I decided to add some commands to nrpe.cfg. Now I have two clients that don't respond correctly. When starting nagios (on the server) I recieve mails that tell me a command is not defined. But I know that this command IS defined in /usr/local/nagios/etc/nrpe.cfg.
Let me show you an example:
I get a mail with following context:
So I have a look at my config-file on the client:***** Nagios *****
Notification Type: PROBLEM
Service: Free Space KFSDB-Online
Host: VBGMADB11
Address: 194.59.101.179
State: CRITICAL
Date/Time: Fri Nov 29 14:42:52 CET 2013
Additional Info:
NRPE: Command check_kfsdb_online_redo not defined
Code: Select all
[nagios@vbgmadb11 nagios]$ pwd
/usr/local/nagios
[nagios@vbgmadb11 nagios]$ grep check_kfsdb_online_redo etc/nrpe.cfg
command[check_kfsdb_online_redo]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /oradata/kfsdb01/redoCode: Select all
nagios@madpbk51:~> id
uid=200(nagios) gid=200(nagios) Gruppen=200(nagios),210(nagcmd),504(oinstall)
nagios@madpbk51:~> /usr/local/nagios/libexec/check_nrpe -H VBGMADB11 -c check_kfsdb_online_redo
DISK OK - free space: /oradata/kfsdb01/redo 294848 MB (21% inode=81%);| /oradata/kfsdb01/redo=1094310MB;1111326;1250242;0;1389158In the syslog of the server I find
Code: Select all
Nov 29 14:42:52 madpbk51 nagios: SERVICE NOTIFICATION: stl;vbgmadb11;Free Space KFSDB-Online;CRITICAL;notify-service-by-email;NRPE: Command check_kfsdb_online_redo not definedCode: Select all
[1385645911] SERVICE NOTIFICATION: nagiosadmin;vbgmadb11;Free Space KFSDB-Online;CRITICAL;notify-service-by-email;NRPE: Command check_kfsdb_online_redo not definedThanks & best regards,