snmp.conf + defSecurityLevel
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am trying to set the default security level for all usm users as "authPriv". Hence I configured snmp.conf with defSecurityLevel authPriv and set required ENV variables to point for config files. I could verify the following statements while running snmpd with -Dread_config option read_config: Reading configuration /usr/local/share/snmp/snmp.conf read_config: /usr/local/share/snmp/snmp.conf:1 examining: defSecurityLevel authPriv read_config: Found a parser. Calling it: defSecurityLevel / authPriv The above details can ensure that snmpd is reading snmp.conf & And the following are statements observed for snmpget with -Dread_config option.. read_config: Reading configuration /var/net-snmp/snmp.conf read_config: /var/net-snmp/snmp.conf:1 examining: defSecurityLevel authPriv I am using SHA/AES protocols for authentication and privacy. But I was getting results with "authNoPriv" level of authentication. I tested on net-snmp version/linux is 5.2.1/5.2.2 also. Any idea how to solve this error? Thanks, Mahesh