Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    15

    Arrow Server load monitoring tools

    i am looking for a free server load monitoring tool which will email me about the load on the server on a frequent interval.

    Please let me know if there is any such free software to install on the server.

    An help is greatly appreciated.

  2. #2
    Member
    Join Date
    Dec 2006
    Posts
    8

    Default

    Quote Originally Posted by black123 View Post
    i am looking for a free server load monitoring tool which will email me about the load on the server on a frequent interval.

    Please let me know if there is any such free software to install on the server.

    An help is greatly appreciated.
    Try to use Munin Service Monitor

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    create a cronjob from the uptime command if thats all you need.


    crontab -e

    * */1 * * * (cd /usr/bin; ./uptime 2>&1 | mail -s "System load" your.email.com)

    The above example will email the load and uptime to you every hour. "System load" is the email subject and of course change your email to your real address.


    You can mail yourself a report the same way with any command you like such as netstat, ps and top or anything you like.

  4. #4
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default

    if you need extensive monitoring you can take look at the www.nagios.org

    hope that helps
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  5. #5
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Quote Originally Posted by jayh38 View Post
    create a cronjob from the uptime command if thats all you need.
    crontab -e
    * */1 * * * (cd /usr/bin; ./uptime 2>&1 | mail -s "System load" your.email.com)
    Hi,
    I thought I'd try that from within cPanel cron setup, but it cuts it off, and I suppoe it won't work anyway on a reseller account?
    (cd /usr/bin; ./uptime 2>&1 | mail -s
    - Vince

  6. #6
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    you could consider a VPS over a whm. Its not much more but you have your own operating system to setup and root access.

  7. #7
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    jayh38,
    I have 2 VPS and 2 dedi elsewhere, but I need this simple reseller WHM as well.

    Any other way/script to log server load on this setup?

    Many thanks,

    - Vince

  8. #8
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    does your host allow php commands such as shell_exec? if yes it may be worth writing a php script to get the uptime and e-mail it to you, and run that on a cron?

  9. #9
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    As Nickp666 says, you can call a php script to do the job for you if your provider allows that. I personally do not on my servers. As a matter of fact, I do not even show system status to clients in cpanel or whm either. Out of site out of mind and it saves many headaches. Its only my business and concern to manage my boxes. My clients need not worry about things out of their control. All they know is their heavy forum scripts and photo pages load lightning fast and they are happy.

    good luck

  10. #10
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Custom bash script is a great, low resource usage option. Munin is a resource muncher IMO.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  11. #11
    Member
    Join Date
    Mar 2007
    Posts
    6

    Default

    here is a simple bash monitoring script...

    #!/bin/bash

    load=`uptime | awk '{print $(NF-2)}' | cut -d. -f1`

    if [ $load -gt 4 ]

    then

    echo `uptime` | mail -s "server load is $load" email@domain.tld

    fi

  12. #12
    Member
    Join Date
    May 2004
    Posts
    48

    Default

    Cacti (http://cacti.net/) is an excellent open source monitoring tool with great community support. You could even install it locally on the server you speak of... the footprint is small and overhead is minimal.

    If it applies to you, it also comes RTR (ready to run) as a virtual machine (http://virtualappliances.net/products/cacti.php)

    -Sean

Similar Threads & Tags
Similar threads

  1. Monitoring server load?
    By pdstein in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-22-2010, 05:49 PM
  2. Article: 20 Linux System Monitoring Tools Every SysAdmin Should Know
    By Brook in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-10-2009, 09:41 PM
  3. Monitoring server load
    By erick_paper in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-01-2009, 11:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube