Escaping Exclamation Points
Cristiano Ness
cristiano.ness at opservices.com.br
Fri Jun 27 13:02:20 CEST 2008
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 cristiano.ness at opservices.com.br
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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080627/1f138af8/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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