Passing contact macro to external script
Posted: Thu Feb 15, 2018 8:50 am
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 16&t=47336
In the future, please create a new thread and link to the old one instead of adding on.
npolovenko,
I have tried that and it doesn't seem to be supported for Services event handlers. Only thing that seem to work is custom defined MACRO. My goals is to write a event handler that is generic to all host and use the pre-defined contact for that host. I don't want to go to each host and create custom MACRO for each services and each contact again.
In the future, please create a new thread and link to the old one instead of adding on.
npolovenko,
I have tried that and it doesn't seem to be supported for Services event handlers. Only thing that seem to work is custom defined MACRO. My goals is to write a event handler that is generic to all host and use the pre-defined contact for that host. I don't want to go to each host and create custom MACRO for each services and each contact again.