How can I creat a webhook or run a custom script on an alert with content about the alert?
I see content about the alert can be sent in an email but it doesn't seem available in when running a script.
webhook or custom script
- jmichaelson
- Posts: 384
- Joined: Wed Aug 23, 2023 1:02 pm
Re: webhook or custom script
If you can give me a more concrete example pf what you're trying to accomplish, I'll see if i can help
Please let us know if you have any other questions or concerns.
-Jason
-Jason
Re: webhook or custom script
I want an alert that runs a script but I need the data of what triggered the alert passed to the script. This can be done for sendting an alert to an email by using a an email template but I see no such way while executing a script.
Unfortunatly the lack of this feature is causing me to dump nagios log server, I guess I could send an email to myself and then have some action that executes but why can't this just be built into nagios log server?
Unfortunatly the lack of this feature is causing me to dump nagios log server, I guess I could send an email to myself and then have some action that executes but why can't this just be built into nagios log server?
- jmichaelson
- Posts: 384
- Joined: Wed Aug 23, 2023 1:02 pm
Re: webhook or custom script
Understood. I have written an enhancement request for this. I can't promise any timeline for it, but if it is implemented it will be in the changelog as item number NLS:862
Please let us know if you have any other questions or concerns.
-Jason
-Jason