mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
a3f8dc6499
* Clarify non-x86 hardware info sources for snmpd * Clarify that ARM platforms use device tree, not SMBIOS _(maybe consider a wrapper script for this too?)_ * Non-GPS based systems can also provide lat & lon, such as Galileo or Beidou * Clarify that Distro means Distribution * Update SNMP-Configuration-Examples.md
23 lines
880 B
Plaintext
23 lines
880 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 [Lat, Lon]
|
|
syscontact Your Name <your@email.address>
|
|
|
|
#OS Distribution Detection
|
|
extend distro /usr/bin/distro
|
|
|
|
#Hardware Detection
|
|
# (uncomment for x86 platforms)
|
|
#extend manufacturer '/bin/cat /sys/devices/virtual/dmi/id/sys_vendor'
|
|
#extend hardware '/bin/cat /sys/devices/virtual/dmi/id/product_name'
|
|
#extend serial '/bin/cat /sys/devices/virtual/dmi/id/product_serial'
|
|
|
|
# (uncomment for ARM platforms)
|
|
#extend hardware '/bin/cat /sys/firmware/devicetree/base/model'
|
|
#extend serial '/bin/cat /sys/firmware/devicetree/base/serial-number'
|