Package: nagios-nrpe-server Version: 2.12-1 Severity: normal Hello,
if a NRPE client requests a check for a plugin/command which is not configured in nrpe*.cfg, the same return code (2) as for a critical service status is returned: Jan 17 17:09:46 raptor nrpe[25208]: Return Code: 2, Output: DISK CRITICAL - free space: /usr 0 MB (0% inode=34%);| /usr=3717MB;3003;3378;0;3754 Jan 17 17:09:46 raptor nrpe[25217]: Return Code: 2, Output: NRPE: Command 'check_foo' not defined This is unfortunate, for example it is not possible to reliably check a remote NRPE server for which checks it supports, as the return values for services in critical state would be ommitted. I think it would make more sense to return the error code (3, STATE_UNKNOWN) in the case of a non-configured check, or possibly assign a different error code alltogether for this case.. cheers, Michael -- System Information: Debian Release: lenny/sid APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=POSIX, lc_ctype=de_de.iso-8859...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages nagios-nrpe-server depends on: ii adduser 3.110 add and remove users and groups ii libc6 2.7-13 GNU C Library: Shared libraries ii libssl0.9.8 0.9.8g-13 SSL shared libraries ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip Versions of packages nagios-nrpe-server recommends: ii nagios-plugins-basic 1.4.12-5 Plugins for the nagios network mon nagios-nrpe-server suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

