Find the answer to your Linux question:
Results 1 to 6 of 6
Hey guys, Im running ubuntu on one of my machines and I was wondering if anyone could guide to to constructing (or using a template) shell script where I get ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    20

    shell script - System stats

    Hey guys,

    Im running ubuntu on one of my machines and I was wondering if anyone could guide to to constructing (or using a template) shell script where I get an email sent to me from the machine(server) giving me EITHER of the following :

    1) General stats of the machine such as CPU load, CPU temp, hard drive space etc..
    OR
    2) Warning notification only sent to me via email when CPU load , temp , disk space etc.. is at critical level.

    Thank you again for your great feedback on my previous posts!

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    I would suggest to not reinvent the wheel.
    There are dozens of monitoring/alerting tools out there.


    Munin - Trac is quite simple
    Nagios - The Industry Standard in IT Infrastructure Monitoring well known and supported
    I use xymon : green : Xymon - Status @ Mon Feb 07 12:49:51 2011

    For example, munin looks like this
    Munin :: ping.uio.no :: rossum.ping.uio.no
    Last edited by Irithori; 02-07-2011 at 11:24 AM.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    20
    Thanks for a response, I will check them out then. Am i right to assume that I can receive email notification on either of these suggested tools? I am proud to say I DONT own an iphone by choice so would prefer to receive email notifications as well?

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Well, monitoring and alerting are two slightly different topics.
    I know for sure, that nagios and xymon can send alert emails.

    It´s been a few years, since I last looked at munin, but I *think* it can alert also.
    You must always face the curtain with a bow.

  5. #5
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Xymon is easy to get started with, and is very configurable for sending alerts. Nagios, not at all easy to get started with, but also very configurable for alerts.

  6. #6
    Just Joined!
    Join Date
    Mar 2010
    Location
    Texas
    Posts
    9
    OpenNMS is yet another monitoring/alert system.
    dubdubdub.opennms.org/

    For a comparison of OpenNMS vs Nagios, you might want to look at dubdubdub.rootdev.com/tech/opennms-vs-nagios

    (if this site didn't have an inane (you must have at least 15 posts in order to have a URL, these links would have been clickable).


    Nagios is more widely used - but if this means anything to you, we ditched a perfectly working Nagios system in favor of OpenNMS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...