webhook or custom script

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
scheived
Posts: 26
Joined: Tue Jul 16, 2013 9:53 am

webhook or custom script

Post by scheived »

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.
User avatar
jmichaelson
Posts: 384
Joined: Wed Aug 23, 2023 1:02 pm

Re: webhook or custom script

Post by jmichaelson »

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
scheived
Posts: 26
Joined: Tue Jul 16, 2013 9:53 am

Re: webhook or custom script

Post by scheived »

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?
User avatar
jmichaelson
Posts: 384
Joined: Wed Aug 23, 2023 1:02 pm

Re: webhook or custom script

Post by jmichaelson »

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
Post Reply