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:
Here is the template we have added it to:
Here is the service check we attached it to and its custom variables:
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?
Custom variables returning "$"
Custom variables returning "$"
You do not have the required permissions to view the files attached to this post.
Our installation is currently:
CentOS Linux release 6.0 (Final)
32 bit
VM Image
Special Configurations: No
CentOS Linux release 6.0 (Final)
32 bit
VM Image
Special Configurations: No
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Custom variables returning "$"
use
instead of
Code: Select all
$_SERVICEURL$Code: Select all
$_URL$Re: Custom variables returning "$"
well I feel stupid haha.. thanks for the quick response!
Our installation is currently:
CentOS Linux release 6.0 (Final)
32 bit
VM Image
Special Configurations: No
CentOS Linux release 6.0 (Final)
32 bit
VM Image
Special Configurations: No