[Pkg-nagios-devel] Bug#482942: check_radius changed syntax, command definition never updated

Josip Rodin joy at debbugs.entuzijast.net
Mon May 26 00:04:10 UTC 2008

Package: nagios-plugins-standard
Version: 1.4.5-1etch1


/etc/nagios-plugins/config/radius.cfg says:

define command{
        command_name    check_radius
        command_line    /usr/lib/nagios/plugins/check_radius $ARG1$ $ARG2$ $HOSTADDRESS$ 1812 $ARG3$

However, that's useless, and has been for a while (several years now),
because the program simply doesn't take arguments like that.

Instead, one needs:

        command_line    /usr/lib/nagios/plugins/check_radius -F /etc/radiusclient/radiusclient.conf -H $HOSTADDRESS$ -P 1812 -t $ARG3$ -u $ARG1$ -p $ARG2$

The port number could also be made an option, because that's more flexible
(and port number munging sometimes happens in the wild so we need it).
That would involve breaking the existing syntax for users, but given that
nobody could actually *use* the old syntax because the command definition
was broken, that's moot...

Please fix this. TIA.

     2. That which causes joy or happiness.

More information about the Pkg-nagios-devel mailing list