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 - Alex Kirhenshtein

#16
General Support / Re: Add New Devices Driver
November 03, 2023, 07:20:04 PM
Usually, a custom driver is required when a device reports information in non-standard ways, or when we can't obtain certain information without the driver (e.g., physical port layout).

Which device are you experiencing issues with, and what kind of issue are you facing?

In our development process, we typically prioritize popular devices that could benefit the community, or devices requested by customers with a commercial support agreement. All other requests are placed in a backlog and are usually implemented at some point, although it might take a while.
#17
Добавьте в script library скрипт с кодом

$object->alias

И в качестве макроса используйте %[scriptname]
#18
General Support / Re: Issues with zoning
October 18, 2023, 12:00:35 AM
With this setup you can monitor routers (via management IP), but not the customers, you'll need zones for that.

I see only two options:
1) add any kind of the device which can run netxms agent inside customer's network (windows, linux, openwrt box, etc.) and setup DNAT (or use agent tunnelling). Then use this device as zone proxy.
2) add agent container to your miktotiks if they support it (I personally use it on RB5009), but yes, if I remember correctly - you need physical access to the device to enable containers.

However, if you are not interested in user devices - you can just reject them in the discovery filter, this way you'll have only routers / switched on the management network.
#19
Quote from: mOba on October 11, 2023, 12:48:38 PMЧерез час или два работы веб клиент зависает и при перезаходе вот такая загрузка висит постоянно, под любым логином:

Скорее всего где-то есть утечка памяти. Проверьте лог томката, возможно там есть какие-то исключения (скорее всего OutOfMemory)
#20
General Support / Re: libcurl vulnerability
October 12, 2023, 03:36:34 PM
Hi

On most systems we don't link libcurl statically, so once you updated system packages - it's all good.

Windows build is bundled with our own instance of libcurl, and updated package will be released shortly.
#21
General Support / Re: NetXMS 4.4.1 server failed
October 02, 2023, 02:57:50 PM
Quote from: uasy on October 02, 2023, 02:53:21 PMfrom unstable repo can't build

You need both main and unstable.
We don't push dependencies like our fork of libmodbus to unstable repo.
#22
General Support / Re: NetXMS 4.4.1 server failed
October 02, 2023, 11:57:20 AM
Quote from: uasy on October 02, 2023, 10:59:16 AMI have problem too. My enveropment:
Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2

Try installing 4.4.2.30 from unstable repo.

Add to sources:
 
deb http://packages.netxms.org/ubuntu bionic unstable
#23
General Support / Re: Web Console issues
September 26, 2023, 11:31:44 AM
Hello

Make sure that tomcat is running Java17 or newer.
#24
General Support / Re: 4.4.2 Crash
September 20, 2023, 02:29:27 PM
Do you have any non-Ethernet interfaces there with MAC address longer than 6 bytes?
#25
А томкат точно не использует? В логе консоли (где-то в глубине workdir томката есть файл .log) пишется на старте 
#26
Проверьте версию джавы, нужна 17+
#27
General Support / Re: 4.4.2 Crash
September 15, 2023, 10:40:07 AM
Quote from: MarcusH on September 15, 2023, 10:30:30 AMAny way to figure out what creates this query?
It's executed by object syncer thread, which saves node changes back into the database.

From the error message it's unclear which field is not accepted by the SQL server, this link might help with tracing it: https://stackoverflow.com/a/62905763
#28
General Support / Re: 4.4.2 Crash
September 15, 2023, 10:38:19 AM
Quote from: MarcusH on September 15, 2023, 10:36:51 AMI have a core dump but it gives a lot of reference error and shows no stack trace.

Have you installed netxms-dbg package? It contains all debug symbols for the product.
#29
General Support / Re: 4.4.2 Crash
September 15, 2023, 10:31:49 AM
Quote from: MarcusH on September 15, 2023, 10:03:20 AMRunning server on docker making core dump a challange.
it's rather straighforward if you can control host's core pattern

sysctl -w kernel.core_pattern='/core/core.%e.%p.%t'
docker volume create core_vol
docker run --ulimit core=-1 --mount source=core_vol,target=/core container
sysctl -w kernel.core_pattern=core # reset it back to the default
#30
General Support / Re: 4.4.2 Crash
September 15, 2023, 10:20:53 AM
Quote from: MarcusH on September 15, 2023, 10:03:20 AMWhy does netxms still depend on libssl1.1 and not libssl3?

Because Debian 11 ships with OpenSSL 1.1:

root@da539131bae5:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
root@da539131bae5:/# apt-cache search libssl
libssl-ocaml - OCaml bindings for OpenSSL (runtime)
libssl-ocaml-dev - OCaml bindings for OpenSSL
libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
libssl-utils-clojure - library for SSL certificate management on the JVM
root@da539131bae5:/# apt-cache show libssl-dev|grep Version
Version: 1.1.1n-0+deb11u5
Version: 1.1.1n-0+deb11u4


There are no reference to libssl1 in the official packages for debian 12:

root@d483efbfc136:~# ldd /usr/bin/netxmsd | grep ssl
        libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007ffb9ae88000)
root@d483efbfc136:~# dpkg -l netxms-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version      Architecture Description
+++-===================-============-============-=================================
ii  netxms-server:amd64 4.4.2-1      amd64        meta package