I'm trying to simply set up SNMP on a Red Hat system. I can walk the MIB tree just fine using the following command (from a different server): snmpwalk -v2c -c public HOST IP
However, when I try to set the community string in /etc/snmp/snmpd.conf, it doesn't walk the MIB tree. I have a feeling it's something simple, but for the life of me, I can't figure out why it's not working with the unique string I'm putting in. I do restart snmpd after editing the snmpd.conf file as well, so I'm not exactly sure what I'm doing wrong here.
The original config file is still there, all I added were the following lines (iglass is the string I want to use):
# First, map the community name "public" into a "security name"
# sec.name source community
com2sec notConfigUser default iglass
rocommunity iglass