SHA256 auth protocol support for SNMP checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
taras
Posts: 3
Joined: Tue Nov 17, 2020 1:21 pm

SHA256 auth protocol support for SNMP checks

Post by taras »

Trying to set up SNMP v3 checks with SHA256 authentication, but seems like its not currently supported.
OS is CentOS 7, Net-SNMP package is version 5.7.

From reading Net-SNMP docs it seems like SHA256 support was added starting with version 5.8.

So the question is if upgrading Net-SNMP package 5.8 and above is supported by NagiosXI, and what else might be required to be able to use better auth protocols then SHA1.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SHA256 auth protocol support for SNMP checks

Post by ssax »

I wouldn't recommend upgrading net-snmp on EL7 as it may impact php-snmp and other things that were compiled against it.

You could migrate to an EL8 system where net-snmp is 5.8 installed by default.

What XI version is the system currently running?

NOTE: I labbed this up with net-snmp 5.8 and the wizards/plugins seemed to work with SHA256 if you just select SHA.
taras
Posts: 3
Joined: Tue Nov 17, 2020 1:21 pm

Re: SHA256 auth protocol support for SNMP checks

Post by taras »

thanks. nagiosxi is at 5.8.3.

I got some custom scripts/checks so just wizard wont do it, but ultimately they rely on snmpget from Net-SNMP.

any suggestions what to look at during testing to make sure all components that depend on net-snmp are working correctly if i was to go down the route of installing net-snmp 5.8 on EL7?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SHA256 auth protocol support for SNMP checks

Post by ssax »

You would need to test the existing wizards/snmp plugins to determine if it will have any impact, we do not currently test against that setup as it is outside of what the vendor has in the repositories and you'll likely need to compile from source. My only concern is impacting your system when doing upgrades/etc, it will likely get replaced with the lower version on upgrades as well.
taras
Posts: 3
Joined: Tue Nov 17, 2020 1:21 pm

Re: SHA256 auth protocol support for SNMP checks

Post by taras »

makes sense. thanks @ssax. i think we will go with OS upgrade.

as a side note (let me know i need to create new topic for this):
is nagiosXI compatible and/or recommended to be run inside the container instead a old fashioned install on a VM and is it an officially supported solution? if so, is there image or/and documentation for it?

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SHA256 auth protocol support for SNMP checks

Post by ssax »

We don't currently test with it as a container or offer containers currently so while it might work it's not officially supported.
Locked