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 .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro

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