[rrd-users] adsl monitoring via snmp

Phil White manx.biz at googlemail.com
Fri May 17 21:54:04 CEST 2013


Hi all,

I have recently obtained a new (for me) adsl terminal adapter - and would
rather like to keep an eye on it. The plan is to use snmp via collectd.
Unfortunately, it isn't quite working... Can anyone give me a hand?

Doing snmpwalk, I get (amongst other things) this:

IF-MIB::ifInOctets.1 = Counter32: 4192850
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 63017231
IF-MIB::ifInOctets.5 = Counter32: 1000
IF-MIB::ifOutOctets.1 = Counter32: 58867993
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 2500412
IF-MIB::ifOutOctets.5 = Counter32: 1000

looking at the recipe at
https://collectd.org/wiki/index.php/Plugins:SNMP/Config I attempted to use
this:

<Plugin snmp>
    <Data "if">
       Type "if_octets"
       Table true
       Instance "IF-MIB::ifDescr"
       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
   </Data>

   <Host "gateway.local">
       Address "192.168.1.1"
       Version 1
       Community "public"
       Collect "if"
  </Host>
</Plugin>

Problem: This isn't collecting complete, reliable data, but instead gives
the following error:

[2013-05-17 20:05:56] [notice] uc_update: Value too old: name =
gateway.local/snmp/if_octets; value time = 1368817556.568; last cache
update = 1368817556.568;
[2013-05-17 20:05:56] [info] Filter subsystem: Built-in target `write':
Dispatching value to all write plugins failed with status -1.

Why? and, more importantly, how do I fix this?

Thanks,

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130517/bfbd21ef/attachment.htm 


More information about the rrd-users mailing list