Git Product home page Git Product logo

Comments (9)

rsmuc avatar rsmuc commented on August 9, 2024

Hi ironbishop,
currently we are not working on SNMPv3. In our systems there is currently no need to support that. In general it should be easy to implement, because the netsnmp python bindings seem to fully support SNMPv3.

What plugin do you need?

from health_monitoring_plugins.

ironbishop avatar ironbishop commented on August 9, 2024

I'm experimenting with IDRAC right now, and will probably use the ILO too. Speaking of which, is the ILO one just for version 4, or for all versions?

from health_monitoring_plugins.

rsmuc avatar rsmuc commented on August 9, 2024

If I find some time I will try to implement SNMPv3 in the two plugins next week. Let's see how many effort that is...
The iDRAC plugin needs some bugfixes / changes anyway.

the iLo plugin will work for ilo 3 and 4. iLo 2 did not have a snmp interface for status monitoring. There is only a very slow xml interface to do that and e.g. the harddrive status is not shown via the xml interface. (But I think ilo 2 is obsolete anyway... HP Gen 5 was the last with ilo 2)

from health_monitoring_plugins.

ironbishop avatar ironbishop commented on August 9, 2024

Thank you. Please let me know how it goes.

from health_monitoring_plugins.

rsmuc avatar rsmuc commented on August 9, 2024

I implemented SNMPv3 in the idrac pugin at the 0.0.8 branch. Tell me if that works for you:

https://github.com/rsmuc/health_monitoring_plugins/tree/0.0.8/doc/check_snmp_idrac

from health_monitoring_plugins.

rsmuc avatar rsmuc commented on August 9, 2024

added also for the ilo plugin

from health_monitoring_plugins.

ironbishop avatar ironbishop commented on August 9, 2024

Great!!! Thank you so much.
I'll test it asap.

from health_monitoring_plugins.

ironbishop avatar ironbishop commented on August 9, 2024

It works, but it "breaks" previous versions checks: is that intentional, and v3 is now mandatory?

This worked before upgrade, but not now:
[nagios@nserver ~]$ check_snmp_idrac.py -H ipaddress -V2 -C community
Unknown - security level is incorrect: None. Check -l parameter.

I tried with v1 too:
[nagios@nserver ~]$ check_snmp_idrac.py -H ipaddress -V 1 -C community
Unknown - security level is incorrect: None. Check -l parameter.
And setting that parameter:
[nagios@nserver ~]$ check_snmp_idrac.py -H ipaddress -V 2 -C community -l noAuthNoPriv
Unknown - snmpget failed - no data for host ipaddress OID: .1.3.6.1.4.1.674.10892.5.4.300.10.1.7.1

Anyway, this is ok, and it's exactly what I need:
[nagios@nserver ~]$ check_snmp_idrac.py -H ipaddress -V 3 -u user -a SHA -A password -x AES -X password -C community -l authPriv
OK ...

from health_monitoring_plugins.

ironbishop avatar ironbishop commented on August 9, 2024

Checked ILO too, it works.

check_snmp_ilo4.py -H ipaddress -V 3 -u user -a SHA -A password -x AES -X password -l authPriv --driv es=7 --ps=2 --fan=6

from health_monitoring_plugins.

Related Issues (11)

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.