SNMPD

  • I've posted the link to our internal dev team channel for add-ons but I'm not sure you'll get willing volunteers there. Normally the people that might care about SNMP support on a Kodi media box are also the type to roll up their sleeves and use their Linux skills to update things for LE (as that git repo hasn't been touched for a couple of years and things probably need revising). If someone does the work and would like to sustain the add-on in the long-term it can be PR'd to our git repo.

  • Hello,

    I installed the addon, but it doesn't start as a service:

    Code
    # snmpd.start 
    /storage/.kodi/addons/service.net-snmp/bin/snmpd: error while loading shared libraries: libnetsnmpagent.so.30: cannot open shared object file: No such file or directory

    Need I configure something?

    Thanks and regards.

  • Hello,

    On wetek play 2 ( aarch64) this addon miss two .so file

    libnetsnmpmibs.so and libnetsnmpagent.so

    Log during compilation

    Code
    ...
    libtool:   error: error: relink 'libnetsnmpmibs.la' with the above command before installing it
    ...
    libtool:   error: error: relink 'libnetsnmpagent.la' with the above command before installing it
    ...

  • Hello,

    I installed the addon, but it doesn't start as a service:

    Code
    # snmpd.start 
    /storage/.kodi/addons/service.net-snmp/bin/snmpd: error while loading shared libraries: libnetsnmpagent.so.30: cannot open shared object file: No such file or directory

    Need I configure something?

    Thanks and regards.

    I only tested that the service loaded on a generic x86_64 build. What build are you running and did you compile this yourself from source?
    [hr]


    Hello,

    On wetek play 2 ( aarch64) this addon miss two .so file

    libnetsnmpmibs.so and libnetsnmpagent.so

    Log during compilation

    Code
    ...
    libtool:   error: error: relink 'libnetsnmpmibs.la' with the above command before installing it
    ...
    libtool:   error: error: relink 'libnetsnmpagent.la' with the above command before installing it
    ...

    Where did you get the addon you ran? Did you compile from source? I don't think they built one for the wetek but should probably compile and run but I never tested it.

    Edited once, last by lsellens (March 23, 2017 at 7:09 PM).

  • Hello all,

    So I have net-snmp working, but have been trying to figure out how to get more information out of the system. The default config:

    com2sec public default public
    group localgroup v2c public
    group localgroup v1 public
    access localgroup "" any noauth exact all all none
    view all included .1 80
    syslocation HOME
    syscontact root@openelec
    dontLogTCPWrappersConnects yes

    only provides the below when checked via SNMPWALK, which only really offers uptime. I'd like to poll memory, disk, cpu, traffic.

    iso.3.6.1.2.1.1.1.0 = STRING: "Linux le-lr 4.9.8 #1 SMP Sat Feb 18 05:05:56 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: (8647) 0:01:26.47
    iso.3.6.1.2.1.1.4.0 = STRING: "root@openelec"
    iso.3.6.1.2.1.1.5.0 = STRING: "le-lr"
    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: 186
    iso.3.6.1.2.1.11.2.0 = Counter32: 186
    iso.3.6.1.2.1.11.3.0 = Counter32: 0
    iso.3.6.1.2.1.11.4.0 = Counter32: 0
    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: 196
    iso.3.6.1.2.1.11.14.0 = Counter32: 0
    iso.3.6.1.2.1.11.15.0 = Counter32: 4
    iso.3.6.1.2.1.11.16.0 = Counter32: 196
    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: 210
    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

    Does the configuration need a change or does something else need to happen?

    Edited once, last by mweinmann (March 26, 2017 at 4:58 PM).