SNMPD

  • Hi Guys,

    After searching many thing , I finally have a fully fonctionnal snmp on my wetek-play 2

    first updating config.sub in net-snmp source , then the most important part

    1- Don't enable mini agent !!!

    LibreELEC.tv/package.mk at master · LibreELEC/LibreELEC.tv · GitHub

    line 46.

    Because mini agent is just useless

    Code
    'The "mini-agent" is effectively the standard agent, but with almost
    none of the MIB modules included. (Just those "essential" for the
    operation of the agent).

    system mibs was not present , for exemple , snmpwalk with mini agent : 135 lines , without : 3000+

    2- compile statically because libsnmpagent don't link as a separate .so file

    I can submit a pull request if needed !

  • A pull request would be most welcome! I haven't had the time to set up a dev environment for my RPi to even dig into this.

    Thank you very much for finding what was needed to fix this!

  • I can compile it for you if you want to test before the pull request ( I can only test on wetek play2)

    What the PROJECT and ARCH for your material ?

    Code
    PROJECT=RPi2 ARCH=arm

    ?

  • Hello , this was discuss in the PR , and this morning , I 've tried build le 5-7-patches branch.

    That was unsuccessful , compilation stop with and error.

    So this branch don't compile :/

  • The net-snmpd addon builds without error for me - I'm building tip of LE master (currently: cf3baeb33c1cf91f19a9c8202e4658faa3671c49).

    Post your build error, as that would be useful.

  • Hi !

    I have change PKG_URL with that : V5-7-patches.tar.gz

    And it ends with that :

    Nevermind , it's just a test with recent patch , but actual 5.7.3 compile and work fine !