In versions of PAM prior to 3.X it was possible to use public as the name of the community used for SNMP polling in the Configuration section of PAM, when using SNMP version 2c or previous.
However, in version 3.X, if this is done, one comes across problems when trying to retrieve information from the PAM server via SNMP by using snmpget or snmpwalk, one comes across errors. For instance
snmpwalk -v 2c -c public 192.168.80.241 18.104.22.168.4.1.2021.11
UCD-SNMP-MIB::systemStats = No more variables left in this MIB View (It is past the end of the MIB tree)
For higher OID the query finishes with HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
snmpwalk -v 2c -c public 192.168.80.241 22.214.171.124
If any other community name is used (e.g. xcdgkpub) then this works normally. This does not happen in older versions of the product. Why is this so ?