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 - samuelet

#1
Quote from: Filipp Sudanov on March 09, 2026, 05:48:55 PMCurrently there are a bit different requirements for web api and web UI. Web UI requires ee10, web-api - ee8.

If you are using both, then you'd need two versions of Tomcat.

Or you can use Jetty - the you can put .in file into webapps folder, e.g.
netxms-webscv-6.0.4.1.war.ini

with the following contents:

environment=ee8

I'm using jetty12 and webapi don't work.
The ee8 environment is correctly loaded, it starts and reply correctly at the root namespace:
{"description":"NetXMS web service API version 6.1.1","version":"6.1.1","build":"6.1-452-gc20a8a4247"}
but calling an api throws "java.lang.NoClassDefFoundError: jakarta/servlet/ServletContext" .
I suppose the problem is the native jetty-servlet-api-4.0.9 lib or something like that.
This is the output of my list-config.


Enabled Modules:
----------------
  0) resources                ${jetty.base}/start.ini
  1) logging/slf4j            transitive provider of logging/slf4j for logging-jetty
                              dynamic dependency of logging-jetty
  2) logging-jetty            transitive provider of logging for threadpool
                              transitive provider of logging for bytebufferpool
                              transitive provider of logging for scheduler
                              transitive provider of logging for console-capture
  3) bytebufferpool            transitive provider of bytebufferpool for server
  4) ext                      ${jetty.base}/start.ini
  5) http-config              transitive provider of http-config for server
  6) scheduler                transitive provider of scheduler for server
  7) threadpool                transitive provider of threadpool for server
  8) server                    transitive provider of server for http
                              transitive provider of server for deployment-scanner
                              transitive provider of server for sessions
                              transitive provider of server for ee10-security
                              transitive provider of server for ee10-servlet
                              transitive provider of server for ee10-quickstart
                              transitive provider of server for requestlog
                              transitive provider of server for jndi
                              transitive provider of server for websocket-core-server
                              transitive provider of server for ee8-plus
                              transitive provider of server for ee10-plus
                              transitive provider of server for plus
                              transitive provider of server for annotations
                              transitive provider of server for security
                              transitive provider of server for ee8-servlet
                              transitive provider of server for ee8-security
                              transitive provider of server for deployer-standard
  9) annotations              transitive provider of annotations for ee8-annotations
                              transitive provider of annotations for ee10-annotations
 10) gzip-compression          transitive provider of gzip-compression for client
 11) client                    transitive provider of client for websocket-core-client
 12) console-capture          ${jetty.base}/start.ini
 13) deployer-standard        transitive provider of deployer for deployment-scanner
 14) deployment-scanner        transitive provider of deployment-scanner for ee10-deploy
                              transitive provider of deployment-scanner for ee8-deploy
 15) sessions                  transitive provider of sessions for ee10-servlet
                              transitive provider of sessions for ee8-servlet
 16) ee10-servlet              transitive provider of ee10-servlet for ee10-apache-jsp
                              transitive provider of ee10-servlet for ee10-webapp
                              transitive provider of ee10-servlet for ee10-security
                              transitive provider of ee10-servlet for ee10-jsp
 17) security                  transitive provider of security for ee10-security
                              transitive provider of security for ee8-security
 18) ee10-security            transitive provider of ee10-security for ee10-webapp
                              transitive provider of ee10-security for ee10-plus
 19) ee-webapp                transitive provider of ee-webapp for ee10-webapp
                              transitive provider of ee-webapp for ee8-webapp
 20) ee10-webapp              transitive provider of ee10-webapp for ee10-quickstart
                              transitive provider of ee10-webapp for ee10-plus
                              transitive provider of ee10-webapp for ee10-deploy
 21) jndi                      transitive provider of jndi for ee8-plus
                              transitive provider of jndi for ee10-plus
 22) plus                      transitive provider of plus for ee8-annotations
                              transitive provider of plus for ee8-plus
                              transitive provider of plus for ee10-plus
 23) ee10-plus                transitive provider of ee10-plus for ee10-quickstart
                              transitive provider of ee10-plus for ee10-annotations
 24) ee10-annotations          transitive provider of ee10-annotations for ee10-jsp
                              transitive provider of ee10-annotations for ee10-websocket-jakarta
                              transitive provider of ee10-annotations for ee10-apache-jsp
                              transitive provider of ee10-annotations for ee10-quickstart
 25) ee10-apache-jsp          transitive provider of ee10-apache-jsp for ee10-glassfish-jstl
                              transitive provider of ee10-apache-jsp for ee10-jsp
 26) ee10-deploy              ${jetty.base}/start.ini
 27) ee10-glassfish-jstl      transitive provider of ee10-glassfish-jstl for ee10-jstl
 28) ee10-jsp                  ${jetty.base}/start.ini
 29) ee10-jstl                ${jetty.base}/start.ini
 30) ee10-quickstart          ${jetty.base}/start.ini
 31) websocket-core-client    transitive provider of websocket-core-client for ee10-websocket-jakarta
                              transitive provider of websocket-core-client for ee8-websocket-javax
 32) websocket-core-server    transitive provider of websocket-core-server for ee8-websocket-javax
                              transitive provider of websocket-core-server for ee10-websocket-jakarta
 33) ee10-websocket-jakarta    ${jetty.base}/start.ini
 34) ee8-servlet              transitive provider of ee8-servlet for ee8-webapp
                              transitive provider of ee8-servlet for ee8-security
 35) ee8-security              transitive provider of ee8-security for ee8-plus
                              transitive provider of ee8-security for ee8-webapp
 36) ee8-webapp                transitive provider of ee8-webapp for ee8-plus
                              transitive provider of ee8-webapp for ee8-deploy
 37) ee8-plus                  transitive provider of ee8-plus for ee8-annotations
 38) ee8-annotations          transitive provider of ee8-annotations for ee8-websocket-javax
 39) ee8-deploy                ${jetty.base}/start.ini
 40) ee8-ext                  ${jetty.base}/start.ini
 41) ee8-websocket-javax      ${jetty.base}/start.ini
 42) http                      ${jetty.base}/start.ini
 43) requestlog                ${jetty.base}/start.ini

JVM Version & Properties:
-------------------------
 java.home = /usr/lib/jvm/jdk-17
 java.vm.vendor = Oracle Corporation
 java.vm.version = 17.0.7+8-LTS-224
 java.vm.name = Java HotSpot(TM) 64-Bit Server VM
 java.vm.info = mixed mode, sharing
 java.runtime.name = Java(TM) SE Runtime Environment
 java.runtime.version = 17.0.7+8-LTS-224
 java.io.tmpdir = /tmp
 user.dir = /opt/jetty12
 user.language = en
 user.country = US

Jetty Version & Properties:
---------------------------
 jetty.version = 12.1.8
 jetty.tag.version = jetty-12.1.8
 jetty.build = c9cdc9aaa434a3665b8a53b4d1cc3684992da649
 jetty.home = /opt/jetty12
 jetty.base = /opt/jetty12

Config Search Order:
--------------------
 <command-line>
 ${jetty.base} -> /opt/jetty12
 ${jetty.home} -> /opt/jetty12

System Properties:
------------------
 (no system properties specified)

Properties: Jetty
-----------------
 asm.version = 9.9.1
 java.version = 17.0.7
 java.version.platform = 17
 jetty.base = /opt/jetty12
 jetty.base.uri = file:///opt/jetty12
 jetty.home = /opt/jetty12
 jetty.home.uri = file:///opt/jetty12
 jetty.requestlog.dir = logs
 jetty.webapp.addHiddenClasses = org.eclipse.jetty.logging.,${jetty.home.uri}/lib/logging/,org.slf4j.
 runtime.feature.alpn = true
 slf4j.version = 2.0.17

Classpath: Jetty
----------------
Version Information on 26 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
      changes to the --module=name command line options will be reflected here.
 0:                  2.0.17 | ${jetty.base}/lib/logging/slf4j-api-2.0.17.jar | https://opensource.org/license/mit
 1:                  12.1.8 | ${jetty.base}/lib/logging/jetty-slf4j-impl-12.1.8.jar | EPL-2.0 OR Apache-2.0
 2:                  12.1.8 | ${jetty.base}/lib/jetty-http-12.1.8.jar | EPL-2.0 OR Apache-2.0
 3:                  12.1.8 | ${jetty.base}/lib/jetty-util-12.1.8.jar | EPL-2.0 OR Apache-2.0
 4:                  12.1.8 | ${jetty.base}/lib/jetty-server-12.1.8.jar | EPL-2.0 OR Apache-2.0
 5:                  12.1.8 | ${jetty.base}/lib/jetty-xml-12.1.8.jar | EPL-2.0 OR Apache-2.0
 6:                  12.1.8 | ${jetty.base}/lib/jetty-io-12.1.8.jar | EPL-2.0 OR Apache-2.0
 7:                  12.1.8 | ${jetty.base}/lib/jetty-annotations-12.1.8.jar | EPL-2.0 OR Apache-2.0
 8:                    9.9.1 | ${jetty.base}/lib/annotations/asm-9.9.1.jar | BSD-3-Clause;link=https://asm.ow2.io/LICENSE.txt
 9:                    9.9.1 | ${jetty.base}/lib/annotations/asm-analysis-9.9.1.jar | BSD-3-Clause;link=https://asm.ow2.io/LICENSE.txt
10:                    9.9.1 | ${jetty.base}/lib/annotations/asm-commons-9.9.1.jar | BSD-3-Clause;link=https://asm.ow2.io/LICENSE.txt
11:                    9.9.1 | ${jetty.base}/lib/annotations/asm-tree-9.9.1.jar | BSD-3-Clause;link=https://asm.ow2.io/LICENSE.txt
12:                  12.1.8 | ${jetty.base}/lib/compression/jetty-compression-common-12.1.8.jar | EPL-2.0 OR Apache-2.0
13:                  12.1.8 | ${jetty.base}/lib/compression/jetty-compression-gzip-12.1.8.jar | EPL-2.0 OR Apache-2.0
14:                  12.1.8 | ${jetty.base}/lib/jetty-alpn-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
15:                  12.1.8 | ${jetty.base}/lib/jetty-alpn-java-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
16:                  12.1.8 | ${jetty.base}/lib/jetty-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
17:                  12.1.8 | ${jetty.base}/lib/jetty-deploy-12.1.8.jar | EPL-2.0 OR Apache-2.0
18:                  12.1.8 | ${jetty.base}/lib/jetty-session-12.1.8.jar | EPL-2.0 OR Apache-2.0
19:                  12.1.8 | ${jetty.base}/lib/jetty-security-12.1.8.jar | EPL-2.0 OR Apache-2.0
20:                  12.1.8 | ${jetty.base}/lib/jetty-ee-webapp-12.1.8.jar | EPL-2.0 OR Apache-2.0
21:                  12.1.8 | ${jetty.base}/lib/jetty-jndi-12.1.8.jar | EPL-2.0 OR Apache-2.0
22:                  12.1.8 | ${jetty.base}/lib/jetty-plus-12.1.8.jar | EPL-2.0 OR Apache-2.0
23:                  12.1.8 | ${jetty.base}/lib/jetty-websocket-core-common-12.1.8.jar | EPL-2.0 OR Apache-2.0
24:                  12.1.8 | ${jetty.base}/lib/jetty-websocket-core-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
25:                  12.1.8 | ${jetty.base}/lib/jetty-websocket-core-server-12.1.8.jar | EPL-2.0 OR Apache-2.0

Active XMLs: Jetty
------------------
 ${jetty.base}/etc/jetty-bytebufferpool.xml
 ${jetty.base}/etc/jetty-http-config.xml
 ${jetty.base}/etc/jetty-scheduler.xml
 ${jetty.base}/etc/jetty-threadpool.xml
 ${jetty.base}/etc/jetty.xml
 ${jetty.base}/etc/console-capture.xml
 ${jetty.base}/etc/jetty-deployer-standard.xml
 ${jetty.base}/etc/jetty-deployment-scanner.xml
 ${jetty.base}/etc/sessions/id-manager.xml
 ${jetty.base}/etc/jetty-ee-webapp.xml
 ${jetty.base}/etc/jetty-http.xml
 ${jetty.base}/etc/jetty-requestlog.xml

Properties: ee10
----------------
 http.timeout = 30000
 jetty.port = 8080
 jetty.threadPool.idleTimeout = 60000
 jetty.threadPool.maxThreads = 200
 jetty.threadPool.minThreads = 10

Classpath: ee10
---------------
Version Information on 26 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
      changes to the --module=name command line options will be reflected here.
 0:                    6.0.0 | ${jetty.base}/lib/jakarta.servlet-api-6.0.0.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
 1:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-servlet-12.1.8.jar | EPL-2.0 OR Apache-2.0
 2:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-webapp-12.1.8.jar | EPL-2.0 OR Apache-2.0
 3:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-plus-12.1.8.jar | EPL-2.0 OR Apache-2.0
 4:                    2.0.1 | ${jetty.base}/lib/jakarta.transaction-api-2.0.1.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
 5:                    2.1.0 | ${jetty.base}/lib/jakarta.interceptor-api-2.1.0.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
 6:                    4.0.1 | ${jetty.base}/lib/jakarta.enterprise.cdi-api-4.0.1.jar | https://www.apache.org/licenses/LICENSE-2.0
 7:                      2.0 | ${jetty.base}/lib/jakarta.inject-api-2.0.1.jar | http://www.apache.org/licenses/LICENSE-2.0.txt
 8:                    4.0.1 | ${jetty.base}/lib/jakarta.enterprise.lang-model-4.0.1.jar | https://repository.jboss.org/licenses/apache-2.0.txt
 9:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-annotations-12.1.8.jar | EPL-2.0 OR Apache-2.0
10:                    2.1.1 | ${jetty.base}/lib/ee10-annotations/jakarta.annotation-api-2.1.1.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
11:                    5.0.1 | ${jetty.base}/lib/ee10-apache-jsp/jakarta.el-api-5.0.1.jar | https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt, https://www.gnu.org/software/classpath/license.html
12:                    3.1.1 | ${jetty.base}/lib/ee10-apache-jsp/jakarta.servlet.jsp-api-3.1.1.jar | https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt, https://www.gnu.org/software/classpath/license.html
13:    3.45.0.v20260224-0835 | ${jetty.base}/lib/ee10-apache-jsp/ecj-3.45.0.jar
14:                  10.1.48 | ${jetty.base}/lib/ee10-apache-jsp/mortbay-apache-el-10.1.48.jar | http://www.apache.org/licenses/LICENSE-2.0
15:                  10.1.48 | ${jetty.base}/lib/ee10-apache-jsp/mortbay-apache-jsp-10.1.48.jar | http://www.apache.org/licenses/LICENSE-2.0
16:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-apache-jsp-12.1.8.jar | EPL-2.0 OR Apache-2.0
17:                    3.0.0 | ${jetty.base}/lib/ee10-glassfish-jstl/jakarta.servlet.jsp.jstl.jakarta.servlet.jsp.jstl-api-3.0.0.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
18:                    3.0.1 | ${jetty.base}/lib/ee10-glassfish-jstl/org.glassfish.web.jakarta.servlet.jsp.jstl-3.0.1.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
19:                  12.1.8 | ${jetty.base}/lib/jetty-ee10-quickstart-12.1.8.jar | EPL-2.0 OR Apache-2.0
20:                  12.1.8 | ${jetty.base}/lib/ee10-websocket/jetty-ee10-websocket-servlet-12.1.8.jar | EPL-2.0 OR Apache-2.0
21:                    2.1.1 | ${jetty.base}/lib/ee10-websocket/jakarta.websocket-client-api-2.1.1.jar | https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt, https://www.gnu.org/software/classpath/license.html
22:                    2.1.1 | ${jetty.base}/lib/ee10-websocket/jakarta.websocket-api-2.1.1.jar | https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt, https://www.gnu.org/software/classpath/license.html
23:                  12.1.8 | ${jetty.base}/lib/ee10-websocket/jetty-ee10-websocket-jakarta-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
24:                  12.1.8 | ${jetty.base}/lib/ee10-websocket/jetty-ee10-websocket-jakarta-common-12.1.8.jar | EPL-2.0 OR Apache-2.0
25:                  12.1.8 | ${jetty.base}/lib/ee10-websocket/jetty-ee10-websocket-jakarta-server-12.1.8.jar | EPL-2.0 OR Apache-2.0

Active XMLs: ee10
-----------------
 ${jetty.base}/etc/jetty-ee10-webapp.xml
 ${jetty.base}/etc/jetty-ee10-deploy.xml
 ${jetty.base}/etc/jetty-ee10-quickstart.xml

Properties: ee8
---------------
 ee8.jakarta.annotation.api.version = @jakarta.annotation.api.version@

Classpath: ee8
--------------
Version Information on 15 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
      changes to the --module=name command line options will be reflected here.
 0:                    4.0.9 | ${jetty.base}/lib/jetty-servlet-api-4.0.9.jar | http://www.apache.org/licenses/LICENSE-2.0, https://www.eclipse.org/legal/epl-2.0/
 1:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-nested-12.1.8.jar | EPL-2.0 OR Apache-2.0
 2:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-servlet-12.1.8.jar | EPL-2.0 OR Apache-2.0
 3:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-security-12.1.8.jar | EPL-2.0 OR Apache-2.0
 4:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-webapp-12.1.8.jar | EPL-2.0 OR Apache-2.0
 5:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-plus-12.1.8.jar | EPL-2.0 OR Apache-2.0
 6:                    1.3.3 | ${jetty.base}/lib/jakarta.transaction-api-1.3.3.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
 7:                  12.1.8 | ${jetty.base}/lib/jetty-ee8-annotations-12.1.8.jar | EPL-2.0 OR Apache-2.0
 8:                    1.3.5 | ${jetty.base}/lib/ee8-annotations/jakarta.annotation-api-1.3.5.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
 9:                    4.0.3 | ${jetty.base}/lib/ee8/ext/jakarta.servlet-api-4.0.3.jar | http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html
10:                  12.1.8 | ${jetty.base}/lib/ee8-websocket/jetty-ee8-websocket-servlet-12.1.8.jar | EPL-2.0 OR Apache-2.0
11:                    1.1.2 | ${jetty.base}/lib/ee8-websocket/jetty-javax-websocket-api-1.1.2.jar | http://www.apache.org/licenses/LICENSE-2.0, http://www.eclipse.org/org/documents/epl-v10.php
12:                  12.1.8 | ${jetty.base}/lib/ee8-websocket/jetty-ee8-websocket-javax-client-12.1.8.jar | EPL-2.0 OR Apache-2.0
13:                  12.1.8 | ${jetty.base}/lib/ee8-websocket/jetty-ee8-websocket-javax-common-12.1.8.jar | EPL-2.0 OR Apache-2.0
14:                  12.1.8 | ${jetty.base}/lib/ee8-websocket/jetty-ee8-websocket-javax-server-12.1.8.jar | EPL-2.0 OR Apache-2.0

Active XMLs: ee8
----------------
 ${jetty.base}/etc/jetty-ee8-webapp.xml
 ${jetty.base}/etc/jetty-ee8-deploy.xml


#2
Running from 24H without errors. Thanks for all
#3
Problem persists also in version 5.2.4 . Any update about the issue?
#6
I'm trying to filter out specific ip from network discovery using the filter script, but i can't get the ipaddress of the DiscoveryNode object.
Did i miss something?

tracelevel=0;
trace(tracelevel, "======= Filter::NetworkDiscovery ==========");
trace(tracelevel,$1->ipAddress);
trace(tracelevel,$node->ipAddress);
trace(tracelevel,$1.ipAddress);
trace(tracelevel,$node.ipAddress);
trace(tracelevel,$1->ipAddr);
trace(tracelevel,$node->ipAddr);
trace(tracelevel,$1.ipAddr);
trace(tracelevel,$node.ipAddr);
//trace(tracelevel,$1->snmpOID);
if ($1->ipAddress.address ~= "^172\.2\d\.1\.1") {
  trace(tracelevel, "== Filtered out from discovery ==");
  trace(tracelevel, $1->ipAddr);
  return false;
}

Output:
2025.03.26 08:51:13.767 *I* [nxsl.trace         ] ======= Filter::NetworkDiscovery ==========
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
2025.03.26 08:51:13.772 *I* [nxsl.trace         ] UNSPEC
#7
After upgrading from 5.0.8 to 5.1.4 i get continuously error messages about duplicated keys when inserting into interface_vlan_list.
I tried to delete switch interfaces and polling new config, but it does not resolve.
Problem seems affect Juniper switches, but i'm not sure of this, we have a lot of devices and i'm still monitoring the log.
Db upgrade did not throw any error.

2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 1: "28289"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 2: "53"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 3: "543"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 4: "3C8AB0DC5A52"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 5: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 6: "528"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 7: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 8: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 9: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 10: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 11: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 12: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 13: "ge-0/0/15.0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 14: "1"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 15: "1"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 16: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 17: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 18: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 19: "1514"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 20: "100000000"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 21: "178116"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 22: ""
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 23: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 24: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 25: ""
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 26: ""
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 27: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 28: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 29: "0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 30: "ge-0/0/15.0"
2025.03.26 08:19:08.367 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 31: "178127"
2025.03.26 08:19:08.368 *D* [db.query           ] Successful prepared sync query: "INSERT INTO interfaces (node_id,if_type,if_index,mac_addr,required_polls,bridge_port,phy_chassis,phy_module,phy_pic,phy_port,peer_node_id,peer_if_id,description,admin_state,oper_state,dot1x_pae_state,dot1x_backend_state,peer_proto,mtu,speed,parent_iface,iftable_suffix,last_known_oper_state,last_known_admin_state,if_alias,ospf_area,ospf_if_type,ospf_if_state,stp_port_state,if_name,id) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT (id) DO UPDATE SET node_id=excluded.node_id,if_type=excluded.if_type,if_index=excluded.if_index,mac_addr=excluded.mac_addr,required_polls=excluded.required_polls,bridge_port=excluded.bridge_port,phy_chassis=excluded.phy_chassis,phy_module=excluded.phy_module,phy_pic=excluded.phy_pic,phy_port=excluded.phy_port,peer_node_id=excluded.peer_node_id,peer_if_id=excluded.peer_if_id,description=excluded.description,admin_state=excluded.admin_state,oper_state=excluded.oper_state,dot1x_pae_state=excluded.dot1x_pae_state,dot1x_backend_state=excluded.dot1x_backend_state,peer_proto=excluded.peer_proto,mtu=excluded.mtu,speed=excluded.speed,parent_iface=excluded.parent_iface,iftable_suffix=excluded.iftable_suffix,last_known_oper_state=excluded.last_known_oper_state,last_known_admin_state=excluded.last_known_admin_state,if_alias=excluded.if_alias,ospf_area=excluded.ospf_area,ospf_if_type=excluded.ospf_if_type,ospf_if_state=excluded.ospf_if_state,stp_port_state=excluded.stp_port_state,if_name=excluded.if_name" [1 ms]
2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} Successful prepare: "DELETE FROM interface_vlan_list WHERE iface_id=?"

2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 1: "178127"
2025.03.26 08:19:08.368 *D* [db.query           ] Successful sync query: "INSERT INTO idata_169885 (item_id,idata_timestamp,idata_value,raw_value) VALUES (101772,1742973548,'68','68')"
2025.03.26 08:19:08.368 *D* [db.query           ] Successful prepared sync query: "DELETE FROM interface_vlan_list WHERE iface_id=?"
2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} Successful prepare: "INSERT INTO interface_vlan_list (iface_id,vlan_id) VALUES (?,?)"
2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 1: "178127"
2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 2: "0"
2025.03.26 08:19:08.368 *D* [db.query           ] Successful prepared sync query: "INSERT INTO interface_vlan_list (iface_id,vlan_id) VALUES (?,?)" [1 ms]
2025.03.26 08:19:08.368 *D* [db.query           ] {0x7f4dda4c9440} bind at pos 2: "0"
2025.03.26 08:19:08.369 *D* [db.query           ] Successful sync query: "INSERT INTO idata_169914 (item_id,idata_timestamp,idata_value,raw_value) VALUES (84034,1742973548,'73','73')"
2025.03.26 08:19:08.369 *D* [db.query           ] Failed prepared sync query: "INSERT INTO interface_vlan_list (iface_id,vlan_id) VALUES (?,?)"
2025.03.26 08:19:08.369 *E* [db.drv             ] SQL query failed (Query = "INSERT INTO interface_vlan_list (iface_id,vlan_id) VALUES (?,?)"): 23505 ERROR:  duplicate key value violates unique constraint "interface_vlan_list_pkey"
DETAIL:  Key (iface_id, vlan_id)=(178127, 0) already exists.
2025.03.26 08:19:08.369 *D* [db.query           ] Successful sync query: "INSERT INTO idata_170124 (item_id,idata_timestamp,idata_value,raw_value) VALUES (66589,1742973548,'0','0')"
2025.03.26 08:19:08.369 *D* [db.query           ] Successful sync query: "INSERT INTO idata_170124 (item_id,idata_timestamp,idata_value,raw_value) VALUES (66590,1742973548,'2','2')" [1 ms]
2025.03.26 08:19:08.370 *D* [db.query           ] Successful sync query: "INSERT INTO idata_170124 (item_id,idata_timestamp,idata_value,raw_value) VALUES (66583,1742973548,'36','36')"
2025.03.26 08:19:08.370 *D* [db.query           ] ROLLBACK TRANSACTION successful (level 0)
2025.03.26 08:19:08.370 *D* [db.query           ] BEGIN TRANSACTION successful (level 1)
#9
General Support / Re: Icmp-only proxy with zoning
August 08, 2023, 09:47:36 AM

Not a real use-case, reading the doc page i simply thought to scale using dedicated servers for snmp and ping.
#10
General Support / Re: Icmp-only proxy with zoning
July 17, 2023, 05:34:18 PM
up
#11
General Support / Icmp-only proxy with zoning
July 11, 2023, 11:03:06 AM
Hello,
What is the right procedure to create a proxy, in a zone, with only icmp proxying features (snmp discover should be left to netxms server itself) ?
From the section "Setting communication options for zones" (doc https://www.netxms.org/documentation/adminguide/advanced.html) it seems i could set a default ICMP proxy, but from the netxms legacy client i cannot be so granular, i can only set a generic proxy in "Communication" -> "proxy nodes" zone property, that i suppose will do also snmp discover.
Setting icmp proxy in node property instead works as expected, but this is not manageable with many nodes.
My Agent Proxy config:

# Log File
LogFile=/var/log/nxagentd
# IP white list, can contain multiple records separated by comma.
# CIDR notation supported for subnets.

MasterServers=xxx.xxx.xxx.xxx
SubAgent=ping.nsm

#12
Announcements / Re: NetXMS 4.4 released
July 03, 2023, 04:32:29 PM
ok thanks.
#13
Announcements / Re: NetXMS 4.4 released
July 03, 2023, 02:48:18 PM
The legacy web war 4.4 does not start anymore on jetty10. There are no errors in jetty logs and the war is correctly loaded :
2023-07-03 13:42:46.724:INFO :oejsh.ContextHandler:Scanner-0-1: Started o.e.j.w.WebAppContext@12015d70{nxmc.war,/nxmc,file:///tmp/jetty-0_0_0_0-8080-nxmc_war-_nxmc-any-835922547430811876/webapp/,AVAILABLE}{/var/lib/jetty10/webapps/nxmc.war}

The web output page is:

HTTP ERROR 404 ProxyServlet: /
URI: /nxmc/
STATUS: 404
MESSAGE: ProxyServlet: /
SERVLET: equinoxbridgeservlet


Jetty 10.0.12 and java 11.0.18

Any idea?
#14
General Support / Re: Bugs on juniper EX
February 09, 2023, 01:31:49 PM
I confirm it works, for virtual chassis too. Thanks.

Just one request concerning a different issue:
is it possible to add the "vlan view" (in the Topology menĂ¹) also in the node overview tab in order to have a visual display of their port status? The port view does not display vlans, don't know if the reason is that vlans are on logical interfaces or for design.
#15
General Support / Re: Bugs on juniper EX
February 07, 2023, 12:36:18 PM
ok, i can test it in next days. I prefer a deb package for debian 10.
Thanks