Tool for monitoring traffic information via SNMP and storing it to Postgres database.
Written in Ruby 1.8 and requires the following gems:
snmp. Database schema is provided in
Invoked as a cronjob, this tool executes SNMP requests for each pair hostid:itemid in
watched_items table of database and accumulates received traffic information in acculumate field of
history table. In a nutshell, that's it.
Works for a 1.5+ year in a production environment. Sources are not touched since july 2011.
Copyright (c) 2011, 2012. Ilia Zhirov
Licensed under terms of MIT license.
Feel free to fork it, fix any bugs, add features, send me a pull requests and so on. Bug reports are also welcome.