Page 1 of 1

Custom variables returning "$"

Posted: Wed Feb 20, 2013 4:22 pm
by whjsmith
I am having problems where the value for my custom variables is not being passed to the command properly.

Here is the command that I have setup:
Capture.PNG
Here is the template we have added it to:
Capture1.PNG
Here is the service check we attached it to and its custom variables:
Capture2.PNG
For some odd reason it fails because the custom variables aren't recognized and just return a value of "$". It is kind of confusing because we have used the same thing for other checks for drive space and cpu. It works flawlessly. For some reason we are having all sorts of problems with this web check. Any ideas why the command is only getting the $ for a value for the variables?

Re: Custom variables returning "$"

Posted: Wed Feb 20, 2013 4:33 pm
by scottwilkerson
use

Code: Select all

$_SERVICEURL$
instead of

Code: Select all

$_URL$

Re: Custom variables returning "$"

Posted: Wed Feb 20, 2013 5:42 pm
by whjsmith
well I feel stupid haha.. thanks for the quick response!