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

#61
А какое значение DBWriter.BackgroundWorkers на этой системе?
#62
contains это метод строки. Функции с таким именем нет. По идее в лог сервера должны сыпаться ошибки "Function not found" и создаваться ивенты SYS_SCRIPT_ERROR.

А надо так:

subnet.contains("dc")
#63
Yes, if isSNMP capability is "No", netxms might not send snmp requests to node. Please do packet capture while running full confuguration poll for that node.
#64
I've heard of two approaches - via web api and using pvesh command line utility. Both can be used - web services are supported in NXSL and there's now external data provider in agent that can parse json data (and pvesh provides json output). https://www.netxms.org/documentation/adminguide/agent-management.html#externaldataprovider

I'd suggest you to check what data proxmox provides via these two interfaces, as these may differ and also may depend on proxmox's version. I can help with template developing, specifically with instance discovery part.
#65
The reason seems to be with the framework used to build the GUI. Here's Anthropic's Claude's comment on this, pls give us update if any of this helps:

● This is a SWT/GTK compatibility crash on ARM64 (Raspberry Pi 5). The segfault occurs in GTK's native code when rendering the         
  Infrastructure view. Here are potential fixes:                                                                                       
                                                                                                                                       
  Quick Fixes to Try                                                                                                                   
                                                                                                                                       
  1. Force GTK3 settings                                                                                                               
                                                                                                                                       
  export SWT_GTK3=1                                                                                                                   
  export GDK_BACKEND=x11                                                                                                               
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  2. Disable GTK overlay scrollbars (likely culprit given "Negative content width" errors)                                             
                                                                                                                                       
  export GTK_OVERLAY_SCROLLING=0                                                                                                       
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  3. Try a simpler GTK theme                                                                                                           
                                                                                                                                       
  export GTK_THEME=Adwaita                                                                                                             
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  4. All environment variables combined                                                                                               
                                                                                                                                       
  export SWT_GTK3=1                                                                                                                   
  export GDK_BACKEND=x11                                                                                                               
  export GTK_OVERLAY_SCROLLING=0                                                                                                       
  export GTK_THEME=Adwaita                                                                                                             
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  5. Try with additional JVM flags                                                                                                     
                                                                                                                                       
  java -Dorg.eclipse.swt.internal.gtk.disablePrinting=true \                                                                           
       -Dorg.eclipse.swt.internal.gtk.noFocusHack=true \                                                                               
       -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  Root Cause                                                                                                                           
                                                                                                                                       
  The crash happens in g_type_check_instance_is_a which indicates GTK is receiving an invalid widget reference. The "Negative content 
  width -1" warnings suggest the scrollbar widget calculation fails before the crash. This is a known issue with:                     
  - SWT on ARM64 Linux                                                                                                                 
  - Certain GTK3 versions with KDE/Plasma (GTK apps under Qt-based desktop)                                                           
  - Overlay scrollbars in newer GTK versions                                                                                           
                                                                                                                                       
  If Above Doesn't Work                                                                                                               
                                                                                                                                       
  1. Try Wayland instead of X11 (or vice versa):                                                                                       
  export GDK_BACKEND=wayland                                                                                                           
  2. Install older GTK3:                                                                                                               
  Debian Trixie (testing) may have a bleeding-edge GTK that has compatibility issues.                                                 
  3. Use the Web UI instead - avoids native SWT/GTK entirely by running NXMC in a browser.                                             
  4. Report to NetXMS with the workaround that helped (or didn't) so they can investigate the SWT version bundled in the standalone JAR
   for ARM64.     
#66
General Support / Re: logging entries netxmsd.log
January 23, 2026, 01:17:36 PM
The error is "Data too long for column 'lldp_id' at row 1".

NetXMS found some new snmp device, for some reason the value for lldp_id column is too long and is not fitting into 255 chars.

It would be good to understand which exactly is that device on your network. You can enable debug for poll.discovery tag by issuing

debug poll.discovery 6

in Tools -> Server Debug Console. Then you should see some IP address being polled prior to the SQL error in the log. Once you know the IP address, please do a walk for 1.0.8802.1.1.2.1.3 branch and share the output. You can use nxsnmpwalk for that
#67
General Support / Re: User Sessions > Log to Events
January 23, 2026, 12:42:01 PM
We have this information in Audit log, but if you need it in Event Log - there's Hook::login script in script library that you can use for that. Make sure that this script returns true, otherwise it will prevent users from logging in.

To see what attributes are available in this script you can try this - it will log details to server log:

for (a : $user.__class.attributes) trace(0, "$user." .. a .. " = " .. $user.__get(a));
for (a : $session.__class.attributes) trace(0, "$session." .. a .. " = " .. $session.__get(a));
return true;

Then you can use PostEvent() or PostEventEx() to create the event (https://netxms.org/documentation/nxsl-latest/#func-postevent), drop us a line if you need more help with scripting.
#68
Can you do a tcpdump capture with this command:
tcpdump -s 0 -w snmp-exchange.pcap host = DEVICE_IP

We are interested in querying one problematic OID - first from nxsnmpget and then from NetXMS. Command will produce a file that can be opened using Wireshark. Please share the file.
#69
Currently not supported, but theoretically it could be implemented to choose port number from a specific range. However, this is not good approach from security standpoint as if you are opening these ports to the Internet anyone else could have access to what's exposed on these ports.

More advanced way would be to use WebSockets so that browser would open a port on localhost, but this might be complex to implement and I am note sure if this fits with current framework on which the client is based.

Have you considered using some sort of VPN to access your server instead of a forwarded port?
#70
Общие вопросы / Re: Wireless controller
December 23, 2025, 03:15:17 PM
C контроллерами поддерживаются Cisco, Symbol WS, Aruba, Avaya, но нужно смотреть подробности, может не все модели или еще что-то.

Ubiquity, Cambium, Mikrokik - отдельностоящие девайсы, не контроллеры. Они показыватся как ноды с объектами радиоинтерфейсов.

Ruckus - была попытка читать данные с контроллера по mqtt, поддержки snmp нет.

HFCL - были эксперименты по чтению кажется через web api, поддержки snmp нет.

В целом мы, насколько ресурсы разработки позволяют, заинтересованы в поддержки разных контроллеров. Если есть возможность на месяц-другой дать доступ к системе с контроллером и парочкой физичаских AP, то можно пробовать.
#71
Hi,

Can you clarify a bit - are you using an object tool, or something else? Is it so that firewall on your webserver machine wants outgoing connections to be from port 443?
#72
I've checked (but on 5.2.8) - token survived server restart. You can check if your token appears in auth_tokens DB table.
#73
General Support / Re: grafana/infinity/summary-table
December 19, 2025, 03:32:57 PM
Currently not possible, i've created a ticket here: https://track.radensolutions.com/issue/NX-2887
#74
First thing to check is how NetXMS Core Windows service is doing. NetXMS Core is the server process to which management client connects. Does it appear as "running" in Windows services?
If it's not, you can check it's log, it's typically in C:\NetXMS\log\netxmsd.log (you can check location in C:\NetXMS\etc\netxmsd.conf server configuration file). Log should give some insight in what's happening, may be it's waiting for the database or something.
#75
Да, спасибо, ждут пока разработчик посмотрит