Page 1 of 1

Allow use of ARGn macros in Extended Actions and Notes URIs

Posted: Tue Feb 19, 2013 2:24 pm
by slinx
As described in my post about using ARGn macros in the Extended Notes and Actions URI fields, it would be very useful to be able to reference the ARGn macros in custom Extended Notes and Actions to refer to the arguments passed to the monitored service.

Another potentially useful feature would be nested macro definitions - for example, I could define a service named servicex, and on host HOSTX I had defined an IP address for servicex on that host in the custom variable _servicex, then, in the definition of a template for servicex, where the SERVICEDESC=servicex, I could refer to this variable with the on-demand macro $_$HOSTNAME$:$SERVICEDESC$$.

Thank you!

Re: Allow use of ARGn macros in Extended Actions and Notes U

Posted: Tue Feb 26, 2013 12:08 pm
by slansing
Thank you for creating this idea thread! One thing you can do to make sure all developer side eyes see this would be to create a feature request on our tracker located at:

http://tracker.nagios.com/

This ensures that the correct people will see the request.

Re: Allow use of ARGn macros in Extended Actions and Notes U

Posted: Fri Mar 22, 2013 12:15 pm
by jorgea
These reference ideas would make a positive difference

Re: Allow use of ARGn macros in Extended Actions and Notes U

Posted: Tue Mar 26, 2013 2:30 pm
by slansing
Please let us know if you post a tracker item.