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 ?
Integrating script with nagios notification
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Integrating script with nagios notification
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
https://assets.nagios.com/downloads/nag ... dlers.html