Sorry to reply to my own thread. I've been digging into this further and
there seems to be something wrong in the way that the Instance/Subtree
iterator is working. Apologies for the std_traffic example - it works fine
now - but it highlights the issue.
Here's a dump of the example below of
Ah! I'm pretty sure I've found the issue.
In csnmp_read_table, there is the following comparison:
if ((value_table_ptr[i] != NULL)
(vb-name[vb-name_length - 1] = value_table_ptr[i]-subid))
{
DEBUG (snmp plugin: host = %s; data = %s; i = %i;
SUBID is
Hi List,
I know this question has been asked before, and I'm also pretty sure it
hasn't been answered before, which is why I'm asking again. I'm attempting
to use SNMP to graph Citrix Netscaler metrics. I'm calling using this Data
block:
Data ns_vservers
Type ns_vserver
Table
Hi,
On Sat, May 08, 2010 at 04:56:50PM +0200, Flyinvap wrote:
Is it possible to have oid included in message for this type log ? I
can be useful to find quickly the wrong data.
that's a good idea. I've added this to the collectd-4.9 branch [0].
Regards,
—octo
[0]
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
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 ==