Add support for gentoo linux package systems.
Yes, thanks! I wanted to see how the version is detected.
Hi,
You mean this:
# /usr/local/bin/distro
Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|
# snmpwalk -v2c -c .... localhost .1.3.6.1.4.1.2021.7890.1
UCD-SNMP-MIB::ucdavis.7890.1.1.0 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.7890.1.2.1.2.6.100.105.115.116.114.111 = STRING: "/usr/local/bin/distro"
UCD-SNMP-MIB::ucdavis.7890.1.2.1.3.6.100.105.115.116.114.111 = ""
UCD-SNMP-MIB::ucdavis.7890.1.2.1.4.6.100.105.115.116.114.111 = ""
UCD-SNMP-MIB::ucdavis.7890.1.2.1.5.6.100.105.115.116.114.111 = INTEGER: 5
UCD-SNMP-MIB::ucdavis.7890.1.2.1.6.6.100.105.115.116.114.111 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.7890.1.2.1.7.6.100.105.115.116.114.111 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.7890.1.2.1.20.6.100.105.115.116.114.111 = INTEGER: 4
UCD-SNMP-MIB::ucdavis.7890.1.2.1.21.6.100.105.115.116.114.111 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.7890.1.3.1.1.6.100.105.115.116.114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
UCD-SNMP-MIB::ucdavis.7890.1.3.1.2.6.100.105.115.116.114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
UCD-SNMP-MIB::ucdavis.7890.1.3.1.3.6.100.105.115.116.114.111 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.7890.1.3.1.4.6.100.105.115.116.114.111 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.7890.1.4.1.2.6.100.105.115.116.114.111.1 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
Added in r13847 and r13848.
Can you show me how distro script detect your system? I mean this script: https://docs.observium.org/distro_script/
I have it in production and at the moment without problem:
This is pretty cool, thanks.
I'll have to try to install a gentoo system to test!
Yes, thanks!
I wanted to see how the version is detected.