[Xymon] Devmon tests clear but snmpwalk works

Jeremy Laidman jlaidman at rebel-it.com.au
Mon May 30 04:28:57 CEST 2016


On Fri, May 27, 2016 at 9:49 AM Jeremy Laidman <jlaidman at rebel-it.com.au>
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) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160530/021a09ff/attachment.html>


More information about the Xymon mailing list