Question Locked

Linux Hardware Monitoring via email alerts

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We want to monitor a Linux server for hard drive failure, free space running out etc. and have it send email warnings to our I.T. group. What would be the best program or method to use for this? Thank you.....

4 replies

by Former member

http://www.lm-sensors.org/
http://www.cdrinfo.com/Sections/Reviews/Specific.aspx?ArticleId=20252
http://linux.softpedia.com/get/System/Monitoring/Hardware-Monitor-3711.shtml
http://www.informationweek.com/blog/main/archives/2006/05/hardware_monito.html
As for failures , I:E, not on-line. Then your router/switch can do this by e-mail, well mine can. Though it will not tell you why it went down.

Please post back if you have any more problems or questions.

by peter

You might think of using traps (and send the traps to email).

e.g. through use the snmptrapd.conf file:

# Usage:
# Put a line like the following in your snmptrapd.conf file:
# traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES
# FROM defaults to "root"
# SMTPSERVER defaults to "localhost"

traphandle default /usr/bin/perl /usr/bin/traptoemail -f snmp_trap_handler@mydomain.org sys_admin@mydomain.org

Another approach (although not email alerts) is to adapt MRTG to monitor MIB OIDs such as CPU usage, memory usage, temperature, etc. Then display to a web-page.

This discussion is closed to new replies.