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

#451
current xml parsing code does not support this. In the future we will consider adding xms parsing library (same as we now have jq to parse json format). You can follow this ticket: https://track.radensolutions.com/issue/NX-2485

Currently you can enable "Process response as plain text" in properties of the web service and use a regex instead of path to get the value
#452
General Support / Re: JVM Monitoring
December 08, 2023, 01:10:54 PM
I've use this stackoverflow post: https://stackoverflow.com/questions/5552960/how-to-connect-to-a-java-program-on-localhost-jvm-using-jmx

For test I just use NetXMS management client:
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1234 -Dcom.sun.management.jmxremote.ssl=false -jar ~/Downloads/nxmc-4.4.4-standalone.jar
Agent config has this:
Server=s:service:jmx:rmi:///jndi/rmi://127.0.0.1:1234/jmxrmi
On debug level 6 agent produces the following output in it's log:

2023.12.08 13:09:14.786 *D* [comm.cs.68        ] Requesting metric "JMX.VM.Version(s)"
2023.12.08 13:09:14.917 *D* [                  ] JMX: connected to service:jmx:rmi:///jndi/rmi://127.0.0.1:1234/jmxrmi
2023.12.08 13:09:14.919 *D* [                  ] JMX: reading object java.lang:type=Runtime attribute VmVersion

I have no clue what all these things in the url mean, but hope that helps

Also, here's Oracle docs on the URL: https://docs.oracle.com/javase/8/docs/api/javax/management/remote/JMXServiceURL.html
#453
Hi!
This bug is specific for web UI on Windows. If you open C:\NetXMS-WebUI\jetty-home\etc\webdefault.xml file and change
    <init-param>
      <param-name>useFileMappedBuffer</param-name>
      <param-value>true</param-value>
    </init-param>
to
    <init-param>
      <param-name>useFileMappedBuffer</param-name>
      <param-value>false</param-value>
    </init-param>
this should solve the issue. This setting will be set to false in next releases.
#454
I would probably try once again with mssql.ddr driver according to Victor's recommendations above.

Also if you do not have exact requirement to use MsSQL, you can install Postgres
#455
Please check if there is anything in web ui log. E.g. for tomcat you can run

journalctl -u tomcat9.service -f

and then open a map to trigger the error. Also it would be beneficial if you can show screenshot of your map to see what elements are present on it.
#456
Зависание на инициализации расширений в старом клиенте в 4.4.4. должно быть починено.

Звуки в новом будем доделывать.
#457
General Support / Re: Windows Event Parser
November 29, 2023, 10:42:01 AM
Hi!

By the way, we have two days of reading windows event log - one is agent log parser (set up in policy in template that is applied to agent) and the second is windows event log synchronization. Which one you are using? Anyways, both of these ways should work similarly on the following:

When netxms event is created, additional information from windows event should be added as parameters:
https://www.netxms.org/documentation/adminguide/log-monitoring.html#passing-parameters-to-events

If you your Teams_Alarm_AD_Anmeldung event in netxms event log and double-click it, you should see detailed information about the event, including values of it's parameters. Is the information you need present in these parameters?
#458
Let me list some approaches that can be used for integration:
- sending events into netxms using nxevent / nxaevent command line tools
- pushing DCI values - nxpush / nxapush tools
- netxms agent can monitor a log file and create events on matching lines
- web services can be used to get data from other systems - it's also possible to use nxsl script to parse received jsons.
- some external app can connect to netxms via Web API or nxshell
#459
В патч релизе попробуем поменять на utf-8 по умолчанию
#460
Проверьте в логах томката какую версию джавы он использует.
В этой теме было что-то очень похожее: https://www.netxms.org/forum/oe-oo/oshibka-soedineniya-incompatible-version-of-communication-protocol/
#461
I don't remember exactly, but there probably was a bug with default values of these named parameter of NetworkService.Status. Your URL contains IP address, but certificate was probably issued for a domain name, so host verification fails. To skip host verification, add the following:

NetworkService.Status(https://212.70.163.157,verify-peer=false,verify-host=false)

Documentation on all available parameters should be up to date:
https://www.netxms.org/documentation/adminguide/service-monitoring.html#network-service-monitoring-using-dci

#462
If you are on Linux, check if netxms-dbdrv-pgsql package is installed
#463
General Support / Re: netxms management console
November 16, 2023, 05:33:32 PM
Install https://netxms.org/download/releases/4.4/nxmc-legacy-4.4.3.war along with nxmc-4.4.3.war

Note that legacy UI is planned to be discontinued after a few months, so if you are new to the system, it's better to use new UI.
#464
Да, MailEncoding был выкинут с мыслью, что сейчас все почтовые клиенты должны понимать utf8.
А Outlook какой версии и на какой ОС?

Можно настроить какой-нибудь MTA - тогда NetXMS будет посылать письма на 127.0.0.1, а тот уже пересылать дальше. Под линуксом например postfix, под windows тоже что-то было
#465
У версии сервера и клиента первые две цифры должны быть одинаковыми, т.е. если сервер 4.4.х то и клиент (десктопный или web ui) то же должен быть 4.4.х