Quick Installation Guide

Below is the result of our efforts to be able to walk you through, step by step, the process of installing TempMon on a central server and have it monitor your systems. We've tried very hard to not leave anything out, but, hey, we're only human. If you're having problems, visit our documentation pages to see if your problem has already been addressed. If not, please, .





System Requirements

  • Perl
  • Also, the following modules all of which are available from http://www.perl.com

    Required Perl Modules
    Cwd(Cwd.pm)
    File::Basename(File/Basename.pm)
    Getopt::Long(Getopt/Long.pm)
    HTTP::Request(HTTP/Request.pm)
    LWP::UserAgent(LWP/UserAgent.pm)
    Net::Ping(Net/Ping.pm)
    Switch(Switch.pm)
    Time::Local(Time/local.pm)
  • HTTP Server
  • Only if you want the graphs web accessible. The Apache webserver is used for development purposes.

  • Web Browser
  • For viewing files (Netscape, Mozilla, IE, etc).

  • RRDTool
  • Installed with the RRD Perl modules in the system perl libraries. Avaliable at: http://oss.oetiker.ch/rrdtool/

Installation and Configuration

  1. Make sure you have all fo the above prerequisites installed.
  2. Create a tempmon folder and a tempmon web directory.
    (Ex. /usr/local/tempmon/ and /home/www/html/tempmon)
  3. Untar the package.
  4. Copy the contents to the tempmon folder. (/usr/local/tempmon)
  5. Make sure private.pl and webgen files are pointing to the correct location for PERL.
  6. Make sure the $web_dir and $sw_dir variables in webgen and $tempmon_html and $config_file variables in private.pl match the directories just created.
  7. Edit the hosts.master file.
  8. Run webgen. This will generate the files necessary to view the graphs through a web browser.
  9. Merge the generated crontab file with the crontab for root.
  10. Merge the generated httpd.conf-tempmon file with the httpd.conf file for your webserver. (This only needs to be done once per installation, not after every configuration.)

That should do it. You should now have TempMon installed. The server will now collect data every 15 minutes and update the webpages with every data collection.