I am using Nagios Core 3.5.0
I have the following service definition:
service{
...
action_url http://$USER10$/static/html/node.html?node=$USER3$&host=$HOSTADDRESS$
}
The USERxx variables have been set correctly in the resource.cfg.
However, the URL that gets generated does not get the value at all for the USER varaibles but gets the value for HOSTADDRESS.
Is there something that I need to do to all USER variables to be available for the action_url and notes_url?
Thanks,
Yash
USERxx variables not usable in actions_url and notes_url
Re: USERxx variables not usable in actions_url and notes_url
What the macros get replaced with (nothing or $userxxx$)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: USERxx variables not usable in actions_url and notes_url
They get replace with $userxx.
Re: USERxx variables not usable in actions_url and notes_url
It seems like these macros may not be available (security reasons, etc.).
Be sure to check out our Knowledgebase for helpful articles and solutions!