Thanks, that looks to have sorted it. Strange that script has been running for a year and only broke after the last update.
We really need your input in this questionnaire
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu// remove dynamic interfaces on Mikrotik, e.g. VPN users
if ($node->driver == "MIKROTIK")
{
intArray = GetNodeInterfaces($node);
foreach (int : intArray)
{
// if the interface is dynamic
if ((left(int->name, 1) == "<") && (right(int->name, 1) == ">"))
{
// delete the interface
DeleteObject(int);
}
}
}
!MESSAGE Server address resolved from NETXMS_SERVER: x.x.x.x
wget http://packages.netxms.org/netxms-release-latest.deb
dpkg -i netxms-release-latest.deb
apt-get update
apt-get dist-upgrade -y
apt-get install postgresql postgresql-contrib tomcat9 -y
sudo -u postgres psql
CREATE DATABASE netxms;
CREATE ROLE netxms WITH LOGIN;
\password netxms
GRANT ALL PRIVILEGES ON DATABASE netxms TO netxms;
\q
apt-get install netxms-server netxms-dbdrv-pgsql netxms-agent -y
nano /etc/netxmsd.conf <-- uncomment psql and add password
nxdbmgr init
systemctl enable netxmsd
systemctl restart netxmsd
cd /tmp
wget https://www.netxms.org/download/releases/3.5/nxmc-3.5.90.war
mv nxmc-3.5.90.war /var/lib/tomcat9/webapps/nxmc.war
{"description":"NetXMS web service API version 3.5.90","version":"3.5.90","build":"3.5-90-g215397d8e7"}