TL; DR: Debian Squeeze deliberately removed command argument processing from the nrpe daemon
If you are running Debian Squeeze on your monitoring targets, with nrpe-server-2.15-1 (the package that has the daemon in it), be aware that they REMOVED the ability to pass command arguments using their package:
Code: Select all
nagios-nrpe (2.15-1) unstable; urgency=high
* [f2cea9f] Imported Upstream version 2.15
* [023e909] Disable command-args in nrpe. (Closes: #745272) <=======================Notice This!
* [6369220] Use restorecon to set SE Linux context on $PIDDIR
(Closes: #679241)
* [a484e7d] Switch order of nagios-plugins recommends to prefer -basic.
(Closes: #752243)
* [b1ef043] Don't recommend a core implementation for the plugin
* [16dbf01] Remove obsolete patch
* [694b804] Remove luk from uploaders. (Closes: #719636)
* [28d9004] Remove obsolete patch
* [86ea67e] 08_CVE-2013-1362.dpatch is now obsolete
* [74e3b07] Refresh patches
* [1258ab2] Reword NEWS entry
* [744eec6] configure is buggy: --disable- in fact enables a feautre.
* [eec54b6] Adjust README.Debian for the removal or argument processing
-- Alexander Wirt <[email protected]> Tue, 15 Jul 2014 18:30:36 +0200
From
http://metadata.ftp-master.debian.org/c ... _changelog
If you look in /usr/share/doc/nagios-nrpe-server/README.debian, it says
This package is built without support for command argument processing. If you
want to enable it, you will have to rebuild this package with
--enable-command-args in debian/rules.
The feature has several security problems and should not be used. If you
really need some dynamic argument processing try check_by_ssh or something similar.
There may be other versions out there, but they will not play nice with Debian package management.
You could build your own package with the option enabled, and handle it that way. Otherwise, you will need to make multiple versions of each nrpe check with the different argument sets.
Sorry to be the bearer of bad news.