I honestly don't know much anything about net-snmp. I don't own any snmp devices to test with, but If you could take the time to look into Net-SNMP Wiki and let me know what config options you need to be able to modify and in what way I could add way to change those option through the addons gui config tab. I didn't have a whole ton of time right now to look into it myself.
SNMPD
-
zorrua -
December 13, 2016 at 1:11 PM -
Thread is Unresolved
-
-
Hello,
Where could we configure the options? I don't care to do it by command line.
The basic settings will be:
- community
- location
- contact
Advanced settings will be SNMP version and user/pass if we select SNMPv3.
Kind regards.
-
Hello,Where could we configure the options? I don't care to do it by command line.
The basic settings will be:
- community
- location
- contact
Advanced settings will be SNMP version and user/pass if we select SNMPv3.
Kind regards.
This is the current config as supplied by the original addon.
snmpd.confThe syslocation and syscontact is obviously the config option you want modifiable when you said location and contact. Could you be more specific what needs to be changed when you say community? Also how are the snmp version options supplied?
I'm writing a script to modify these options from the addons settings, so in other words it will not be command line editing.
if you want to test what I've done so far
service.net-snmp-8.1.101~beta1.zip
this will only run on a generic x86_64 build -
This is the current config as supplied by the original addon.
snmpd.confThe syslocation and syscontact is obviously the config option you want modifiable when you said location and contact. Could you be more specific what needs to be changed when you say community? Also how are the snmp version options supplied?
I'm writing a script to modify these options from the addons settings, so in other words it will not be command line editing.
if you want to test what I've done so far
service.net-snmp-8.1.101~beta1.zip
this will only run on a generic x86_64 build
the community option currently does nothing
Great!In the configuration the community is set to "libreelec", it is well this way. And the SNMP verdion is set to version 2c.
It will be OK to add settings for location and contact.
I will try your build later.
Regards.
-
Great!In the configuration the community is set to "libreelec", it is well this way. And the SNMP verdion is set to version 2c.
It will be OK to add settings for location and contact.
I will try your build later.
Regards.
Did you get a chance to look at it? I took a look at the man pages for the config and v3 is configured very different then v1 and v2c. If you guys want a working addon then please supply me with the specifics for the config and do some testing. This addon is of zero use to me so if it's not useful to anyone else then I'm completely wasting my time.
Here is the most current version to be tested.
service.net-snmp-8.1.101~beta4.zip
It's limited to adding only 1 user which is rw and md5 des on v3
the actual config file I need feedback on is stored here
/storage/.kodi/userdata/addon_data/service.net-snmp/share/snmpd/snmpd.conf
I don't expect v3 authentication is currently working the way I wrote the gui configs. Need to know what needs to change in order to have a working config.
Thanks -
Did you get a chance to look at it? I took a look at the man pages for the config and v3 is configured very different then v1 and v2c. If you guys want a working addon then please supply me with the specifics for the config and do some testing. This addon is of zero use to me so if it's not useful to anyone else then I'm completely wasting my time.
Here is the most current version to be tested.
service.net-snmp-8.1.101~beta4.zip
It's limited to adding only 1 user which is rw and md5 des on v3
the actual config file I need feedback on is stored here
/storage/.kodi/userdata/addon_data/service.net-snmp/share/snmpd/snmpd.conf
I don't expect v3 authentication is currently working the way I wrote the gui configs. Need to know what needs to change in order to have a working config.
ThanksGreat!
I test it and it works:
Code
Display More# snmpwalk -v2c -c libreelec tacens1 iso.3.6.1.2.1.1.1.0 = STRING: "Linux tacens1 4.9.13 #1 SMP Wed Mar 22 17:35:19 GMT 2017 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6.1.2.1.1.3.0 = Timeticks: (52188) 0:08:41.88 iso.3.6.1.2.1.1.4.0 = STRING: "root@localhost" iso.3.6.1.2.1.1.5.0 = STRING: "tacens1" iso.3.6.1.2.1.1.6.0 = STRING: "HOME" iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.1 iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.16.2.2.1 iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.11.3.1.1 iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.15.2.1.1 iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.10.3.1.1 iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The MIB module for SNMPv2 entities" iso.3.6.1.2.1.1.9.1.3.2 = STRING: "View-based Access Control Model for SNMP." iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The MIB for Message Processing and Dispatching." iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The management information definitions for the SNMP User-based Security Model." iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The SNMP Management Architecture MIB." iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.11.1.0 = Counter32: 157 iso.3.6.1.2.1.11.2.0 = Counter32: 153 iso.3.6.1.2.1.11.3.0 = Counter32: 0 iso.3.6.1.2.1.11.4.0 = Counter32: 4 iso.3.6.1.2.1.11.5.0 = Counter32: 0 iso.3.6.1.2.1.11.6.0 = Counter32: 0 iso.3.6.1.2.1.11.8.0 = Counter32: 0 iso.3.6.1.2.1.11.9.0 = Counter32: 0 iso.3.6.1.2.1.11.10.0 = Counter32: 0 iso.3.6.1.2.1.11.11.0 = Counter32: 0 iso.3.6.1.2.1.11.12.0 = Counter32: 0 iso.3.6.1.2.1.11.13.0 = Counter32: 429 iso.3.6.1.2.1.11.14.0 = Counter32: 0 iso.3.6.1.2.1.11.15.0 = Counter32: 63 iso.3.6.1.2.1.11.16.0 = Counter32: 90 iso.3.6.1.2.1.11.17.0 = Counter32: 0 iso.3.6.1.2.1.11.18.0 = Counter32: 0 iso.3.6.1.2.1.11.19.0 = Counter32: 0 iso.3.6.1.2.1.11.20.0 = Counter32: 0 iso.3.6.1.2.1.11.21.0 = Counter32: 0 iso.3.6.1.2.1.11.22.0 = Counter32: 0 iso.3.6.1.2.1.11.24.0 = Counter32: 0 iso.3.6.1.2.1.11.25.0 = Counter32: 0 iso.3.6.1.2.1.11.26.0 = Counter32: 0 iso.3.6.1.2.1.11.27.0 = Counter32: 0 iso.3.6.1.2.1.11.28.0 = Counter32: 177 iso.3.6.1.2.1.11.29.0 = Counter32: 0 iso.3.6.1.2.1.11.30.0 = INTEGER: 2 iso.3.6.1.2.1.11.31.0 = Counter32: 0 iso.3.6.1.2.1.11.32.0 = Counter32: 0
Could you build the addon to other architectures? Amlogic?
Best regards.
-
Great!
I test it and it works:
Code
Display More# snmpwalk -v2c -c libreelec tacens1 iso.3.6.1.2.1.1.1.0 = STRING: "Linux tacens1 4.9.13 #1 SMP Wed Mar 22 17:35:19 GMT 2017 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6.1.2.1.1.3.0 = Timeticks: (52188) 0:08:41.88 iso.3.6.1.2.1.1.4.0 = STRING: "root@localhost" iso.3.6.1.2.1.1.5.0 = STRING: "tacens1" iso.3.6.1.2.1.1.6.0 = STRING: "HOME" iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.1 iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.16.2.2.1 iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.11.3.1.1 iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.15.2.1.1 iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.10.3.1.1 iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The MIB module for SNMPv2 entities" iso.3.6.1.2.1.1.9.1.3.2 = STRING: "View-based Access Control Model for SNMP." iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The MIB for Message Processing and Dispatching." iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The management information definitions for the SNMP User-based Security Model." iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The SNMP Management Architecture MIB." iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.11.1.0 = Counter32: 157 iso.3.6.1.2.1.11.2.0 = Counter32: 153 iso.3.6.1.2.1.11.3.0 = Counter32: 0 iso.3.6.1.2.1.11.4.0 = Counter32: 4 iso.3.6.1.2.1.11.5.0 = Counter32: 0 iso.3.6.1.2.1.11.6.0 = Counter32: 0 iso.3.6.1.2.1.11.8.0 = Counter32: 0 iso.3.6.1.2.1.11.9.0 = Counter32: 0 iso.3.6.1.2.1.11.10.0 = Counter32: 0 iso.3.6.1.2.1.11.11.0 = Counter32: 0 iso.3.6.1.2.1.11.12.0 = Counter32: 0 iso.3.6.1.2.1.11.13.0 = Counter32: 429 iso.3.6.1.2.1.11.14.0 = Counter32: 0 iso.3.6.1.2.1.11.15.0 = Counter32: 63 iso.3.6.1.2.1.11.16.0 = Counter32: 90 iso.3.6.1.2.1.11.17.0 = Counter32: 0 iso.3.6.1.2.1.11.18.0 = Counter32: 0 iso.3.6.1.2.1.11.19.0 = Counter32: 0 iso.3.6.1.2.1.11.20.0 = Counter32: 0 iso.3.6.1.2.1.11.21.0 = Counter32: 0 iso.3.6.1.2.1.11.22.0 = Counter32: 0 iso.3.6.1.2.1.11.24.0 = Counter32: 0 iso.3.6.1.2.1.11.25.0 = Counter32: 0 iso.3.6.1.2.1.11.26.0 = Counter32: 0 iso.3.6.1.2.1.11.27.0 = Counter32: 0 iso.3.6.1.2.1.11.28.0 = Counter32: 177 iso.3.6.1.2.1.11.29.0 = Counter32: 0 iso.3.6.1.2.1.11.30.0 = INTEGER: 2 iso.3.6.1.2.1.11.31.0 = Counter32: 0 iso.3.6.1.2.1.11.32.0 = Counter32: 0
Could you build the addon to other architectures? Amlogic?
Best regards.
Did you test v3 or authentication?
-
Did you test v3 or authentication?
Hello,No, I just add it to Cacti, tomorrow I will have some graphic from CPU and memory.
I will update the test.
Regards.
-
Hello, it works all versions!:
- v1
- v2c
- v3 with user/pass
Here is a Cacti load graph:
Thanks for your work!
Kind regards.
-
That's surprising but good news. I'll push my changes to libreelec now so it should show up in the addon repo soon.
net-snmp: make addon configurable through gui settings by lsellens · Pull Request #1499 · LibreELEC/LibreELEC.tv · GitHub -
If you need lm_sensors for monitoring temp with snmp it's already part of the system-tools addon in the programs section of the libreelec repo.
-
If you need lm_sensors for monitoring temp with snmp it's already part of the system-tools addon in the programs section of the libreelec repo.
Great!I will try it.
Best regards.
-
Hello,
I installed it, and I have CPU temp:
Code# sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +60.0 C (crit = +125.0 C) Core 1: +61.0 C (crit = +125.0 C)
But it is not integrate with SNMPD, there is no temp info in the snmpwalk:
Code
Display More# snmpwalk -v2c -c libreelec tacens1 iso.3.6.1.2.1.1.1.0 = STRING: "Linux tacens1 4.9.13 #1 SMP Wed Mar 22 17:35:19 GMT 2017 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6.1.2.1.1.3.0 = Timeticks: (75813) 0:12:38.13 iso.3.6.1.2.1.1.4.0 = STRING: "root@localhost" iso.3.6.1.2.1.1.5.0 = STRING: "tacens1" iso.3.6.1.2.1.1.6.0 = STRING: "HOME" iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.1 iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.16.2.2.1 iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.11.3.1.1 iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.15.2.1.1 iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.10.3.1.1 iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The MIB module for SNMPv2 entities" iso.3.6.1.2.1.1.9.1.3.2 = STRING: "View-based Access Control Model for SNMP." iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The MIB for Message Processing and Dispatching." iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The management information definitions for the SNMP User-based Security Model." iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The SNMP Management Architecture MIB." iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.11.1.0 = Counter32: 114 iso.3.6.1.2.1.11.2.0 = Counter32: 106 iso.3.6.1.2.1.11.3.0 = Counter32: 0 iso.3.6.1.2.1.11.4.0 = Counter32: 8 iso.3.6.1.2.1.11.5.0 = Counter32: 0 iso.3.6.1.2.1.11.6.0 = Counter32: 0 iso.3.6.1.2.1.11.8.0 = Counter32: 0 iso.3.6.1.2.1.11.9.0 = Counter32: 0 iso.3.6.1.2.1.11.10.0 = Counter32: 0 iso.3.6.1.2.1.11.11.0 = Counter32: 0 iso.3.6.1.2.1.11.12.0 = Counter32: 0 iso.3.6.1.2.1.11.13.0 = Counter32: 439 iso.3.6.1.2.1.11.14.0 = Counter32: 0 iso.3.6.1.2.1.11.15.0 = Counter32: 66 iso.3.6.1.2.1.11.16.0 = Counter32: 37 iso.3.6.1.2.1.11.17.0 = Counter32: 0 iso.3.6.1.2.1.11.18.0 = Counter32: 0 iso.3.6.1.2.1.11.19.0 = Counter32: 0 iso.3.6.1.2.1.11.20.0 = Counter32: 0 iso.3.6.1.2.1.11.21.0 = Counter32: 0 iso.3.6.1.2.1.11.22.0 = Counter32: 0 iso.3.6.1.2.1.11.24.0 = Counter32: 0 iso.3.6.1.2.1.11.25.0 = Counter32: 0 iso.3.6.1.2.1.11.26.0 = Counter32: 0 iso.3.6.1.2.1.11.27.0 = Counter32: 0 iso.3.6.1.2.1.11.28.0 = Counter32: 130 iso.3.6.1.2.1.11.29.0 = Counter32: 0 iso.3.6.1.2.1.11.30.0 = INTEGER: 2 iso.3.6.1.2.1.11.31.0 = Counter32: 0 iso.3.6.1.2.1.11.32.0 = Counter32: 0
I will investigate it.
Regards.
-
Hello,I installed it, and I have CPU temp:
Code# sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +60.0 C (crit = +125.0 C) Core 1: +61.0 C (crit = +125.0 C)
But it is not integrate with SNMPD, there is no temp info in the snmpwalk:
Code
Display More# snmpwalk -v2c -c libreelec tacens1 iso.3.6.1.2.1.1.1.0 = STRING: "Linux tacens1 4.9.13 #1 SMP Wed Mar 22 17:35:19 GMT 2017 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6.1.2.1.1.3.0 = Timeticks: (75813) 0:12:38.13 iso.3.6.1.2.1.1.4.0 = STRING: "root@localhost" iso.3.6.1.2.1.1.5.0 = STRING: "tacens1" iso.3.6.1.2.1.1.6.0 = STRING: "HOME" iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.1 iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.16.2.2.1 iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.11.3.1.1 iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.15.2.1.1 iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.10.3.1.1 iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The MIB module for SNMPv2 entities" iso.3.6.1.2.1.1.9.1.3.2 = STRING: "View-based Access Control Model for SNMP." iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The MIB for Message Processing and Dispatching." iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The management information definitions for the SNMP User-based Security Model." iso.3.6.1.2.1.1.9.1.3.5 = STRING: "The SNMP Management Architecture MIB." iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00 iso.3.6.1.2.1.11.1.0 = Counter32: 114 iso.3.6.1.2.1.11.2.0 = Counter32: 106 iso.3.6.1.2.1.11.3.0 = Counter32: 0 iso.3.6.1.2.1.11.4.0 = Counter32: 8 iso.3.6.1.2.1.11.5.0 = Counter32: 0 iso.3.6.1.2.1.11.6.0 = Counter32: 0 iso.3.6.1.2.1.11.8.0 = Counter32: 0 iso.3.6.1.2.1.11.9.0 = Counter32: 0 iso.3.6.1.2.1.11.10.0 = Counter32: 0 iso.3.6.1.2.1.11.11.0 = Counter32: 0 iso.3.6.1.2.1.11.12.0 = Counter32: 0 iso.3.6.1.2.1.11.13.0 = Counter32: 439 iso.3.6.1.2.1.11.14.0 = Counter32: 0 iso.3.6.1.2.1.11.15.0 = Counter32: 66 iso.3.6.1.2.1.11.16.0 = Counter32: 37 iso.3.6.1.2.1.11.17.0 = Counter32: 0 iso.3.6.1.2.1.11.18.0 = Counter32: 0 iso.3.6.1.2.1.11.19.0 = Counter32: 0 iso.3.6.1.2.1.11.20.0 = Counter32: 0 iso.3.6.1.2.1.11.21.0 = Counter32: 0 iso.3.6.1.2.1.11.22.0 = Counter32: 0 iso.3.6.1.2.1.11.24.0 = Counter32: 0 iso.3.6.1.2.1.11.25.0 = Counter32: 0 iso.3.6.1.2.1.11.26.0 = Counter32: 0 iso.3.6.1.2.1.11.27.0 = Counter32: 0 iso.3.6.1.2.1.11.28.0 = Counter32: 130 iso.3.6.1.2.1.11.29.0 = Counter32: 0 iso.3.6.1.2.1.11.30.0 = INTEGER: 2 iso.3.6.1.2.1.11.31.0 = Counter32: 0 iso.3.6.1.2.1.11.32.0 = Counter32: 0
I will investigate it.
Regards.
A lot of the scripts that tie it to other services are written in perl. Unfortunately Libreleec doesn't have perl so you might be out of luck, but check the snmp wiki to make sure before giving up. If perl isn't required let me know and I'll try to look into it.
-
snmp is working, installed today the addon, but it gives me totally no valueable information (yet)
no eth0, no memory, no disk .. so it seems some basic features are not enabled or not available (dunno why yet)for temperature and other stuff the basic /opt/vc/bin/vcgencmd measure_temp commands could be used
see also here
Monitoring with the Raspberry PiI tried to use the pass function with the snmpwalk on my observium instance but no further info was passed to snmpwalk
unfortunately the addon also does not have snmpget to see if things could work fine.
if there is any progress I would like to test
also it seems that some mibs you want to use (CPU, Memory etc) are missing from the configured folder
net-snmp-config --default-mibdirs
/storage/.snmp/mibs:/storage/.kodi/userdata/addon_data/service.net-snmp/share/snmp/mibsthere is no ../share/snmp/mibs folder
-
Hi guys,
Did someone find out how to get: cpu, memory, disk, load, interface traffic info ?
I installed the net-snmp package on a linux machine running CentOS with the same default config:
Codecom2sec local default libreelec group localgroup v2c local access localgroup "" any noauth exact all all none view all included .1 80 syslocation HOME syscontact root@localhost dontLogTCPWrappersConnects yes
And I get a bunch of information like 3000 lines including cpu, memory, disk, it looks like the config options are ok
With LibreELEC I have about 52 lines whit the same command:
Code
Display Moresnmpwalk -v2c -c libreelec libreelec_server SNMPv2-MIB::sysDescr.0 = STRING: Linux LibreELEC 4.9.29 #1 SMP Thu May 25 03:05:36 BST 2017 x86_64 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (7223) 0:01:12.23 SNMPv2-MIB::sysContact.0 = STRING: root@localhost SNMPv2-MIB::sysName.0 = STRING: LibreELEC SNMPv2-MIB::sysLocation.0 = STRING: HOME SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.3 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.4 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORID.5 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.3 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.4 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORDescr.5 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpInPkts.0 = Counter32: 23 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 23 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 33 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 37 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 47 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 0 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2) SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0 SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
Maybe some of the files in /mibs needs to be adapted to libreelec to get the data ?
/storage/.kodi/addons/service.net-snmp/share/snmp/mibs
AGENTX-MIB.txt RFC1155-SMI.txt
BRIDGE-MIB.txt RFC1213-MIB.txt
DISMAN-EVENT-MIB.txt RMON-MIB.txt
DISMAN-SCHEDULE-MIB.txt SCTP-MIB.txt
...
Thanks!
-
I'm running into the same issue with no MIBs showing up on my RPi 2.
Comparing the build scripts used by LibreELEC and build script used by my Gentoo system, it doesn't appear that any mibs are actually being enabled during the configuration phase. The gentoo ebuild includes the following line when calling ./configure: --with-mib-modules="host ucd-snmp/dlmod ucd-snmp/diskio ucd-snmp/extensible mibII/mta_sendmail etherlike-mib/dot3StatsTable ucd-snmp/lmsensorsMib"
-
I'm running into the same issue with no MIBs showing up on my RPi 2.
Comparing the build scripts used by LibreELEC and build script used by my Gentoo system, it doesn't appear that any mibs are actually being enabled during the configuration phase. The gentoo ebuild includes the following line when calling ./configure: --with-mib-modules="host ucd-snmp/dlmod ucd-snmp/diskio ucd-snmp/extensible mibII/mta_sendmail etherlike-mib/dot3StatsTable ucd-snmp/lmsensorsMib"
Great!
Could we add a change in github?
Kind regards.
-