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

Jan Wagner waja at cyconet.org
Tue May 12 07:25:32 UTC 2009


Hi Soren,

thanks for your report.

On Monday 11 May 2009, Soren Stoutner wrote:
> Package: nagios-plugins-standard
> Version: 1.4.12-5
> Severity: normal
>
>
> The command_line in the nt.cfg that ships with the package reads:
>
> command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v
> '$ARG1$'
>
> It should read:
>
> command_line    /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p
> 12489 -v $ARG1$ $ARG2$
>
> The port (-p) needs to be explicitely stated or the commands will fail. 
> The second argument need to be listed ($ARG2$) or checks with two sets of
> arguments will fail (like MEMUSE).  The arguments can't be enclosed in ' or
> some checks with longs argument lists will fail (for example,
> USEDDISKSPACE).

For me "check_nt!'MEMUSE -w 80 -c 90'" and "check_nt!'USEDDISKSPACE -l c -w 90 
-c 95'" works without problems.
Actual I don't see any need for changes. Using different ports is an issue, 
but I'm not willing to break existing systems with changing it (default port 
is 1248).

With kind regards, Jan.
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20090512/52f1a1aa/attachment.pgp>


More information about the Pkg-nagios-devel mailing list