check_snmp - Invalid privacy protocol specified after -3x flag: DES

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
op-team
Posts: 49
Joined: Fri Jun 02, 2017 6:19 am

check_snmp - Invalid privacy protocol specified after -3x flag: DES

Post by op-team »

Hi,

I got the following error when querying a host with snmpV3 and privacy protocol DES:
[nagios@NAGIOS-01N ~]$ /usr/local/nagios/libexec/check_snmp -H x.x.x.x -P 3 -L authPriv -a MD5 -x DES -A xxxx -X xxx -U xxx -o .1.3.6.1.4.1.5624.1.2.73.1.14.0 --rate -l "NacIPResolutionFailures"
External command error: Invalid privacy protocol specified after -3x flag: DES
USAGE: snmpget [OPTIONS] AGENT OID [OID]...

Version: 5.9.1
Web: http://www.net-snmp.org/
Email: [email protected]



My nagios is installed on redhat 9.5 and NET-SNMP version: 5.9.1

I didn't get this error running the same check from my previous nagios XI server redhat 7.9 with NET-SNMP version: 5.7.2

Thanks for your help
DoubleDoubleA
Posts: 272
Joined: Thu Feb 09, 2017 5:07 pm

Re: check_snmp - Invalid privacy protocol specified after -3x flag: DES

Post by DoubleDoubleA »

Hi @op-team,

When I google "red hat 9 des" I get a link to this page https://docs.redhat.com/en/documentatio ... ing-RHEL-9 which says:

"In previous versions of RHEL, DES was used as an encryption algorithm for secure communication between net-snmp clients and servers. In RHEL 9, the DES algorithm isn’t supported by the OpenSSL library. The algorithm is marked as insecure and the DES support for net-snmp has therefore been removed."
Post Reply