Hi all,
I am up and running and trying to add some Ubuntu 18.04 servers to be monitored. I’m seeing data, but I’m not sure if my config file is properly set up. For example, the Distro Detection section:
#Distro Detection
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
Doesn’t work, since there’s no /usr/bin/distro on Ubuntu. I wonder if there are other items that are not effective, or if I am missing something. Can anyone suggest any tips or maybe a config file that works well with Ubuntu?
Thanks
Here’s my config file, found on a tutorial site:
# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec readonly default [my random string here]
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 <[email protected]>
#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'