Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. [solved] rpi.snm file does not exist in subagent

[solved] rpi.snm file does not exist in subagent

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 29.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    Eisbaeeer
    wrote on last edited by
    #1

    Hi
    I installed the nxagentd from repo. After activating the subagend rpi, I got error message:

    2019.07.04 09:50:00.870 *E* Error loading subagent module "rpi.nsm": /usr/lib/arm-linux-gnueabihf/netxms/rpi.nsm: cannot open shared object file: No such file or directory
    

    Checked the folder of "/usr/lib/arm-linux-gnueabihf/netxms/". There are all subagents, but the rpi subagent is missing.
    Reinstalled the nxagend does not fix the issue.
    Any solution for Raspberry without compile from source?

    cat /proc/version
    Linux version 4.14.79-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1159 SMP Sun Nov 4 17:50:20 GMT 2018
    
    nxagentd -v
    NetXMS Core Agent Version 2.2.8 Build 9514 (2.2.8-32-g4a24d07a2a) (UNICODE)
    

    Sincerly Lars

    1 Reply Last reply
    0
    • E
      E
      Eisbaeeer
      wrote on last edited by
      #2

      Ok,
      compiled nxagend from source. No rpi.nsm on my system.
      What´s wrong?

       locate *.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/dbquery.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/devemu.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/ds18x20.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/ecs.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/filemgr.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/gps.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/linux.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/lmsensors.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/logwatch.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/netsvc.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/ping.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/portcheck.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/sms.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/ssh.nsm
      /usr/lib/arm-linux-gnueabihf/netxms/ups.nsm
      /usr/local/lib/netxms/dbquery.nsm
      /usr/local/lib/netxms/devemu.nsm
      /usr/local/lib/netxms/ds18x20.nsm
      /usr/local/lib/netxms/ecs.nsm
      /usr/local/lib/netxms/filemgr.nsm
      /usr/local/lib/netxms/gps.nsm
      /usr/local/lib/netxms/linux.nsm
      /usr/local/lib/netxms/logwatch.nsm
      /usr/local/lib/netxms/netsvc.nsm
      /usr/local/lib/netxms/ping.nsm
      /usr/local/lib/netxms/portcheck.nsm
      /usr/local/lib/netxms/sms.nsm
      /usr/local/lib/netxms/ups.nsm
      

      Ohhh man. There is a switch " --with-rpi-agent"
      I will try and report....

      Ok, little bit tricky, but it works. This is the way to get running:

      # download the latest version of the library, say bcm2835-1.xx.tar.gz, then:
      sudo tar zxvf bcm2835-1.xx.tar.gz
      cd bcm2835-1.xx
      sudo ./configure
      sudo make
      sudo make check
      sudo make install
      
      # download the latest netxms source
      sudo tar zxvf netxmsxxx
      cd netxm...
      sudo ./configure --with-agent --with-snmp --with-client --with-client-proxy --disable-ssh --disable-mqtt --with-rpi-agent --libdir=/usr/local/lib
      sudo make
      sudo make install
      
      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        Hi,

        please note that RPi subagent has very limited functionality: it provides access to GPIO PINs, supports reading DHT22 sensor connected to GPIO, and provides CPU temperature.

        Best regards,
        Victor

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups