targetmaker-0.5.tar.gz

Whats New with 0.5:
* Added in a tables to hold module graphing information
* Create a PHP interface called targetmaker.php based off of RTG's
  rtg.php
* Moved all config variables to a seperate file as the number was
  getting to large to easily keep in the main file.
* Added support for Network Appliance filers
* many bug fixes

Whats NEW with 0.4:
* Added in ability to use all modules, or just use standard stats
  that the default rtgtargmkr.pl uses via $EXTENDEDMODE variable.
  Set $EXTENDEDMODE to 1 to enable all modules, or 0 to just use
  StandardIf.pl
* Changed name to targetmaker to avoid further confusion with the
  default rtgtargmkr.pl command
* Added support for 0.8 style targets file
* Added support for SNMP version (thanks John Payne)
* Added support for command line options (thanks John Payne)
* Fixed SQL query in View.pm that resulted in full table scans
* Fixed Catalyst support for ethernet interfaces
* Added support for alternate MySQL table types
* Fixed index naming issue for some target types
* Added disk support for HOST-RESOURCE-MIB


Whats NEW with 0.3:
Alot :)
* Moved standard interfaces to their own module
* Added module for Extreme switches (very limited)
* Added module for SNMP-Informant information
* Added module for HOST-RESOURCE-MIB information
* Added order.cfg file to modules to handle order processing
* Added "classes" so that when a host supports stats in multiple modules it 
only adds a specific class of stats once. (ie. only cpu from NetSNMP, not also
from HOST-RESOURCE-MIB)
* Various changes to all modules to support classes
* Various bug fixes to modules and logic
* Removed need to defile table_* variables in View.pm as the standard network
information is now in a module
* Updated View.pm to show what modules it is showing stats from
* Other things I've forgotten


Whats NEW with 0.2.1:
This is the latest update of the rtgtargmkr.pl script with modules support. 
There have been a number of bug fixes since the last release. The most
notable change is the addition of %table_map and %table_options variables
to the modules. These are need for use by the new perl module for displaying 
graphs of the data generated from the script. The perl module is named 
RTG::View.pm, and it requires mod_perl in apache to run. It has only been 
tested on Apache 2.0 with mod_perl 1.99. The additions that were added to
my httpd.conf file are below. The View.pm module does require access to the
rtgmodules directory, as it parses the modules in able to get the required 
information to create the graphs. Once again, as before, this data is being 
stored outside of MySQL as to not interfere with the current database schema, 
or any future changes to the database schema. In addition View.pm does pay 
attention to the active/inactive status field of the interface table. The 
format and setup of the output of View.pm is very similiar to mrtg-rrd.cgi 
if you are familiar with that application for use with MRTG.

The modules is accessed via HTTP by the following mechinisms:
http://rtg.server/rtg	- will give list of all machines with stats
http://rtg.server/rtg/hostname	- gives 24 hour graphs of all stats for hostname
http://rtg.server/rtg/hostname/MIBII-netio	- give all graphs for hostname 
	of type MIBII-netio (this translates to ifInOctets and ifOutOctets)
http://rtg.server/rtg/hostname/MIBII-netio/20	- give 24hour, 7day, 30 day, and
365 day historical graphs of hostname for stats MIBII-netio on interface 20.

I'll attempt to give any help I can, but I can't guarantee anything :) This
software, and any updates will be available at 
http://www.misplaced.net/~btoneill/rtg

Brian T. O'Neill
btoneill@misplaced.net


httpd.conf:
PerlModule Apache2
PerlModule Apache::compat
# The startup.pl file should be copied here from the install, it just
# sets library paths for the files to call
PerlRequire /opt/apache/perl/startup.pl
PerlInitHandler Apache::Reload

Alias /perl/ /opt/apache/perl/

<Location /perl/>
      SetHandler perl-script
      PerlResponseHandler ModPerl::Registry
      PerlOptions +ParseHeaders
      Options +ExecCGI
</Location>

<Location /rtg>
      SetHandler perl-script
      PerlResponseHandler  RTG::View
</Location>

