Quantcast
Channel: SNMP not using community string in snmpd.conf - Super User
Viewing all articles
Browse latest Browse all 3

SNMP not using community string in snmpd.conf

$
0
0

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          communitycom2sec notConfigUser  default       iglassrocommunity iglass

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images