Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-13 Thread Sven Velt
Hi! Jan Wagner wrote: On Tuesday 12 May 2009, Sven Velt wrote: Maybe we could add another one with -l '$ARGV2' add... ;-) Hmm ... I personly prefer general solutions and the one just with $ARGV1 is one in my eyes ... beside the documentaion shipped with nagios (upstream and with our

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Sven Velt
Hi! Jan Wagner wrote: [...] I see Jan's problem here with changing the default port. But IMHO it would be more up2date to change from NSClient to NSClient++/nscp and from port 1248 to 12489. I would say, we could write a new check check_ntplus with set -p 12489, wouldn't that be nice?

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Jan Wagner
Hi Sven, On Tuesday 12 May 2009, Sven Velt wrote: I *would* prefer check_nscp as the author named the software. But yes, it would be a nice solution (independent of chosen command_name) for the Debian packages. okay ... point taken. :) Maybe we could add another one with -l '$ARGV2' add...

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Jan Wagner
Hi Soren, On Tuesday 12 May 2009, Soren Stoutner wrote: The ' marks around the arguments also causes problems for me on some of the commands.  It occurred on all the commands that contained two -.   Specifically: define service{ use generic-service

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Soren Stoutner
Jan, If we only use $ARG1$, we need to update all of the documentation that ships with the Nagios packages. For example, the sample windows.cfg file that ships with nagios3-common includes the following code: define service{ use generic-service host_name

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Soren Stoutner
Jan, The error message produced in Nagios is wrong -l argument. I don't know why it doesn't work. It should work. But it doesn't. Through experimentation I discovered that removing the ' marks fixed the problem. The error occurs with the following configurations: command_line

Bug#528262: [Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors

2009-05-12 Thread Soren Stoutner
**Update** Correction to the below email. The error occurs with this command_line: command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' '$ARG2$' Soren The error message produced in Nagios is wrong -l argument. I don't know why it doesn't work. It