News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

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

Messages - squeezypiano

#1
General Support / Re: Script execution error
May 24, 2021, 10:39:04 AM
Thanks, that looks to have sorted it. Strange that script has been running for a year and only broke after the last update.
#2
General Support / Script execution error
May 20, 2021, 01:51:41 PM
Hi,

I have a script execution error since upgrading to 3.8-366.  Is it a problem with the script?

Script (Hook::ConfigurationPoll) execution error: Error 14 in line 2: Function or operation argument is not an object

// 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);
    }
  }
}


Thanks in advance.
#3
General Support / Re: Set Web Console server IP
March 02, 2021, 11:47:57 AM
I had the same a few months ago and found it easiest to add a hosts file entry for NETXMS_SERVER on the host running the Web GUI.
#4
General Support / Re: Web console installation
October 03, 2020, 05:00:48 PM
Thanks so much for the help and guidance, it's much appreciated.  All working happily now and my frustration is over :)
#5
General Support / Re: Web console installation
October 02, 2020, 07:59:22 PM
I definitely do not have an entry anywhere but by adding it I can now log in to the WebUI.  So does it not attempt local before checking for NETXMS_SERVER or should there always be an entry for NETXMS_SERVER?
#6
General Support / Re: Web console installation
October 02, 2020, 06:13:27 PM
Oh now that's interesting.  Hadn't found that log file but in there it has:

!MESSAGE Server address resolved from NETXMS_SERVER: x.x.x.x

The address being returned is not the address of itself but for the @ record for the machine's domain, which in this case is a public address.  What is it trying to resolve to get that?  As far as I can tell /etc/hosts and DNS are set up correctly.
#7
General Support / Re: Web console installation
October 02, 2020, 03:17:56 PM
Ah, yes, OK.  So HTTP loads but gives the connect error when I try to log in.  The server is running and I can connect from the desktop console just not the WebUI.
#8
General Support / Re: Web console installation
October 02, 2020, 03:14:37 PM
Thanks, but I don't think I have SSL enabled and the page loads fine just will not connect to the service.  When I try to log in I get 'Connection error, connected timed out'.  Does it need SSL enabling?
#9
General Support / Re: Web console installation
October 01, 2020, 11:09:08 PM
Is anyone able to help, please?  Still cannot get it working.  Here is what I did on Ubuntu 20.04 to install...

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
#10
General Support / Re: Web console installation
September 22, 2020, 12:03:24 PM
Yes, desktop client is working just fine.
#11
General Support / Re: Web console installation
September 21, 2020, 11:01:57 AM
Hi Victor.
Log files attached following a clean install.
Many thanks.
#12
General Support / Re: Web console installation
September 16, 2020, 04:55:15 PM
OK, so now I can get the page to load but it will not log in.  System is Ubuntu 20.04 (also tried on 18.04) and tried with native JDK, openjdk-8-jdk on both jetty9 and tomcat9 but all combinations it fails with 'connect timed out'.  Server is running and can connect from desktop console and WebUI is installed on the same machine as the server with firewall disabled.  What am I missing?
#13
General Support / Re: Web console installation
September 16, 2020, 02:10:07 PM
Yeah, that would do it.  Apologies.  All the usual excuses but none of them valid  ::)
#14
General Support / Web console installation
September 16, 2020, 12:16:20 PM
I am trying to run the latest (3.5.90) WebApp on Ubuntu 20.04 with Jetty but get this when I browse to the URL.  Have tried different versions of Java and also tried Tomcat as well.  What have I missed?  Thanks.

{"description":"NetXMS web service API version 3.5.90","version":"3.5.90","build":"3.5-90-g215397d8e7"}
#15
General Support / Network map link speed colours
January 25, 2017, 12:51:26 PM
Apologies if this has been covered before but I am not managing to find the details.

I am looking to colour the links on a network map based on the throughput as a percentage of the link speed.  Is this possible and, if so, how do I do it?

Many thanks.