Page 1 of 1
Dynamic ActionURL
Posted: Wed Aug 29, 2018 10:10 am
by cmif
Hi,
Is it possible to set dynamic ActionURL that will take certain values from the Arguments of the same alarm (eg $ARG1$)?
e.g
https://nagiosxi/views/script.php?argum ... ent2=$ARG2$
Thanks
Re: Dynamic ActionURL
Posted: Wed Aug 29, 2018 1:55 pm
by scottwilkerson
Yes, you can create custom action URL's in
Admin -> Manage Components -> Actions component
Here is some documentation
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: Dynamic ActionURL
Posted: Thu Aug 30, 2018 1:40 am
by cmif
Thanks, but unless I'm missing something, it doesn't seem to have a macro available for service arguments (i.e $ARG1$, $ARG2$ etc), right??
Re: Dynamic ActionURL
Posted: Thu Aug 30, 2018 7:38 am
by scottwilkerson
cmif wrote:Thanks, but unless I'm missing something, it doesn't seem to have a macro available for service arguments (i.e $ARG1$, $ARG2$ etc), right??
I'm sorry, I didn't realize you were specifically looking for $ARGn$ values.
Unfortunately they are not available.