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!
Allow use of ARGn macros in Extended Actions and Notes URIs
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Allow use of ARGn macros in Extended Actions and Notes U
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.
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
These reference ideas would make a positive difference
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Allow use of ARGn macros in Extended Actions and Notes U
Please let us know if you post a tracker item.