Monday, April 16, 2012
12:06 PM

Custom Perl Script for Email Notification when Host is Down.

I have found the Perl script for ping in Cacti. I have modified that script to restart quagga service, save the date-time in a file and send email notification whenever a host is down.

Here it is:



One can use as many/few parameters as needed. For example, you may not need to restart quagga or a file containing the date/time of quagga restarts

Running the Script

As the script is Perl dependent, we obviously need Perl installed for the script to run.




0 comments:

Post a Comment