Results 1 to 14 of 14
  1. #1
    Join Date
    Dec 2004
    Location
    N/A
    Posts
    185

    Server load monitoring software - What do you recommend?

    Hi,

    I can some one recommend few light weight free software to monitor server load.

    I'm looking for something like the following but for dedicated servers.

    http://www.silversoft.com/products.php?item=11

    Thanks in advance!
    Support is OFFLINE

  2. #2

    Server Monitoring Scripts

    Try Nagios or Hugebrother

    <<signatures to eb set up in your profile>>
    Last edited by bear; 07-08-2009 at 07:56 AM.

  3. #3
    Join Date
    May 2008
    Location
    Tampa, Florida
    Posts
    181
    why not Status2k? it works for a single server or more than one server as well.
    Hostcrate.com - Shoutcast Streams & Web Hosting
    █ Custom Streams Available - Contact me - We're in Second Life Too!
    Real Quality - Real Support - Real Affordable since 2008!

  4. #4
    Join Date
    Dec 2004
    Location
    N/A
    Posts
    185
    I'm actually looking for a simple application to monitor a single server load in graph view and it should not be a desktop application.

    Nagios is good but I guess it would be too complicated for a single server.

    any other recommendations?
    Support is OFFLINE

  5. #5
    Try Nagios - truly awesome

  6. #6
    Join Date
    Apr 2004
    Posts
    65
    Quote Originally Posted by Junkfriend View Post
    I'm looking for something like the following but for dedicated servers.

    http://www.silversoft.com/products.php?item=11
    They say it works for dedicated servers also

    Have a look at monit or munin

  7. #7
    We use nagios and its works great for us.
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  8. #8
    Join Date
    Dec 2004
    Location
    N/A
    Posts
    185
    Quote Originally Posted by inspiron View Post
    We use nagios and its works great for us.
    How does nagios work? Do you guys install nagios on a separate dedicated server? then use it to monitor the other servers? How's its resource usage?
    Support is OFFLINE

  9. #9
    Munin, Cacti, phpSysInfo
    << removed >>
    Last edited by writespeak; 09-25-2009 at 10:37 AM.

  10. #10
    Join Date
    Apr 2009
    Location
    Pakistan
    Posts
    8
    Quote Originally Posted by hostcrate_com View Post
    why not Status2k? it works for a single server or more than one server as well.
    Status2K is not showing detailed status. It shows general status of server with information. However it is best for starting.

    << response to removed portion of post >>
    Last edited by writespeak; 09-25-2009 at 11:03 AM.

  11. #11
    Join Date
    Apr 2009
    Posts
    839
    Hello,

    Use nagios - is is very light-weight and very very configurable.

    Take a look at NRPE plugins - they allows you to monitor almost all aspects of your server.

    There are bunch of manuals how to setup nagios, however feel free to ask me if you will face any issues.

    Good luck!

  12. #12
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,100
    Nagios are best with great plugins on the market.
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  13. #13
    Join Date
    Aug 2003
    Location
    Gods Own Country
    Posts
    869
    Nagios is a great product and I recommend it for server monitoring purpose.
    Blessen Cherian
    Follow me on twitter.com/blessenonly
    Over a decade plus in the Hosting Industry

  14. #14
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    Hi,

    Nagios will NOT graph the server load. Munin will. If neither Nagios and Munin are fit for the job, then you can try to do it by yourself. Here's how.

    The rrd file creation:

    PHP Code:
    rrdtool create /path/to/cpu.rrd --step 60 \
            
    DS:loadaverage:GAUGE:900:0:\
            
    RRA:AVERAGE:0.5:1:20160 \
            
    RRA:AVERAGE:0.5:30:2016 \
            
    RRA:AVERAGE:0.5:60:105120 \
            
    RRA:MAX:0.5:1:1440 \
            
    RRA:MAX:0.5:30:2016 \
            
    RRA:MAX:0.5:60:105120 
    Here's the script to set as a cron job every minute:

    PHP Code:
    #!/bin/sh

    cd $DTC_ETC

    CPU
    =`uptime | rev | cut -d : -f1 | rev| cut -d "," -f1 | tr -d " "`
    CPU1=`echo ${CPU} | cut -f 1 -d'.'`
    CPU2=`echo ${CPU} | cut -f 2 -d'.'`
    LOADAVG=`echo ${CPU1}${CPU2}`
    #echo $LOADAVG
    rrdtool update /path/to/cpu.rrd "N:$LOADAVG
    And here is the php script to graph it:

    PHP Code:
    <?php

    $rrd 
    '/path/to/cpu.rrd';
    $xpoints 800;
    $ypoints 160;
    $vert_label "CPU Load average";

    if( isset(
    $_REQUEST["graph"]) ){

            switch(
    $_REQUEST["graph"]){
                    case 
    "hour":
                            
    $title 'Hour graph';
                            
    $steps 3600;
                            break;
                    case 
    "day":
                            
    $title 'Day Graph';
                            
    $steps 3600*24;
                            break;
                    case 
    "week":
                            
    $title 'Week Graph';
                            
    $steps 3600*24*7;
                            break;
                    case 
    "month":
                            
    $title 'Month Graph';
                            
    $steps 3600*24*31;
                            break;
                    case 
    "year":
                            
    $title 'Year Graph';
                            
    $steps 3600*24*365;
                            break;
                    default:
                            die(
    "Nothing to do here...");
                            break;
            }
            
    $range = - $steps;
            
    $filename tempnam("/tmp","dtc_cpugraph");
            
    $cmd "rrdtool graph $filename --imgformat PNG --width $xpoints --height $ypoints --start $range --end now --vertical-label '$vert_label' --title '$title' --lazy --interlaced ";
            
    $cmd .= "DEF:loadaverage=$rrd:loadaverage:AVERAGE ";
            
    $cmd .= "'LINE1:loadaverage#ff0000:CPU Load average*100:' 'GPRINT:loadaverage:MAX:Maximum\: %0.0lf' 'GPRINT:loadaverage:AVERAGE:Average\: %0.0lf/min\\n' ";
            
    exec($cmd,$output);

            
    $filesize filesize($filename);

            if( (
    $fp fopen($filename,"rb")) != NULL ){
                    
    header("Content-Type: image/png");
                    
    header("Content-Transfer-Encoding: binary");
                    
    header("Content-Length: $filesize");
                    
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
                    
    header("Cache-Control: public"false);
                    
    header("Expires: 0");
                    while(!
    feof($fp) && connection_status() == 0){
                            print(
    fread($fp,1024*8));
                            
    flush();
                    }
                    
    fclose($fp);
            }
            
    unlink($filename);
    }else{
            echo 
    '
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE>CPU load average statistics for '
    .$_SERVER["SERVER_NAME"].'</TITLE>
    <style type="text/css">
    body{
            height:100%;
            margin:0;
            color: #000000;
    }
    h1 {
            font: 14px Arial, Helvetica, sans-serif;
            font-weight: bold;
            text-decoration: underline;
            color: #000000;
    }
    </style>
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <H1>CPU load average Statistics for '
    .$_SERVER["SERVER_NAME"].'</H1>
    <center>
    <IMG BORDER="0" SRC="'
    .$_SERVER["PHP_SELF"].'?graph=hour" ALT="Hour CPU Load Graph" width="897" height="239"><br>
    <IMG BORDER="0" SRC="'
    .$_SERVER["PHP_SELF"].'?graph=day" ALT="Day CPU Load Graph" width="897" height="239"><br>
    <IMG BORDER="0" SRC="'
    .$_SERVER["PHP_SELF"].'?graph=week" ALT="Week CPU Load Graph" width="897" height="239"><br>
    <IMG BORDER="0" SRC="'
    .$_SERVER["PHP_SELF"].'?graph=month" ALT="Month CPU Load Graph" width="897" height="239"><br>
    <IMG BORDER="0" SRC="'
    .$_SERVER["PHP_SELF"].'?graph=year" ALT="Year CPU Load Graph" width="897" height="239">
    </center>
    </body>
    </html>'
    ;
    }

    ?>
    These scripts, I wrote them all, and they are part of our control panel. We've been using them for YEARS without an issue, and we got the same thing for CPU, memory and mail queue. It's quite an important thing to have, it helps a lot understanding what's going on in a server.

    I hope that helps!

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

Similar Threads

  1. Uptime / Server Monitoring Software - Self Monitoring ?
    By Joel Theodore in forum VPS Hosting
    Replies: 1
    Last Post: 09-22-2006, 09:58 AM
  2. Server Load Monitoring
    By bheka in forum Dedicated Server
    Replies: 13
    Last Post: 06-26-2006, 04:30 AM
  3. server load monitoring
    By mindbender in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-16-2005, 11:31 PM
  4. Server load & abuse monitoring
    By Joshua in forum Hosting Software and Control Panels
    Replies: 6
    Last Post: 11-09-2004, 07:02 AM
  5. Looking for server load monitoring tool
    By visor24 in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 05-30-2003, 05:10 PM

Posting Permissions

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