[collectd] getnext

János Prepuk prepuk.janos at gmail.com
Tue Mar 23 16:35:21 CET 2010


Hi all,

I would like to use the snmp plugin and store the data to rrd. I should
monitoring some mikrotik devices. I need the "-82" and "-81" values. First
is belong to the 00 0C 42 61 75 23 device, second belong to the other.
This is the walk:
enterprises.14988.1.1.1.2.1.1.0.12.66.97.117.35.4 = Hex-STRING: 00 0C 42 61
75 23
enterprises.14988.1.1.1.2.1.1.0.12.66.97.118.125.4 = Hex-STRING: 00 0C 42 61
76 7D
enterprises.14988.1.1.1.2.1.3.0.12.66.97.117.35.4 = INTEGER: -82
enterprises.14988.1.1.1.2.1.3.0.12.66.97.118.125.4 = INTEGER: -81

How could the collectd create the following files automatically?

signal-00_0C_42_61_75_23.rrd
signal-00_0C_42_61_76_7D.rrd

I tried this, but it isn't good:

<Data "mikrotik_signal">
   Type "signal"
   Table true
   Instance "enterprises.14988.1.1.1.2.1.1"
   Values "enterprises.14988.1.1.1.2.1.3"
</Data>

<Host "w01.debrecen">
Address "10.20.30.40"
Version 2
Community "public"
Collect "mikrotik_signal"
Interval 300
</Host>

It is important that I don't want to give the exact oid in the Values,
becuse there will be a lot of devices and I won't be able to manage it.
(with the exact oid it works of course)

Is there any solution for this problam?

Thank you in advance

Janos Prepuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20100323/350f25a2/attachment.htm 


More information about the collectd mailing list