Problem with nsclient check when upgrading to Nagios 2.02b

Tong Young Tong at ingenio.com
Wed Mar 2 23:11:38 CET 2005


I grabbed the cvs version from www.nagios.org, recompiled, ran make all,
ran make install, ran make install-init, ran make install-commandmode...

Started up nagios and ran the check and got the same error.  Is there
something I missed?  Thanks.


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas
Ericsson
Sent: Wednesday, March 02, 2005 1:59 AM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with nsclient check when upgrading
to Nagios 2.02b

Tong Young wrote:
> This check works in 1.2 but not in 2.0x.  An extra $ gets added to the

> end of the line which makes my check invalid.  Has anyone experienced 
> this or know how to fix it?  The error I get back is:
> 
> MSSQL$STGLISTING01$: Unknown
> 

This has to do with some weird macro parsing in 2.0. I believe it has
been fixed in the latest and greatest. Get it from CVS and re-compile.

> Here are my related configs:
> 
> # 'check_nt_service' command definition define command{
>         command_name    check_nt_service
>         command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
> SERVICESTATE -l $ARG1$ $ARG2$
>         }
> 
> # stglist01 - SQL
> define service{
>         use                             stage-service
>         host_name                       stglisting01
>         service_description             Service SQL
>         check_command
> check_nt_service!MSSQL\$STGLISTING01!-d SHOWALL
>         normal_check_interval           1
>         max_check_attempts              1
>         }
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide Read honest & candid 
> reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid
reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list