[collectd] I don't know the ASN type
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 ___ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd
Re: [collectd] I don't know the ASN type
Le Fri, 7 May 2010 15:12:54 +0200, Flyinvap flyin...@orange.fr a écrit : 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 :-( Some hours later ... 5 is the value for ASN_NULL ! #define ASN_NULL((u_char)0x05) asn1.h [1] from net-snmp define this constant. Some snmpgets return null value. A tcpdump later, I found some oids not known by equipment so null value is returned. Is it possible to have oid included in message for this type log ? I can be useful to find quickly the wrong data. [1] http://net-snmp.sourceforge.net/dev/agent/asn1_8h-source.html Regards. -- Flyinvap ___ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd
Re: [collectd] collectd's network output
Le 11/04/2011 23:21, lanas a écrit : Thanks for the prompt reply. Before I head off into the documentation (which seems to be quite good indeed) can you tell me if there is a pre-defined recommended (tested) way of generating graphs from CSV files by the collectd team ? CSV files are not the preferred way. All software listed in [0] use rrd. [0] http://collectd.org/wiki/index.php/List_of_front-ends -- Fly ___ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd