Page 1 of 1

genError in SNMP plugin

Posted: Mon Mar 21, 2016 12:29 pm
by ivzquez
Hi,
I have made a simple plugin for counting the lines on a dynamic table. The script work nice, but 1 of x time, i have a CRITICAL, the problem is an "Error in packet" with a "genError (general Error)" :x
The recollection command I'm using is the next:

Code: Select all

snmpbulkwalk -r 10 -Ov -v 2c -Cc -c ${comu} ${ip}:${port} ${OID} 
The table can have between 50 and 300 lines.

Any idea?
Best regards

Re: genError in SNMP plugin

Posted: Mon Mar 21, 2016 2:12 pm
by hsmith
I'm not entirely sure what is causing the error - but you could add some logic to your script to have it re-run the snmpwalk command if it finds that error.