pommi/CGP — pull request #1 by frostyplanet (2012-08-05 06:34:17+00:00)
Title: adding snmp if_octect support

It seems snmp plugin is missing, so I wrote one. currently tested with

Type "if_octets"
Table true
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"

I also added urlencode() for image url, because the rrd file may contain characters from interface description like "snmp/if_octets-Port #10.rrd"

At last I added a option $CONFIG['interface_use_bit'] = true to toggle the netflow unit from Byte to Bit.

screenshot:
http://i.imgur.com/3BzzY.png