Get status of your servers with perl script.
2014-07-14
119 words
1 min read
Monitoring the servers could be well – “not difficult” but boring and monotonous. And since this is something that you should ideally do on daily basis, so why not have a script for the same.
You can’t possibly copy your ssh-keys to all the servers that you are monitoring, better if you can, then you need to do ssh to server with password. So, here is link to my github repo for monitoring servers with perl script. Preety straight forward script and you can schedule this in cron to get a daily mail.
The script covers solaris and Linux ( i.e. Ubuntu/Fedora/Debian/ideally any distro)
Do let me know in comments, if you feel something is missnig.
Related Articles:
- 2013/12/02 Monitor your system with sysusage.
- 2013/07/12 create text tables from delimited files.
- 2011/11/15 Add ssh key to remote host
- 2011/09/27 some interesting alias
- 2011/09/07 ss – utility to investigate sockets.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.