librenms/snmpd.conf.example
James Andrewartha a7437c13da Documentation updates for DMI support and making two links in the FAQ work (#8440)
* Documentation updates for DMI support and making two links in the FAQ work

* Update SNMP-Configuration-Examples.md

* Update SNMP-Configuration-Examples.md

* Update snmpd.conf.example

* Update SNMP-Configuration-Examples.md
2018-05-08 18:35:25 -05:00

17 lines
791 B
Plaintext

# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec readonly default RANDOMSTRINGGOESHERE
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
#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'