2014-10-25 08:44:51 +10:00
|
|
|
# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
|
|
|
|
com2sec readonly default RANDOMSTRINGGOESHERE
|
2009-11-30 16:06:30 +00:00
|
|
|
|
|
|
|
group MyROGroup v2c readonly
|
|
|
|
view all included .1 80
|
|
|
|
access MyROGroup "" any noauth exact all none none
|
|
|
|
|
|
|
|
syslocation Rack, Room, Building, City, Country [GPSX,Y]
|
|
|
|
syscontact Your Name <your@email.address>
|
|
|
|
|
|
|
|
#Distro Detection
|
|
|
|
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
|
2018-05-09 07:35:25 +08:00
|
|
|
#Hardware Detection (uncomment to enable)
|
|
|
|
#extend .1.3.6.1.4.1.2021.7890.2 hardware '/bin/cat /sys/devices/virtual/dmi/id/product_name'
|
|
|
|
#extend .1.3.6.1.4.1.2021.7890.3 manufacturer '/bin/cat /sys/devices/virtual/dmi/id/sys_vendor'
|
|
|
|
#extend .1.3.6.1.4.1.2021.7890.4 serial '/bin/cat /sys/devices/virtual/dmi/id/product_serial'
|