We have a service defined in Nagios to check a host using ARG1 as the host's internal testing IP address, which is different from the host's defined HOSTADDRESS. I tried creating a service template with an Action URL like this:
Code: Select all
http://$ARG1$/cgi-bin/$SERVICEDESC$/test-for-up.htmlI also tried defining the Action URL in the service definition, but still $ARG1$ was not replaced with the value of ARG1. I'd prefer to define the Action URL in the service template, so that I won't have to create custom Action URLs for each service.
Is there any way to accomplish this?
Thank you!