[collectd] I don't know the ASN type

Flyinvap flyinvap at orange.fr
Fri May 7 15:12:54 CEST 2010


Hi,

I use collectd to poll devices with SNMP (~1000). I see this line very
often in logs (~15/second) :

  snmp plugin: I don't know the ASN type `5'

I would like to now wich host or data cause this warning. 

If we check in sources, snmp.c :

if ((vl->type == ASN_INTEGER)
      || (vl->type == ASN_UINTEGER)
      || (vl->type == ASN_COUNTER)
#ifdef ASN_TIMETICKS
      || (vl->type == ASN_TIMETICKS)
#endif
      || (vl->type == ASN_GAUGE))

As I understand, "5" is not an ASN_INTEGER, an ASN_UINTEGER, an
ASN_COUNTER, an ASN_TIMETICKS or a ASN_GAUGE but I don't know C so I
can't debug anymore :-(

Any idea ?

Regards.

-- 
Flyinvap





More information about the collectd mailing list