|
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command command_line: This
directive is used to define what is actually executed by Nagios when the
command is used for service or host checks, notifications, or event handlers.
Before the command line is executed, all valid macros are
replaced with their respective values. See the documentation on macros for
determining when you can use different macros. Note that the command line is not surrounded in quotes. Also, if you want to pass a dollar sign ($) on the
command line, you have to escape it with another dollar sign So use $$ instead of $. Unless I’m
misunderstanding the question…which is entirely possible. I don’t
feel well currently. From: Pete Shelfo
[mailto:[EMAIL PROTECTED] Do you mean surround the string with $ or
add a $ somewhere in the string? It appears $ tells the
string to trunk and go to the next variable. From: Aaron Segura
[mailto:[EMAIL PROTECTED] $$ I think. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pete Shelfo I run NSClient on my windows servers which allows you to
check the states of NT services. When a service has a $ in the real name
(not the display name) the check_nt_services command can’t find it.
I already tried enclosing the string in quotes “” but that does not
work. Is there any way around this or a better remote windows monitoring
tool? |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ 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
