Send Netdot-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."
Today's Topics:
1. Re: updatedevices.pl endless loop (Patrick Landry)
----------------------------------------------------------------------
Message: 1
Date: Wed, 28 Jan 2015 18:09:53 -0600 (CST)
From: Patrick Landry <[email protected]>
Subject: Re: [Netdot-users] updatedevices.pl endless loop
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="utf-8"
----- Original Message -----
> ----- Original Message -----
> > Now, SNMP.pm has a setting, $SNMP::non_increasing (also called
> > NonIncreasing
>
> > in the constructor), but it seems to be disabled by default.
>
> > Could you add the following line to lib/Netdot/Model/Device.pm,
> > right
> > after
>
> > the "my $TIMEOUT = ...." line close to the top of the file?
>
> > $SNMP::non_increasing = 1;
>
> > This should actually fix your problem, and I do not see there would
> > be any
>
> > harmful side effects of doing this? Please report if it helps, in
> > which
>
> > case I think that something very similar should be added to future
> > Netdot
>
> > versions.
>
> I made the change and
> netdot/bin/updatedevices.pl -FA --host CLIENT-IP --communities
> COMM-STRING --debug
> ran to completion! I will run some more extensive tests this evening
> and report results tomorrow.
Just to close this thread for future Googlers, adding
$SNMP::non_increasing = 1;
to SNMP.pm seems to have solved my issue. I have not had any issues with
updatedevices.pl since
making that change.
Many thanks to Anton Berezin for his prompt assistance.
--
Patrick Landry
Director, UCSS
University of Louisiana at Lafayette
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20150128/61edd9f2/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulfleur3.jpg
Type: image/jpeg
Size: 2228 bytes
Desc: not available
Url :
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20150128/61edd9f2/attachment-0001.jpg
------------------------------
_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users
End of Netdot-users Digest, Vol 74, Issue 10
********************************************