Hello I solve my problem thanks to one man on root.cz (it is in czech) https://forum.root.cz/index.php?topic=30974.msg429129#msg429129
I had compile this code for RPi5 and OPi5 with success.
English translation of this manual:
To compile on Raspberry Pi, install at least the basics for building. For the rest of the procedure, I assume you are using Debian 12.
Code: [Select]
apt install build-essential autoconf libssl-dev libpcre2-dev libmodbus-dev
Download the netxms source code from the website.
Code: [Select]
https://netxms.com/download/releases/5.2/netxms-5.2.7.tar.gz
Unzip it to /opt/netxms, for example.
Then run configure and make in the directory.
Code: [Select]
./configure --with-libmodbus --with-libssh --with-snmp --with-agent --with-openssl --with-client-proxy --with-static-subagents-list=ssh
make
make install
ldconfig
For systemd, the unit file is available after compilation in /opt/netxms/netxms-5.2.7/contrib/startup/systemd/netxms-server.service, so copy it to /etc/systemd/system
Create a basic configuration file in /etc/nxagentd.conf according to the documentation
Then register the unit, try to start the service, and check it out.
Code: [Select]
systemctl daemon-reload
systemctl start netxms-agent
systemctl status netxms-agent
This is the minimum configuration for the agent; hopefully, it will be sufficient for your purposes.
The agent log is according to the agent configuration, where you will find further operational information if it starts.
LogFile=/var/log/nxagentd
But I have some troubles with ssh connection to node from NetXMS client. Is it due to I am connecting from client without VPN and nodes are in VPN? Support for ssh should be included in the compilation.