Page 1 of 1

Integrating script with nagios notification

Posted: Mon Oct 01, 2018 4:15 am
by shaya
i need to integrate my script with the Nagios core where i can do that ?


My application is generating the log file because of this disk space is getting filled, i have written a script which will remove the log file,
This script i want to integrate in the nagios, In which, when there is an notification this script needs to be called....

where i can integrate this ?

Re: Integrating script with nagios notification

Posted: Mon Oct 01, 2018 12:32 pm
by scottwilkerson
You can add the script as a command, and then add the script as an event_handler for the command

https://assets.nagios.com/downloads/nag ... dlers.html