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 - Filipp Sudanov

#1291
Ну да, если нода не смогла ответить по конкретному SNMP OIDу, то в model получалось null.
Там просто проверку можно добавить, аналогично как проверялось что SNMP транспорт создался:
if (model == null)...
#1292
Does it happen that there are no historical data for all DCIs in system, or just for some DCIs?
#1293
А как именно ругается? может быть SNMPGetValue не срабатывает и model получается NULL ?
#1294
Yes, in case of tunnel NetXMS does not store the IP address. The thing is that IP address from which the tunnel connection arrives is not necessary the IP of the node - it can be a NAT, etc. And if we take list of interfaces for a node - the could be several interfaces and we don't know which one is primary.

You could get list of interfaces via NXSL script - the script should filter out loopback interface and if there are several interfaces - select one of them. There is currently no hook script on tunnel connection, you can run your script from configuration poll hook.

Here's an example script that prints list of interfaces:
for(i : $node->interfaces)
{
  println i->name;
  for(a : i->ipAddressList)
    println "   " . a->address . "/" . a->mask;
}


Also, there's a system event SYS_TUNNEL_OPEN - this event occurs when the tunnel is established, in the context of that node. So you can create a rule in EPP and run some script from there.

It's not possible to update node's IP address from script, but you can create a cusome attribute on node and keep IP address there.
#1295
General Support / Re: Event Processing Policy Events
August 07, 2020, 10:27:34 AM
As an option you could look into script thresholds - this way you could check all you need with a help of NXSL script and generate event only when there is a problem.
#1296
What's the operating system where the client is running? What's client version? Is it downloaded from netxms web site?
For testing - may be you could try the client on another machine, preferrably on a different OS.
#1297
As an experiment - can you try to a different configure command:

./configure prefix=/opt/netxms-master --with-server --with-mariadb --with-mariadb-compat-headers --with-agent
#1298
How did you compile netxms - can you show config.log file? Can you show the output of yum list installed
#1299
General Support / Re: Network map - L2 layout changes
August 05, 2020, 01:13:33 PM
To search by ID you can use filter in object tree and type object id prepended by #, e.g. #258
#1300
General Support / Re: Building NetXMS Console
August 04, 2020, 04:18:21 PM
There should be no difference in maven or java vs openjdk.
#1301
Also - 3.4.284 is now available, it has a fix for one error that was also related to not displaying historic data, could be that it's the same error here. Please try this new version.
#1302
General Support / Re: Building NetXMS Console
August 03, 2020, 12:40:09 PM
Hi!

Management console build is currently done using maven. Eclipse is used for running console during development, but not for preparing builds.
The following commands should be run in project's folder to build desktop version:

export PATH=/opt/apache-maven-3.6.2/bin:$PATH

jenv local 11.0                                                                             

mvn -f src/java/netxms-eclipse/pom.xml -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:update-pom -Pconsole

mvn -f src/java/netxms-eclipse/pom.xml clean package -Pconsole -Dtycho.disableP2Mirrors=true

Builds will be in src/java/netxms-eclipse/Product/target/products/
#1303
This looks to be very strange. I would suggest to turn on debugging from the database side to see what exactly queries are generated when you request history / graph from the front-end. And then checking if such a query really returns any data.
Also, if it's fine for you to recreate the database you can try to move to Postgres - it's generally more tested because more netxms users are using it.
#1304
The issue regarding "This DCI was added by instance ...." should have been fixed in current development branch and will be included in next patch release. The message is informative only so it does not affect functionality.
#1305
Right, currently the installed files are in several other places.

Please add --prefix=/opt/netxms to ./configure command, run ./configure ...., make and make install and send the contents of /opt/netxms folder


UPD: or if you have not done the above yet, please just send the contents of the following folders from your system.
/usr/local/bin
/usr/local/lib