ifGraph 0.3.3 - 11/10/2001 - Ricardo Sartori <sartori@duosite.com.br>

Requirements:
 - Perl >= 5.0 (http://www.perl.org)
 - Net::SNMP Perl Modules (http://search.cpan.org/search?dist=Net-SNMP)
 - RRDTool >= 1.3.32 (http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/)

Quick steps to start using ifGraph 0.3.3:
=========================================

1 - Search for the interfaces you want to monitor with the find-if.pl
script. Let's say you want to monitor host host.something.net, but you dont
know wich interfaces to monitor, you may do something like this:

otherhost 35$ ./find-if.pl host.something.net somecommunity
OK: session created, getting info from host.something.net
Showing up interfaces of: host.something.net
Interface total: 5
OK: Collecting info on each interface, wait...
......
OK: Data collected
| if # | Description            | Stat | Octets In     | Errors  | Octets Out    | Errors |
-------------------------------------------------------------------------------------------
| (1)  | eth0                   | up   | 2421689163    | 278     | 3024455811    | 26     |
| (2)  | eth1                   | up   | 4046770442    | 14118   | 3653663255    | 1      |
| (4)  | lo0                    | up   | 1085194330    | 0       | 1085197143    | 0      |

2 - Decide wich interfaces you want to monitor. Take note of the "if #" field
in the find-if.pl output.

3 - Edit your ifgraph.conf file. You must set the rrdtool, rrddir and graphdir
directives to something that match your needs. Next, configure wich interfaces
you want to monitor. Imagine that you want to monitor interface 2 of the host
host.something.net. Your line would be something like this:

	host.something.net:public:161:2:100M:Second Interface eth1
     
If you want to monitor another interface, just create another line following this
sequence:

hostname : community : agent port : interface number : bandwidth : description

4 - After the configuration, you may now run ifGraph. The program must be run each
5 minutes, so, it may be easier to add it to your crontab. Just issue the command:

host$ crontab -e	

And add the following line:

*/5 * * * * /path/to/ifgraph/ifgraph.pl -c /path/to/ifgraph.conf ; /path/to/ifgraph/makegraph.pl -c /path/to/ifgraph.conf > /dev/null
(You must change the path to the ifgraph.pl, makegraph.pl and to you config file)
