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. Feature Requests
  3. Agent for Raspberry Pi ( Buster )

Agent for Raspberry Pi ( Buster )

Scheduled Pinned Locked Moved Feature Requests
4 Posts 2 Posters 20.6k 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.
  • C
    C
    curruscanis
    wrote on last edited by
    #1

    It it possible to have an ARMF capable agent install for the raspberry pi 3?

    I am building various systems that use raspberry pi's to interact with physical environments and would like to be able to monitor them.

    I should mention I have attempted to install the deb package that was created a while back but the prerequisites of that install conflict with my modern versions.

    1 Reply Last reply
    0
    • B
      B
      Borgso
      wrote on last edited by
      #2

      Hi.

      While waiting for a maintained RPi packages, im building agent from source on RPi.
      Using something like this to get the latest version built:

      sudo apt-get install -y links libssl-dev build-essential
      MAJOR=$(links -dump "https://www.netxms.org/download/releases/" | egrep "([0-9]+\.[0-9])"  | awk '{print $1}' | cut -d "/" -f1 | tail -n1)
      MINOR=$(links -dump "https://netxms.org/download/releases/$MAJOR" | sed 's/[^0-9.]*\([0-9.]*\).*/\1/' | egrep -v "^$|^\." | sort -t. -k3,3n | tail -n1 | sed 's/\.$//')
      
      echo "Create build folder"
      mkdir ~/NetXMS
      cd ~/NetXMS
      wget --no-check-certificate https://www.netxms.org/download/releases/${MAJOR}/netxms-${MINOR}.tar.gz
      
      echo "Unpack source to clean folder"
      if [ -d netxms-${MINOR} ]; then rm -rf netxms-${MINOR}; fi
      tar -zxvf netxms-${MINOR}.tar.gz
      cd netxms-${MINOR}
      
      ./configure --with-agent --without-curl --disable-ssh --disable-mqtt --prefix=/opt/nxagent
      make
      RETURN_CODE=$?
      
      if [ $RETURN_CODE -gt 0 ]; then
          echo "Something bad happen: $RETURN_CODE"
          exit
      fi
      
      echo "Stop current"
      sudo systemctl stop nxagentd
      
      echo "Make install"
      sudo make install
      RETURN_CODE=$?
      
      if [ $RETURN_CODE -gt 0 ]; then
          echo "Something bad happen: $RETURN_CODE"
          exit
      fi
      
      sudo cp contrib/startup/systemd/nxagentd.service /etc/systemd/system/
      sudo systemctl enable nxagentd
      
      1 Reply Last reply
      0
      • C
        C
        curruscanis
        wrote on last edited by
        #3

        I tried this, and after a bit of messing with it still no luck.  I was able to get through the "sudo make install" but the files under the folder:

        pi@pi4:~/NetXMS/netxms-3.0.2258/contrib/startup/systemd $ ls
        Makefile  Makefile.am  Makefile.in  netxmsd.in  nxagentd.in  README

        do not include the build service file after the make.

        1 Reply Last reply
        0
        • B
          B
          Borgso
          wrote on last edited by
          #4

          Sorry, my bad.
          I forgot "make" part after "./configure" and before "make install"

          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