If you want to monitor the services running on your linux machine you have a lot of options. But if you don’t want to install any additional software or applications, you can do it with a very simple perl script. (you need MIME::Lite to be installed before you can use this).

In order to install MIME::lite you have to run cpan -i MIME::Lite or open a CPAN shell by running:
perl -MCPAN -e shell and then issuing: install MIME::Lite

Run the script. If any of your services is not running you will be shown a message on the screen and also an email will be sent to you. The script is really basic and can be highly customized according to your needs.

Have fun!





Share.

About Author

I am a linux passionate and currently working as a Linux Senior System Administrator. I also am a freelancer and help people to complete different jobs. You can hire me on Freelancer.com