afics@xxxxx# show service snmp contact test listen-address 1.2.3.4 { } location test v3 { user test { auth { encrypted-password f9f805f30bd91869dbadf2833e9cf155c9abf122 type sha } privacy { encrypted-password 7f53351b5a709946bb750b881fe08bea796510c8 type aes } } }
Results in non-functional SNMP and the following in the logs:
Dec 22 13:56:xxxxx systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Dec 22 13:56:xxxxx systemd[1]: Started Simple Network Management Protocol (SNMP) Daemon.. Dec 22 13:56:xxxxx snmpd[998999]: MIB search path: /usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/s> Dec 22 13:56:xxxxx snmpd[998999]: Cannot find module (IANAifType-MIB): At line 13 in /usr/share/snmp/mib> Dec 22 13:56:xxxxx snmpd[998999]: Did not find 'IANAifType' in module #-1 (/usr/share/snmp/mibs/IF-MIB.t> Dec 22 13:56:xxxxx snmpd[998999]: Cannot find module (IANA-RTPROTO-MIB): At line 12 in /usr/share/snmp/m> Dec 22 13:56:xxxxx snmpd[998999]: Did not find 'IANAipRouteProtocol' in module #-1 (/usr/share/snmp/mibs> Dec 22 13:56:xxxxx snmpd[998999]: /etc/snmp/snmpd.conf: line 60: Error: missing SECURITY parameter Dec 22 13:56:xxxxx snmpd[998999]: net-snmp: 1 error(s) in config file(s)