On Mon, May 26, 2008 at 02:04:10AM +0200, Josip Rodin wrote: > Package: nagios-plugins-standard > Version: 1.4.5-1etch1 > > Hi, > > /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.
While reading check_radius.c, I noticed that there is actually a special case in the program for handling such a series of unqualified arguments, but it never triggers, because it doesn't want those five, but another set of eight arguments. Since we have to change it anyway, we should use the normal getopt syntax rather than rely on another special case, so this is JFTR. -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]