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
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
Comments
Post a Comment