[Pkg-nagios-devel] Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors
sven at velt.de
Tue May 12 11:04:36 UTC 2009
Jan Wagner wrote:
> 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).
Jan, I think you still use the original/old NSClient, which listens on
port 1248. As this port is also used by M$ Exchange it was/is "community
default" to switch to port 12489.
If you install NSClient++/nscp nowadays it listens on 12489 as default.
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.
My 2ç ;-)
Leukämie -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie
Heilung -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende
Typisierung -> http://www.knochenmarkspende.de/html/reg_akb.php
Warum&Fragen -> sven at velt.de
More information about the Pkg-nagios-devel