Comments (12)
Hi.
This new code should detect more failures and give us more details for such a problem.
But we are still fixing for now diffenent little glitch and when I will think this is the moment I will propose you to try this code to see if we have more detailled, I will come back...
from devmon.
Hi,
First you can try play with: (without the use of this new devmon code)
-
The size of the messages: increase or decrease it (MSGSIZE default to 8096 in devmon.cfg)
-
You can also try to use SNMP v1 for this specific device (xymon hosts.cfg)
I recommend that you keep an eye on the "dm" test to see if there is some changes on the polling time: errors usuallly increase the polling time, so if you find good parameters, this will probably decrease the polling time: Just that you know, it is also possible that are incompatibilities between devices MSGSZE....and no option by now to change it per device (should be not to difficult to add)
Also for you understanding:
- snmpwalk use the "c" net-snmp lib
- devmon (by now) use perl SNMP_session lib that and native socket
-> They are not the same soft/lib at all, (they do no depend from each other), and they are probably not initialized with the same values ....
from devmon.
from devmon.
I propose you not to change the code for now, but to play with these parameters as it could be easy to do. (and also, we did not change a lot of things in the SNMP part of the which seems to be your problem.)
- The MSGSIZE is set by default by devmon to 8096, but the default can be lower: 1472 is the maximum size before the paquet is fragmented (on a normal ethernet segment): So these SNMP paquets are fragemented: you can try 1300 if you have a vpn or a pppoe encapsulation to be sure there is no framentation and see it if works.
I already seem device that can not answer so play a little bit with that. - Snmp v1 (in my knowledge do not use the snmp "getbulk" request. If it work It can be a problem with the getbulk request and also the size: getbulk want to transfert a large message!
I did not play a lot with those parameters, so I provide you just Ideas, that can (or not) make it working!
from devmon.
from devmon.
OK, so it is probably related to the fact that snmpv1 do not use snmpbulk ... I will open a case for that and keep yours related to it
from devmon.
I just found an SNMP package update that could resolve the problem, I just start using them.,but as I dont have the problem, I can just verify that it works for me like before and by now it seems to work...
It would be great if someone that have the same problem can test-it! and if it works better I will include them in devmon
- Installation : just put the files in following zip archive in the "devmon/modules" folder ! (the "modules" folder is in the perl path of devmon, so devmon will try to used these files first.)
snmp.zip
from devmon.
The new version with SNMPv3 may not support getbulk, the code to support it is still there but as I cannot test it, i dont really know if this still work. Backup before upgarding...
from devmon.
Hi,
I added a workaround would love to know if it works for you
Regards
Bruno
from devmon.
Hi,
Just got back to this. Looks to be working but I keep an eye on this and update if there are issues.
Thanks
from devmon.
Be carefull last update changes a lot of things (impossible to me know if it still work for you, as I switch back to SNMP_Session as default engine to improve stability (memory leaks) and the new snmpwalk engine is not deployed for the SNMP "C" external lib (which support SNMPv3)
Let me know how it works if you test it!
from devmon.
Seems to work well for me win Gen10
Also I did some a template for ilo (that mimics what you can have in the ilo itself.
Do not hesitate to reopen it, if you still have some issue !
from devmon.
Related Issues (20)
- Remove spike when "clear counters" of interfaces and when a device is rebooted
- Add monitoring for optical SFP
- Add a NTP test
- Add IPv6 support
- Follow "best practice"
- Improve logging HOT 1
- Add new Transform Features
- Updating hosts.db fails while doing "readbbhosts" and using SNMPv3 ( no v3 entries made ) HOT 11
- Query Limit of 100 Leaf OIDs? HOT 11
- "Undefined" state reported HOT 2
- Experimental keys on scalar is now forbidden at ...dm_snmp.pm HOT 3
- Do not fail reading hosts.cfg file when include files are missing HOT 1
- templatebuilder.pl error HOT 8
- Remove ugly workaround related to a Net-SNMP
- [PERL] dm_config.pm Experimental keys on scalar is now forbidden HOT 5
- Move work-in-progress code to development branch HOT 2
- Add option to align columns in a table to the right side HOT 1
- Parsing DEVMON: tag for cid() ip() port() and model() sometimes remove the following separator HOT 3
- dm_snmp::DiveRef: Can't use string ("X") as a HASH ref while "strict refs" in use HOT 9
- SNMPTIMEOUT is in devmon.cfg but has been renamed to SNMP_MAX_TIMEOUT in code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devmon.