Xymon Mailing List Archive search

Devmon tests clear but snmpwalk works

list Jeremy Laidman
Mon, 30 May 2016 02:28:57 +0000
Message-Id: <CAAnki7AOzX+Q+=user-0eb28947f168@xymon.invalid>

On Fri, May 27, 2016 at 9:49 AM Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
wrote:
Can you confirm if positive IDs are accepted by devmon? If not, this might
be a red herring.
Try applying this adjustment to devmon and see if it helps. This forces the
SNMP_Session module to avoid negative request IDs:

*** devmon.orig     2011-05-06 15:32:03.000000000 +1000
--- devmon        2016-05-30 12:26:14.000000000 +1000
***************
*** 30,35 ****
--- 30,37 ----
   # Do start-up housekeeping
    initialize($VERSION);

+   $SNMP_Session::default_avoid_negative_request_ids = 1;
• # Enter main loop
    do_log("Entering poll loop", 0);
    while (1) {