[collectd] SNMP question

Mariusz Gronczewski xani666 at gmail.com
Mon Aug 15 21:23:40 CEST 2011


2011/8/15 Steve Thompson <steve.thompson at shazamteam.com>:
> Hi all
>
>
>
> I'm trying to monitor the aricon units in my server room. I have this in my
> config
>
>
>
>
>
> <Data "denco_return_temp">
>
>         Type "temperature"
>
>         Table false
>
>         Scale 0.1
>
>         Instance ""
>
>         Values ".1.3.6.1.4.1.9839.2.1.2.3.0"
>
>    </Data>
>
>    <Data "denco_return_humidity">
>
>         Type "humidity"
>
>         Table false
>
>         Scale 0.1
>
>         Instance ""
>
>         Values ".1.3.6.1.4.1.9839.2.1.2.4.0"
>
>    </Data>
>
>    <Data "denco_coolingdemand">
>
>         Type "percent"
>
>         Table false
>
>         Scale 0.1
>
>         Instance ""
>
>         Values ".1.3.6.1.4.1.9839.2.1.2.5.0"
>
>    </Data>
>
>
>
> And this
>
>
>
>    <Host "Denco1">
>
>         Address "denco1.uk.company.net"
>
>         Version 2
>
>         Community "public"
>
>         Collect "denco_return_temp" "denco_return_humidity"
> "denco_coolingdemand"
>
>         Interval 10
>
>    </Host>
>
>
>
> If I do an SNMPGET on the denco_coolingdemand OID I get
>
>
>
> SNMPv2-SMI::enterprises.9839.2.1.2.5.0 = INTEGER: 1000
>
>
>
> But Collectd just doesn't want to collect any data for it. It collects
> humidity and temperature correctly but there's no information collected for
> coolingdemand and no visible errors being produced. Can anyone point me at
> what I'm doing wrong?
>
>
Simple way to debug is is to setup instance of collectd with activated
only snmp and network plugin (sending data anywhere) and then use
wireshark to look at both (wireshark can decode collectd packets). I'd
try changing type "percent" to gauge 1st and see if that works.



More information about the collectd mailing list