Monitor » Misc

ID #1049

Is it possible to set up a services or check_command with an $ in one of the arguments?

Yes it is. You have to escape the $ char with \$ so it looks like this: \$$

The line above will result in only one $ char.

Example:

service name: mssql$instance

check_command_args: mssql\$$instance

Attention: You must set the $ARGn$ between ' -chars like this:

'$ARG1$'

Tags: $-sign, check_command, dollar-sign, escaping, special characters

Related entries:

Last update: 2011-08-23 11:33
Author: Support Team
Revision: 1.6

Digg it! Print this record Send FAQ to a friend
Please rate this FAQ:

Average rating: 1 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry