Shopping List (a.k.a. requirements)

In order to use the tools there is a number of things you need to install on your system. These are (in no particular order)

net-snmp
Also known as ucd-snmp
Apache webserver
A rather well-known webserver
PHP4
As a module for the webserver, the GD and MySql extensions should be enabled
MySql database
Used to store flow information from NeTraMet
NeTraMet itself
The excellent implementation of the flow-meter-mib
mr2mysql
The meter reader tool for reading flow information and storing it in MySql

Instead of Apache and mod_php4 another combination of a webserver with php4 should work as well; this is untested though, so your mileage may vary.

Installation instructions

Unpack the source code (usually 'tar xvzf mr2mysql.tar.gz' should do the trick) cd mr2mysql (the directory where the source code is located.) Now run the configure script (./configure) This should find the appropriate locations of the libraries and header files it needs and generate the Makefile. If it fails to find some header file or library it will stop and tell you how to provide the correct location to look for those header files/libraries.

After the configure script finishes, do a make and everything should compile and produce two executables in the current directory. A make install isn't provided yet, so you have to manually copy the executables to the location where you want them (or just leave them of course). At this moment the result of the make will be two executables/tools that can be useful in combination with NeTraMet (& NetFlowMet/LfapMet):

mr2mysql is the meter reader. When started it will continually monitor one meter and store flow information retrieved from it in a MySql database. Any ruleset downloaded to that meter will cause the meter reader to retrieve flows for that ruleset.
In other words: mr2mysql will automatically retrieve flow information from a meter whenever you download one or more rulesets to it. See the How to Use page for more information.

This page was last updated January 1, 1970.
For questions please contact Remco Poortinga