Example Linux snmpd.conf

The example below is a basic snmpd.conf which can be used with net-snmpd on Linux systems. The community string, syslocation and syscontact fieds need to be changed to fit your environment.

   com2sec readonly  default         community_string

   group MyROGroup v1         readonly
   group MyROGroup v2c        readonly
   group MyROGroup usm        readonly
   view all    included  .1                               80
   access MyROGroup ""      any       noauth    exact  all    none   none
   syslocation Location, City, CC
   syscontact Contact Person <user@domain.com>

   # This line allows Observium to detect the host OS if the distro script is installed
   extend . distro /usr/bin/distro

   # This line enables Observium's ifAlias description injection
   pass_persist . /usr/bin/ifAlias_persist