Unquoting it all gives me "Act: Unknown" instead of no response at all.
check_nt_service is:
define command{
command_name check_nt_service
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l
$ARG1$
}
Thanks,
Chris
----- Original Message -----
From: "Cristiano Ness" <[EMAIL PROTECTED]>
To: "Christopher Falk" <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Friday, June 27, 2008 7:02:20 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Nagios-users] Escaping Exclamation Points
Remove ' or complete, for example
check_nt_service!Act! Scheduler or check_nt_service!'Act'! 'Scheduler'
Put here commands.cfg for check_nt_service
[]´s
---
Cristiano Ness [EMAIL PROTECTED]
OpServices www.opservices.com.br
Tel: 51-3275-3588 Cel: 51-8151-8214
----- "Christopher Falk" wrote:
> Hello all,
>
> Never posted here before, but it's been helpful to follow along with the
> various threads.
>
> My issue is with checking NT services with exclamation points in their names.
> The following check command is sent to NSClient++:
>
> check_nt_service!'Act! Scheduler'
>
> and fails with a No Output! error in Nagios. I've tried \!, $!, double
> quotes, and to no avail.
>
> Has anybody had success escaping an exclamation point when it's part of a
> service name sent to NSClient++?
>
> Thanks in advance,
>
> Chris
>
> --
> _________________________________________________________
> A Message From... Christopher Falk
>
> Reliable Networks of Maine, LLC
>
> "Uptime. All the time."
>
> 477 Congress Street
> Portland, ME 04101
> Tel: (207) 772-5678
> Web: http://www.reliablenetworks.com
>
> This email was sent from Reliable Networks of Maine LLC.
> It may contain information that is privileged and confidential.
> If you suspect that you were not intended to receive it, please
> delete it and notify us as soon as possible. Thank you.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
>
--
_________________________________________________________
A Message From... Christopher Falk
Reliable Networks of Maine, LLC
"Uptime. All the time."
477 Congress Street
Portland, ME 04101
Tel: (207) 772-5678
Web: http://www.reliablenetworks.com
This email was sent from Reliable Networks of Maine LLC.
It may contain information that is privileged and confidential.
If you suspect that you were not intended to receive it, please
delete it and notify us as soon as possible. Thank you.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
[email protected]
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