SNMPmondb uses SNMP to monitor network traffic usage for both local and remote hosts.
To get started with SNMPMonDB, you need to have Perl 5.x and the Net::SNMP module for Perl installed on your system. Additionally, you'll also need the SNMPMon Handbook and PHPBars, which are both included in the release. Installation is also straightforward, as all you need to do is create a database for SNMPMonDB using MySQL 4.x (or a newer version), and grant access rights to allow the creation of tables and read/write to those tables.
Once the database is setup, you can then proceed with installing SNMPMonDB on your system. Simply extract the distribution to a directory of your choice, and then run the following commands on your terminal:
% tar zxvf snmpmondb-1.0.tar.gz
% cd snmpmondb-1.0
% su
% make install
These commands will install SNMPMonDB in /usr/local/bin/ and copy the man-page into /usr/local/man/man1/. In case your Perl executable is not located in /usr/bin/perl, you can edit the file snmpmon and change the first line accordingly.
After installing SNMPMonDB, you need to install the PHP scripts into an httpd accessible directory of your choice and then change the DB specific variables in graphs.inc.php to reflect the database you created earlier.
Using SNMPMonDB is also straightforward. It reads a configuration file on startup to determine which hosts and interfaces need to be monitored. The default configuration file is ~/.snmpmonrc, but you can use command-line options to override the defaults and provide other conveniences.
Finally, SNMPMonDB also comes packed with a sample configuration file (sample.rc), which you can edit and then move to ~/.snmpmonrc. Additionally, the project also supports comments in the configuration file and also provides a way to report bugs and other feedback to the developers.
Overall, SNMPMonDB is an easy-to-use project that is ideal for anyone looking to monitor the network traffic usage of both local and remote hosts.
Version 1.0: N/A