Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

CentOS 5.9 | net-snmp-

I'm running netsnmp on a CentOS 5.9 box and it's unclear to me from the config on whether or not it support SNMP v2 and v1.

I've always used SNMP v3 and /etc/snmp/snmpd.conf is very barebones:

syslocation  "in the box"
rouser  fooadmin priv

Since there aren't any other users or communities specified, is it reasonable to assume that SNMP v2 and v1 won't work out of the box?

share|improve this question

The snmpd.conf file should contain a few other parameters by default, among them is the community "public" which has access to the system info MIB (OID ). This should work for any version of SNMP. You can enable broader access to other MIBs, restrict by IP etc with very little effort.

share|improve this answer
Thanks. So am I correct in assuming that if the community parameter isn't specified, snmp v1 and v2 won't work? – Mike B Sep 18 '13 at 6:11
That's correct, with no community string any v1 or v2 request should fail – Feussy Sep 18 '13 at 11:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.