GithubHelp home page GithubHelp logo

Comments (12)

bonomani avatar bonomani commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

Hi,
First you can try play with: (without the use of this new devmon code)

  1. The size of the messages: increase or decrease it (MSGSIZE default to 8096 in devmon.cfg)

  2. 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.

coec avatar coec commented on August 25, 2024

from devmon.

bonomani avatar bonomani commented on August 25, 2024

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.)

  1. 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.
  2. 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.

coec avatar coec commented on August 25, 2024

from devmon.

bonomani avatar bonomani commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

Hi,
I added a workaround would love to know if it works for you
Regards
Bruno

from devmon.

coec avatar coec commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

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.

bonomani avatar bonomani commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.