Nagios notification with custom script

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Asish.mohandasan
Posts: 1
Joined: Wed Dec 20, 2017 12:23 am

Nagios notification with custom script

Post by Asish.mohandasan »

Hi All,
I need to integrate telegram with nagios notification.
For that need to invoke script which will execute telegram command on background .
How can I achieve this ? how to run that custom script on each notification ?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios notification with custom script

Post by mcapra »

You could set it up as an event handler. Here official documentation for setting up global event handlers in Nagios XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Essentially, with the above component, you can have Nagios XI run a specific script every time a specific event type occurs. Like a script to take notification information and ship it to Telegram.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: Nagios notification with custom script

Post by kyang »

Thanks @mcapra!

@Asish.mohandasan, Do you have a ticket open for this? Or is that not you?
Locked