forked from librenms/librenms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify non-x86 hardware info sources for snmpd (librenms#12253)
* 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
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,18 @@ 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] | ||
syslocation Rack, Room, Building, City, Country [Lat, Lon] | ||
syscontact Your Name <[email protected]> | ||
|
||
#Distro Detection | ||
#OS Distribution Detection | ||
extend distro /usr/bin/distro | ||
#Hardware Detection (uncomment to enable) | ||
#extend hardware '/bin/cat /sys/devices/virtual/dmi/id/product_name' | ||
|
||
#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' |