Novell is now a part of Micro Focus

Linux Monitoring Tool

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Collection of tools and scripts to monitor and record various resources. View graphs in HTML.

Vitals

Product Categories:
  • Linux
  • Functional Categories:
  • Monitoring
  • Posted:9 Sep 2005
    File Size:4.9MB
    License:GPL
    Download:/coolsolutions/tools/downloads/linux-monitoring.tar.bz2
    Screenshot:/coolsolutions/tools/screenshots/15964.jpg
    Publisher:James Lee

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    This is a collection of tools and scripts that I've gathered and modified to monitor and record various resources (CPU, Memory, Processes, Disk and Network) over time on Linux.

    It consists of the following:

    sysstat
    -- A package that provides sadc, sa1, sa2 in /usr/lib/sa and sar, iostat, mpstat in /usr/bin directory.
    -- Used to record (in binary) and generate various system stats (in plain text).
    -- Keeps 30 days worth of logs, recorded every 5 minutes. Each day's log will be kept in /var/log/sa.

    rrdtool
    -- Round-Robin database that will be used to store various system data.
    -- The system data will be collected (every minute) using default system commands as well as sysstat commands.
    -- Database files will be kept in /var/db/rrdtool.

    rrdtool-graphs
    -- Scripts that will generate graphical representations of stored data. /var/db/rrdtool/scripts/
    -- Graphs are created every 5 minutes and kept in /var/db/rrdtool/graphs.
    -- Graphs will tract CPU Load, Disk Usage, Memory Usage, Number of Processes and Network Input/Output.
    -- Eight graphs (last 1, 3, 6, 12, 24 hours and 2, 3, 7days) are created for each resource.
    -- HTML files have been created for your convenience to view these graphs. Also in /var/db/rrdtool/graphs.

    Installing this monitoring system will create three system-wide configuration files. Feel free to modify them if you know what you are doing. They are:
    /etc/rrdtoolgraphs.conf
    /etc/cron.d/sysstat
    /etc/cron.d/rrdtool

    In short, you will want to check the graphs (/var/db/rrdtool/graphs/stats.html) and sysstat log files (man sar) to monitor your Linux servers.

    Any errors occurred while creating and updating rrdtool databases and generating graphs will be recorded in /var/db/rrdtool/error_log.

    Make sure to run the install script in the same directory as the script itself is in!

    tar jxvf linux-monitoring.tar.bz2 && cd linux-monitoring
    ./install.sh or source install.sh to INSTALL
    ./uninstall.sh or source uninstall.sh to UNINSTALL
    ./startover.sh or source startover.sh to erase the graphs and start over.

    This is a good one-stop monitoring tool because it monitors just about everything. You can view the graphs with your browser and it actually records data. (I don't know of any other tool that does this.)

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © Micro Focus