Menu

#1 SNMPv3 and MySQL and various other changes

open
nobody
None
5
2005-06-09
2005-06-09
Brandon
No

I heavily modified the latest available version of
cipaf to meet my needs. I want to monitor usage
to/from hosts on my network.

Changes:
- Uses SNMPv3's getbulk feature, which significanly
improves performance
- Changed logging to a MySQL database rather than to
flat files
- Changed the format of the output data so that is
sumarizes based on IP's that are in networks I want to
monitor. The IP are defined per router in the config file
- The readconfigfile function reads the data into
$router objects rather than iinto separate arrays
Changed the functionality when lostBytes are found.
Instead of completely disregarding them, it calculates
what percentage of the data was missed, and increases
the data that it did find by that percentage. The idea
here is that the data that was saved should be a
realistic sample of the total data through the router.
If your polling interval is short enough, I believe
that this provids an pretty accurate sample of data to use
- Note: use the "set accounting-threshold" command on
your router to change the default setting on your router
- Used Net::Netmask module to intelligently see if an
IP is on a network that we want to collect accounting
data on

Discussion

  • Brandon

    Brandon - 2005-06-09

    Modified getdata.pl

     
  • Brandon

    Brandon - 2005-06-09
    • summary: SNMPv3 and MySQL --> SNMPv3 and MySQL and various other changes
     

Log in to post a comment.