When NetXMS 3.0 coming out Raspberry Pi?

Started by nsc-mario, November 22, 2019, 02:10:30 AM

Previous topic - Next topic

nsc-mario

At the moment i can only install NetXMS 2.2.8 for Raspberry Pi. I haven't found version 3.0 anywhere for the Raspberry Pi.

There is also another issue with 2.2.8. If I want to use NetXMS Console 2.2.8 on MacOS, I get an error message that the log file indicates a Java problem, I currently have Java 8 Update 231 but tried Java 8 Update 151 but NetXMS Console couldn't work.

Victor Kirhenshtein

Hi,

I definitely recommend to upgrade your server and UI to 3.0. It will work with 2.2.8 agents on Raspberry. We have build environment for RPi mostly ready, I think RPi agent will be published as part of next release.

Best regards,
Victor

nsc-mario

My NetXMS installed now Raspberry Pi 3b+. If new server version coming up on Raspberry Pi, i installed that :) Thank you :)

Filipp Sudanov

Hi!

Do I understand correctly, that you are running NetXMS server on raspberry Pi? A few questions on that matter, would be good if you can provide some info.
How reliable that works? Do you monitor many devices? What database are you using? Is the database working in raspbery Pi? Is raspberry running from SD card or it has SSD connected?

Currently the only way to get netxms on raspberry is to compile yourself. Below is instruction I used to compile netxms agent, to compile the server you need to modify ./configure command.

apt update
apt install automake libssl-dev libcurl4-openssl-dev libssh-dev libmosquitto-dev libpcre3-dev postgresql-client libpq-dev unixodbc-dev

PCRE:
wget https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz
tar zxvf pcre-8.43.tar.gz pcre-8.43/
cd pcre-8.43/
./configure --prefix=/opt/pcre --enable-pcre32 --disable-cpp --enable-utf --disable-stack-for-recursion --enable-unicode-properties --disable-dependency-tracking
make
make install

OpenSSL:
wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz
tar zxvf openssl-1.1.1d.tar.gz
cd openssl-1.1.1d
./config --prefix=/opt/openssl no-comp threads
make
make install

bcm2835 which is needed for --with-rpi-agent
apt-get install html-xml-utils
mkdir -p bcm2835 && (wget -qO - `curl -sL http://www.airspayce.com/mikem/bcm2835 | hxnormalize -x -e | hxselect -s '\n' -c "div.textblock>p:nth-child(4)>a:nth-child(1)"` | tar xz --strip-components=1 -C bcm2835 )
cd bcm2835
./configure
make
make install

NetXMS Agent:
./configure --prefix=/opt/netxms --with-agent --with-internal-libexpat --with-internal-sqlite --with-internal-zlib --with-internal-libjansson --with-mariadb --with-odbc --with-pgsql --with-sqlite --with-openssl=/opt/openssl --with-pcre=/opt/pcre --with-rpi-agent
make
make install

jdowney

I've followed the steps below.

My query is regarding the last step which package should be used to install the agent once the other steps have been followed. Currently running agent 2.2.8 on Raspberry Pi. Ideally would like to run v3.

Filipp Sudanov

3.1 packags for raspbian buster have been released. Installation by installing https://packages.netxms.org/netxms-release-latest.deb in not working yet, so it's necessary to manually add
deb http://packages.netxms.org/raspbian/ buster main
into sources.list