Hi,
I'm running NagiosXI 2024R1.3.4 on redhat 9.5
Which module NET::SNMP supports SHA256 authentication ?
I'm Trying to set up SNMP v3 checks with SHA256 authentication, but seems like net-snmp 5.9.1 don't supported.
currently installed:
[root@nvs-nagios-01: ~]# rpm -q net-snmp-perl
net-snmp-perl-5.9.1-17.el9.x86_64
any idea? Thanks
NET::SNMP supports SHA256 authentication ?
- jmichaelson
- Posts: 375
- Joined: Wed Aug 23, 2023 1:02 pm
Re: NET::SNMP supports SHA256 authentication ?
I came across this post . Let us know if that helps you.
Code: Select all
https://www.claudiokuenzler.com/blog/1205/how-to-perl-net-snmp-v3-authentication-protocol-support-newer-sha-sha256-sha512Please let us know if you have any other questions or concerns.
-Jason
-Jason
Re: NET::SNMP supports SHA256 authentication ?
Patching USM.pl works to enable SHA256. Info here: https://www.claudiokuenzler.com/blog/12 ... 256-sha512
I did this for NagiosXI MRTG graphs. My NagiosXI is running on Oracle Linux 9.
Just remember, after you replace the USM.pl file, you have to update the mrtg config files to use sha256, but you also have to update any mrtg files to sha1 for your older devices still using SHA1. The default "sha" does not work anymore, it needs to be "sha1" or "sha256" or "sha512".
I did this for NagiosXI MRTG graphs. My NagiosXI is running on Oracle Linux 9.
Just remember, after you replace the USM.pl file, you have to update the mrtg config files to use sha256, but you also have to update any mrtg files to sha1 for your older devices still using SHA1. The default "sha" does not work anymore, it needs to be "sha1" or "sha256" or "sha512".