Fixing Net::SNMP
Posted: Thu Jul 31, 2025 8:06 am
We been using a number of plugin scripts to check the health on a number of network devices, these all use the Net::SNMP perl module, and have been working fine.
However, the authentication and privicy encryption protocols on our devices are being changed to AES256 and SHA256 from AES and SHA. The latest available version of the Net::SNMP Perl module doesn't support these protocols. We've tested and it fails.
The issue is the USM.pl file in the modules Perl directory. I've found a couple of posts in the Internet that say they have patched versions of USM and I've tried them, but they still fail, I suspect the postings were years ago and not related to the version of Net::SNMP we have installed.
I've even tried to get ChatGPT to rewrite our current USM.pm file, but with mixed results, ultimately it still doesn't work.
I know snnmp v5.9 and above supports these protocals if compiled with the correct arguements, but we would like to fix Net::SNMP.
Has anyone been able to do this? We have version 6.0.1 of Net::SNMP, which is the latest version on cpan.
Thanks om adance
However, the authentication and privicy encryption protocols on our devices are being changed to AES256 and SHA256 from AES and SHA. The latest available version of the Net::SNMP Perl module doesn't support these protocols. We've tested and it fails.
The issue is the USM.pl file in the modules Perl directory. I've found a couple of posts in the Internet that say they have patched versions of USM and I've tried them, but they still fail, I suspect the postings were years ago and not related to the version of Net::SNMP we have installed.
I've even tried to get ChatGPT to rewrite our current USM.pm file, but with mixed results, ultimately it still doesn't work.
I know snnmp v5.9 and above supports these protocals if compiled with the correct arguements, but we would like to fix Net::SNMP.
Has anyone been able to do this? We have version 6.0.1 of Net::SNMP, which is the latest version on cpan.
Thanks om adance