Thanks, that looks to have sorted it. Strange that script has been running for a year and only broke after the last update.
squeezypiano
Posts
-
Script execution error -
Script execution errorHi,
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.
-
Set Web Console server IPI 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.
-
Web console installationThanks so much for the help and guidance, it's much appreciated. All working happily now and my frustration is over

-
Web console installationI 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?
-
Web console installationOh 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.xThe 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.
-
Web console installationAh, 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.
-
Web console installationThanks, 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?

-
Web console installationIs 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 -
Web console installationYes, desktop client is working just fine.
-
Web console installationHi Victor.
Log files attached following a clean install.
Many thanks.
-
Web console installationOK, 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?
-
Web console installationYeah, that would do it. Apologies. All the usual excuses but none of them valid ::)
-
Web console installationI 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"} -
Network map link speed coloursApologies 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.
-
Read text file and count matched itemsGenius! Thank you. Tested that and it all started working. Switched CheckTrustedNodes back to 1 and added Trusted Nodes to the node containing the DCI and that is working now too. It seems slightly strange, however, that to use the -o option to send a value for the node doing the actual sending requires it to list itself in Trusted Nodes.
Thanks again

P -
Read text file and count matched itemsI have spun up another box in case there was a problem with something on it and can now get data from, for example,
nxapush param1=4Still cannot get anything using -o to push on behalf of another node. I can work around this but it would nice if I could work it as it would keep a cleaner config.
Thanks for your help.
-
Read text file and count matched itemsI am using the paramater not description so should be good there. Can you confirm which ID the object ID is, please? Is it the ID of the DCI?
-
Read text file and count matched itemsThanks for replying. I have tried now with -o using DCI ID and node ID but neither is working still.
-
Read text file and count matched itemsHello,
I am having trouble getting the push DCIs to receive values. I followed these steps so far.
- Set your DCI’s origin to Push Agent and configure other properties as usual, excluding polling interval which is meaningless in case of pushed data.
- Create separate user account or pick an existing one and give “Push Data” access right on the DCI owning node to that user.
- Use nxapush utility for pushing data.
I have tried nxapush with and without the user account I created, e.g.:
./nxapush param1=5and
./nxapush -u user -P password param1=5but I do not get any data in NetXMS. I have used tcpdump on the agent and server machines (both Ubuntu) and can see the data bent sent and received by the OS. I have also tried the same commands using nxapush on the NetXMS server too.
If I run nxapush with -vv I get only one line out saying 'Connected to NetXMS agent' and that is all (was expecting a full debug).
I guess I'm missing something but I cannot work out what. Can anyone give me some guidance, please?
Thanks in advance,
P