Setting up NetXMS

tested on focal

Server install

wget http://packages.netxms.org/netxms-release-latest.deb
dpkg -i netxms-release-latest.deb
apt-get update

apt install netxms-server netxms-dbdrv-mariadb

assuming mariadb is up and running

mysql -u root

    show databases;
CREATE DATABASE netxms;
CREATE USER 'netxms'@'localhost' IDENTIFIED BY 'PASSWORD-HERE';
GRANT ALL on netxms.* to 'netxms'@'localhost';

cp -pi /etc/netxmsd.conf /etc/netxmsd.conf.dist
vi /etc/netxmsd.conf

DBDriver = mariadb.ddr
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = PASSWORD-HERE

nxdbmgr init

systemctl status netxmsd
systemctl start netxmsd
systemctl enable netxmsd

# alias
#systemctl status netxms-server
#systemctl start netxms-server
#systemctl enable netxms-server

Agent setup

no need for the agent on the server itself

see agent setup

Management console

assuming you’ve enabled Java SE 16 on your system

grab the latest

as user

wget https://www.netxms.org/download/releases/3.8/nxmc-3.8.314-linux-gtk-x64.tar.gz
tar xzf nxmc-3.8.314-linux-gtk-x64.tar.gz
cd nxmc/
./nxmc

# credentials
admin / netxms

Ready to go

status

pgrep -a netxms
tail /var/log/netxmsd
netstat -lntup | grep netxms

Maintenance

tail -F var/log/netxmsd

Resources

Installing from deb repository https://www.netxms.org/documentation/adminguide/installation.html#installing-from-deb-repository


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun