Xymon Mailing List Archive search

Devmon tests clear but snmpwalk works

list Colin Coe
Mon, 30 May 2016 10:56:04 +0800
Message-Id: <CANvHAxTNcu26XM49_PmaX_FbkChmt6Dm4gpdHwi9LgVVDC=user-158173202157@xymon.invalid>

Hi Jeremy

Yep, did this after reading through your other thread again.

Still no change in behavior.  Tis very strange as we have many of this
model switch responding correctly and the cisco router (and another type of
Cisco switch) installed on those sites are working as expected.

Still looking...

Thanks

On Mon, May 30, 2016 at 10:28 AM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
wrote:
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) {