I actually define the following Service configs to help deal with these
issues.
define command{
command_name check_nt_l
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ -l "$ARG2$"
}
THen I use the following for the service definition.
check_nt_l!SERVICESTATE !Act\! Scheduler
On Jun 27, 2008, at 6:42 AM, Christopher Falk wrote:
> Problem resolved.
>
> What I just ended up doing is creating a new command,
> check_act_scheduler identical to the check_nt_service command
> definition, and hard-coding 'Act! Scheduler' instead of $ARG1$. That
> took care of it.
New f
o Ness" <[EMAIL PROTECTED]>
To: "Christopher Falk" <[EMAIL PROTECTED]>
Cc: nagios-users@lists.sourceforge.net
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,
"Cristiano Ness" <[EMAIL PROTECTED]>
To: "Christopher Falk" <[EMAIL PROTECTED]>
Cc: nagios-users@lists.sourceforge.net
Sent: Friday, June 27, 2008 7:02:20 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Nagios-users] Escaping Exclamation Points
Remove '
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" wr
Hi Chris,
> check_nt_service!'Act! Scheduler'
>
> and fails with a No Output! error in Nagios. I've tried \!,
> $!, double quotes, and to no avail.
Have you tried double exclamation marks (!!)? If you want to escape $ it's done
by $$ so maybe ! works the same way?
That sentence is almost unread
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! e