Recent posts

#1
General Support / Object tool and Passwords
Last post by gmonk63 - March 13, 2026, 07:04:47 PM
Greetings,  can the passwords stored for services such as snmp or others be used as a variable in object tools ?  If I have a tool that runs a server command  for example   (tool -u user -p password  -scan) I would like to supplement with %user  %password or something similar to avoid using plain text.


Thanks 
#2
General Support / Re: NetXMS V5.2.3
Last post by Derwood1985 - March 13, 2026, 06:15:51 PM
Additional info that I missed from the main post

show thread
MAIN
   Threads.............. 8 (8/512)
   Load average......... 0.00 0.01 0.00
   Current load......... 0%
   Usage................ 1%
   Active requests...... 0
   Scheduled requests... 1
   Total requests....... 104912
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

AGENT
   Threads.............. 32 (32/256)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 12%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

POLLERS
   Threads.............. 80 (10/500)
   Load average......... 15.51 28.01 35.31
   Current load......... 2%
   Usage................ 16%
   Active requests...... 2
   Scheduled requests... 0
   Total requests....... 367629
   Thread starts........ 427
   Thread stops......... 357
   Wait time EMA........ 274 ms
   Wait time SMA........ 152 ms
   Wait time SD......... 272 ms
   Queue size EMA....... 7
   Queue size SMA....... 0
   Queue size SD........ 0

FILE-TRANSFER
   Threads.............. 2 (2/16)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 12%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

NPE
   Threads.............. 1 (1/1024)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 0%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

DATACOLL
   Threads.............. 17 (10/300)
   Load average......... 0.00 0.07 0.42
   Current load......... 0%
   Usage................ 5%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 275896
   Thread starts........ 17
   Thread stops......... 10
   Wait time EMA........ 80 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

CLIENT
   Threads.............. 16 (16/2048)
   Load average......... 0.00 0.00 0.00
   Current load......... 12%
   Usage................ 0%
   Active requests...... 2
   Scheduled requests... 0
   Total requests....... 84567
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

DISCOVERY
   Threads.............. 8 (8/64)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 12%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

SCHEDULER
   Threads.............. 1 (1/64)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 1%
   Active requests...... 0
   Scheduled requests... 1
   Total requests....... 40
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

MOBILE
   Threads.............. 4 (4/256)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 1%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

PACKAGE-MANAGER
   Threads.............. 2 (2/25)
   Load average......... 0.00 0.00 0.00
   Current load......... 0%
   Usage................ 8%
   Active requests...... 0
   Scheduled requests... 0
   Total requests....... 0
   Thread starts........ 0
   Thread stops......... 0
   Wait time EMA........ 0 ms
   Wait time SMA........ 0 ms
   Wait time SD......... 0 ms
   Queue size EMA....... 0
   Queue size SMA....... 0
   Queue size SD........ 0

 show queue
Data collector                   : 105
DCI cache loader                 : 0
Template updater                 : 0
Database writer                  : 0
Database writer (IData)          : 2
Database writer (raw DCI values) : 6119
Event processor                  : 0
Event log writer                 : 0
Poller                           : 0
Node discovery poller            : 0
SNMP trap processor              : 0
SNMP trap writer                 : 0
Syslog processor                 : 0
Syslog writer                    : 0
Scheduler                        : 0
Windows event processor          : 0
Windows event writer             : 0

#3
General Support / NetXMS V5.2.3 - Data loss and ...
Last post by Derwood1985 - March 13, 2026, 06:11:20 PM
Hi,

We are investigating an issue where objects disappeared after a NetXMS crash and we are seeing unusual behaviour with the database connection pool and parts of the UI. We would appreciate guidance on possible causes.

Environment

NetXMS: v5.2.3

Database: MariaDB 10.11

NetXMS server and DB run on separate VMs with separate disks

NetXMS server specs:
16 CPU cores
64 GB RAM

System size:
Objects: 23022
Nodes: 1129
Interfaces: 21081
Access Points: 0
Sensors: 0
Collectible DCIs: 14890

MaxTransactionSize = 1000

Incident
The NetXMS server crashed after the root partition on the NetXMS server VM became full. The database is hosted on a different VM with its own storage and did not run out of space.

When bringing NetXMS back online:
Some objects that had been created several days earlier had disappeared.
Other newer objects and data were still present (inc alarms for dci that had disappered), suggesting that only some metadata was lost or never committed.

Shutdown behaviour
When attempting to restart the NetXMS service:
The server did not shut down gracefully.
It had to be killed manually.

Database connection pool observation
During investigation we ran show dbcp and noticed that for extended periods (10–30 seconds) it reports:
0 database connections in use

This occurs even though the system is actively monitoring ~23k objects and ~14.8k collectible DCIs.

 show dbstat
SQL query counters:
   Total .......... 1100783
   SELECT ......... 306641
   Non-SELECT ..... 794106
   Long running ... 0
   Failed ......... 0
Background writer requests:
   DCI data ....... 246179
   DCI raw data ... 246179
   Others ......... 234

Additional anomalies
We are also seeing unusual behaviour in both the web client and the desktop client:
Some log views fail to load or take an extremely long time to load pages or do not load at all.
Pagination for logs sometimes does not work or stalls.

These behaviours appear in both the web UI and the native NetXMS client.
This makes us suspect there may be an issue with database access, internal queues, or blocked threads.

Questions
Could a full root partition on the NetXMS server prevent metadata commits to the database even if the DB is on a separate system?
Is it possible that object metadata was only held in server memory and never committed, resulting in the objects disappearing after the crash?
What could cause the DB connection pool to show 0 connections in use for long periods on a system of this size?
Could this indicate blocked writer threads, transaction batching issues, or internal locks?
Could the log loading and pagination issues in both clients be related to the same underlying database or thread issue?

Any guidance on what diagnostics we should run (thread state, DB writer queues, etc.) would be greatly appreciated.

Thanks
Darren
#4
General Support / Re: NetXMS 6.04: Perfomance Vi...
Last post by Spheron - March 13, 2026, 11:52:41 AM
Quote from: Victor Kirhenshtein on March 12, 2026, 12:10:30 PMI just fixed that, we will publish patch release 6.0.5 soon.

Great, thanks Victor...  ;D
#5
General Support / possible display problem withi...
Last post by gkaudewitz - March 13, 2026, 10:02:23 AM
Helleo together,

it seems that there is a problom withn the legend in linecharts. The values within the "Curr" column seem to be wrong. For illustration screenshots attached from "Performance"-Tab and dedicated Linechart.

Best regards

Georg
#6
General Support / Re: Filtering MikroTik Devices...
Last post by nichky - March 13, 2026, 03:54:43 AM
$subnet = InetAddress("x.y.z.0")
$mask = 24

if ($node.ipAddress.isInSubnet($subnet, $mask)) {
    return 1;  // match
} else {
    return 0;  // no match
}



I got this, but it's not working. Can you please modify it?
#7
General Support / Re: Filtering MikroTik Devices...
Last post by Alex Kirhenshtein - March 12, 2026, 12:56:14 PM
$node.ipAddr (string)

or $node.ipAddress (instance of InetAddress): https://netxms.org/documentation/nxsl-latest/#class-inetaddress
#8
General Support / Re: NetXMS 6.04: Perfomance Vi...
Last post by Victor Kirhenshtein - March 12, 2026, 12:10:30 PM
I just fixed that, we will publish patch release 6.0.5 soon.
#9
Общие вопросы / Re: Wireless controller
Last post by Argonauts - March 12, 2026, 05:43:09 AM
Не прошло. В теории я бы мог дома развернуть контроллер с одной из точек, проблема в наличии - не поручусь когда будет свободная точка, чтобы я мог ее занять для работ вне конторы
#10
General Support / Re: Dashboard Blanks Itself Af...
Last post by dneil - March 11, 2026, 09:15:28 PM
Hi Alex, it did it again today.  Attached are screenshots of the blank dashboard and Task Manager, we have not run out of RAM and the client is not using excessive amounts of RAM.  (Splashtop is what I use to connect to the machine so that 300MB of RAM goes away when I'm not connected)