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

Topics - Spheron

#1
General Support / Thresholds -Diff with Strings
August 08, 2025, 09:26:50 AM
 
Hello @all,
 
i have a DCI which collect Date/Time via Powershell every hour. For Example here the last Values from the history of this DCI:
 
"Timestamp","Value","Raw value"
"08.08.2025 06:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 05:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 04:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 03:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 02:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 01:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"08.08.2025 00:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 23:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 22:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 21:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 20:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 19:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 18:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 17:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 16:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00"
"07.08.2025 15:25:56","03.08.2025 18:00:00","03.08.2025 18:00:00" 


I created a Threshold to get an alarm if the value NOT change in the last 24h:

Function: "Diff with previous value" 
Sample: 24
Operation: "> : greater than"
Value: 0
Activation Event: <Type Warning>
Dectivation Event: <Type Normal>
 
But the threshold throws no alarm, even if change the sample count to 1 or 2.
 
Is this the false threshold function to compare a string? But in the NetXMS Documentation for Thresholds this function should work with strings...

---
Diff with previous value
Delta between the last and previous values will be used. If DCI data type is string and the last and previous values match, system will use 0, and if they don't - 1.
---- 
 
Where are my fault?  I am thankful for any hint...
 
Greetings
Marco
 
 
 
#2
General Support / Shrink Postgres DB
July 29, 2025, 09:18:00 AM

Hello @all,

played here around with windows event logging in NetXMS V5.2.4 (Debian, Postgres).

Therefore the database size blowed up. I have changed serveral retention values an the housekeeper is running a few minutes an do it's best, but the database don't shrinks.

What can i do to shrink the DB? Deleting and restoring?

Greetings
Marco
#3

Hello @all,

since update to NetXMS V5.2.2 (Debian/Postgresql) i see the following error message at every template i click on (in template view):



(Message: Cannot open data collection configuration for <TemplateName>: Invalid thread access)

The view doesn't actualize, i doesn't see the DCI's from the template i choose...

Otherwise, NetXMS seems working normal...

Having anyone else this behaviour?

Greetings
Marco 
#4
General Support / Create Event from User Session
July 19, 2024, 12:21:12 PM

Hello @all,

i want to create an event from every user session (showed in NetXMS register "User Sessions") so that i get every user logon/logoff in the NetXMS event log from every node.

Is there a chance to create those infos in the NetXMS event log?

I would appreciate any help/tips.

Greetings
Marco
#5
General Support / NetXMS Shows VLAN at wrong Ports
June 20, 2024, 06:49:13 PM

Hello @all,

having here NetXMS V5.0.4 at Linux Debian 12 running. 

Today i installed a new switch (Netgear GS728TPv3 / Software Version 6.2.0.25). At switch UI i see/set my configured VLAN at the ports:

VLAN1 -  g1 - g18, g25 - g28
VLAN2  - g19 - g24


In NetXMS the VLANs for VLAN2 shows on Port g11-g16 !!! The switch is polled via SNMP 2C.

Is this a bug in NetXMS or sends the switch wrong data via snmp?

Having anyone else such an issue?


Greetings
Marco

#6

Hello @all,

i migrated our NetXMS V5.0.3 Installation from Windows (Win10/MySQL) to Linux (Debian 12/PostgreSQL).

Migration worked so far, all pollings are working, except the NetXMS Agent running at the NetXMS Server itself. Before i migrated the DB the agent on the new Linux NetXMS server was working, the agent was recognized from the server and shows many DCI's which was standard after a clean install of the NetXMS Server.

After the migration of the DB, the NetXMS agent infrastructure object still exist, but the DCI are empty and the NetXMS Server cannot reach his own agent. If i make a configuration poll i see this:

[06.06.2024 15:32:19] **** Poll request sent to server ****
[06.06.2024 15:32:19] Poll request accepted, waiting for outstanding polling requests to complete...
[06.06.2024 15:32:19] Starting configuration of for node XXXXX
[06.06.2024 15:32:19] Capability reset
[06.06.2024 15:32:19] Checking node's capabilities...
[06.06.2024 15:32:19]    Checking NetXMS agent...
[06.06.2024 15:32:19]    Cannot connect to NetXMS agent (Internal error)
[06.06.2024 15:32:19]    Checking SNMP...
[06.06.2024 15:32:37]    No response from SNMP agent
[06.06.2024 15:32:37]    Checking SSH connectivity...
[06.06.2024 15:32:37]    Cannot connect to SSH
[06.06.2024 15:32:37]    Checking EtherNet/IP...
[06.06.2024 15:32:37]    Cannot establish EtherNet/IP connection or get device identity (CONNECT FAILED)
[06.06.2024 15:32:37]    Checking Modbus TCP...
[06.06.2024 15:32:37]    Device does not respond to Modbus TCP request (Communication failure)
[06.06.2024 15:32:37] Capability check finished
[06.06.2024 15:32:37] Checking interface configuration...
[06.06.2024 15:32:37] Interface configuration check finished
[06.06.2024 15:32:37] Checking node name
[06.06.2024 15:32:37] Node name cannot be interpreted as valid IP address, no need to resolve to host name
[06.06.2024 15:32:37] Updating general system hardware information
[06.06.2024 15:32:37] Processing template automatic apply rules
[06.06.2024 15:32:37] Processing container autobind rules
[06.06.2024 15:32:37] Processing cluster autobind rules
[06.06.2024 15:32:37] Finished configuration poll of node XXXXX
[06.06.2024 15:32:37] Node configuration was not changed after poll
[06.06.2024 15:32:37] **** Poll completed successfully ****


The NetXMS Server gets an "Internal Error" from his own agent...

In the NetXMS Agent log i get this lines:

2024.06.06 15:31:36.353 *I* [logger             ] Log file opened (rotation policy 2, max size 4194304)
2024.06.06 15:31:36.353 *I* [logger             ] Log rotation policy set to 2 (size=16777216, count=4)
2024.06.06 15:31:36.353 *I* [startup            ] Core agent version 5.0.3 (build tag 5.0-910-gc6da21a763)
2024.06.06 15:31:36.353 *I* [config             ] Additional configuration files was loaded from /etc/nxagentd.conf.d
2024.06.06 15:31:36.353 *I* [logger             ] Debug level set to 0
2024.06.06 15:31:36.353 *I* [config             ] Main configuration file: /etc/nxagentd.conf
2024.06.06 15:31:36.353 *I* [config             ] Configuration tree:
2024.06.06 15:31:36.353 *I* [config             ] config
2024.06.06 15:31:36.353 *I* [config             ]  +- CORE
2024.06.06 15:31:36.353 *I* [config             ]      +- LogFile
2024.06.06 15:31:36.353 *I* [config             ]      |    value: /var/log/nxagentd
2024.06.06 15:31:36.353 *I* [config             ]      +- MasterServers
2024.06.06 15:31:36.353 *I* [config             ]           value: 127.0.0.0/8
2024.06.06 15:31:36.353 *I* [startup            ] Data directory: /var/lib/netxms
2024.06.06 15:31:36.353 *I* [startup            ] File store: /tmp
2024.06.06 15:31:36.355 *I* [crypto             ] Crypto library initialized (OpenSSL 3.0.11 19 Sep 2023)
2024.06.06 15:31:36.361 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2024.06.06 15:31:36.381 *I* [db.agent           ] Local database opened successfully
2024.06.06 15:31:36.381 *I* [startup            ] Agent ID is 32ac1782-dda7-4f04-a2e7-ca40c8587c61
2024.06.06 15:31:36.381 *I* [startup            ] Local host name is "XXXXX"
2024.06.06 15:31:36.382 *I* [startup            ] Using system name "XXXXX"
2024.06.06 15:31:36.382 *I* [startup            ] Arbitrary command execution disabled
2024.06.06 15:31:37.386 *I* [linux              ] Unable to parse /proc/drbd, DRBD data collector will not start
2024.06.06 15:31:37.387 *I* [subagents          ] Subagent "Linux" (/usr/lib/x86_64-linux-gnu/netxms/linux.nsm) loaded successfully (version 5.0.3)
2024.06.06 15:31:37.387 *I* [startup            ] System hardware ID is F2B436DCA100E80B2A56CF0AB00456765E905849
2024.06.06 15:31:38.392 *I* [comm               ] Control connector is disabled
2024.06.06 15:31:38.392 *I* [comm               ] Listening on socket 0.0.0.0:4700
2024.06.06 15:31:38.392 *I* [comm               ] Listening on socket :::4700
2024.06.06 15:31:39.393 *I* [filemon            ] Path list for file monitor is empty
2024.06.06 15:31:39.393 *I* [                   ] NetXMS Agent started


I think this line:

2024.06.06 15:31:37.386 *I* [linux              ] Unable to parse /proc/drbd, DRBD data collector will not start
is maybe for a dev a hint to the problem...

So, have anyone any suggestions what i can do, to get a working NetXMS Agent on the NetXMS Server itself (perhaps with all DCI's which are comes with a clean new NetXMS Server install)?

Greetings
Marco


#7

Hello @all,

since Update NetXMS to V4.4.3 all Checks with the Function NetworkService.Status (with verify-peer=false) failed with error 5

Example:
NetworkService.Status(https://10.99.45.44,verify-peer=false)

Up to V4.4.2 this one works without problems. If URL is reached it throws a Result "0". Since V4.4.3 it always throws Code "5".

NetworkService.Status checks without the "verify-peer=false" option works without any problems.

Has anyone else seen this behavior?

Greetings
Marco  
#8
Hello @all,

today i installed the server and web-inferface (windows installer) in V4.4.1.

Server is running and functional, web interface is throwing error message:

10:47:30.320 [UIThread [56725304]] INFO  org.netxms.nxmc.AppPropertiesLoader - Properties loaded from nxmc.properties
10:47:32.632 [UIThread [56725304]] INFO  org.netxms.nxmc.BrandingManager - Branding manager initialized without custom providers
10:47:36.476 [ModalContext] INFO  org.netxms.nxmc.base.login.LoginJob - Connecting to 127.0.0.1 port 4701
10:47:36.499 [ModalContext] INFO  org.netxms.client.NXCSession - Connecting to 127.0.0.1:4701
10:47:36.505 [ModalContext] DEBUG org.netxms.client.NXCSession - Connection established, retrieving server info
10:47:36.513 [ModalContext] WARN  org.netxms.client.NXCSession - Connection failed (server=[60, 4, 1, 1, 1, 45, 1, 2] client=[60, 4, 1, 1, 1, 44, 1, 2])
10:47:36.517 [Network Message Receiver] DEBUG org.netxms.client.NXCSession - Receiver error
java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.endRead(NioSocketImpl.java:248)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:327)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at org.netxms.base.NXCPMessageReceiver.receiveMessage(NXCPMessageReceiver.java:140)
at org.netxms.client.NXCSession$ReceiverThread.run(NXCSession.java:489)
10:47:36.520 [Network Message Receiver] INFO  org.netxms.client.NXCSession - Network receiver thread stopped
10:47:37.530 [UIThread [56725304]] ERROR org.netxms.nxmc.Startup - Login job failed
org.netxms.client.NXCException: Der Server benutzt eine nicht-kompatible Version des Kommunikationsprotokolls (server=[60, 4, 1, 1, 1, 45, 1, 2] client=[60, 4, 1, 1, 1, 44, 1, 2])
at org.netxms.client.NXCSession.connect(NXCSession.java:2184)
at org.netxms.nxmc.base.login.LoginJob.run(LoginJob.java:121)
at org.eclipse.jface.operation.ModalContext$ModalContextThread$1.run(ModalContext.java:127)
at org.eclipse.rap.rwt.internal.lifecycle.ContextUtil.runNonUIThreadWithFakeContext(ContextUtil.java:67)
at org.eclipse.rap.rwt.internal.service.UISessionImpl.exec(UISessionImpl.java:251)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
10:48:02.085 [UIThread [32cd1514]] INFO  org.netxms.nxmc.Startup - NetXMS Management Console version 4.3.1 starting
10:48:02.085 [UIThread [32cd1514]] INFO  org.netxms.nxmc.Startup - State directory: C:\NetXMS-WebUI\jetty-base\work\jetty-0_0_0_0-4733-nxmc_war-_nxmc-any-\state
10:48:02.085 [UIThread [32cd1514]] INFO  org.netxms.nxmc.Startup - Registered themes: org.eclipse.rap.rwt.theme.Fallback, org.eclipse.rap.rwt.theme.Default, org.netxms.themes.light
10:48:02.090 [UIThread [32cd1514]] DEBUG org.netxms.nxmc.PreferenceStore - Calling preference initializer org.netxms.nxmc.modules.charts.ChartPreferenceInitializer@2b7a343e
10:48:02.151 [UIThread [32cd1514]] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Metropolis Medium
10:48:02.152 [UIThread [32cd1514]] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Metropolis Medium
10:48:02.179 [UIThread [32cd1514]] INFO  org.netxms.nxmc.AppPropertiesLoader - Properties loaded from nxmc.properties


What can i do? Is there missing something?


Greetings
Marco

#9
General Support / New Client - Pinboard
July 04, 2023, 10:49:27 AM

Hello @all,

testing the new client here... Small question regarding the pinboard:

- Pinboard is not saved at exit from client
- I cannot arrange the registers in pinboard in a different order

Is that by design oder a bug?

Greetings
Marco
#10
Hello @all,

today i installed the server and web-inferface (windows installer) in V4.4.0.

Server is running and functional, web interface is throwing error message:

14:47:40.874 [UIThread [6c74bd29]] ERROR org.netxms.nxmc.Startup - Login job failed
org.netxms.client.NXCException: Der Server benutzt eine nicht-kompatible Version des Kommunikationsprotokolls (server=[60, 4, 1, 1, 1, 45, 1, 2] client=[60, 4, 1, 1, 1, 44, 1, 2])
at org.netxms.client.NXCSession.connect(NXCSession.java:2184)
at org.netxms.nxmc.base.login.LoginJob.run(LoginJob.java:121)
at org.eclipse.jface.operation.ModalContext$ModalContextThread$1.run(ModalContext.java:127)
at org.eclipse.rap.rwt.internal.lifecycle.ContextUtil.runNonUIThreadWithFakeContext(ContextUtil.java:67)
at org.eclipse.rap.rwt.internal.service.UISessionImpl.exec(UISessionImpl.java:251)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)


Seems the WebUI Installer needs an Update... :-)


Greetings
Marco
#11
General Support / Debian 12 (Bookworm) Repository
June 13, 2023, 01:49:19 PM

Hello @all,

i know, maybe it's a little bit early to ask :-) : Will there be a Debian Bookworm repository in the next time?

Greetings
Marco
#12
General Support / MySQL InnoDB Buffer Pool Size
January 31, 2023, 10:19:02 AM

Hello @all,

at my NetXMS Server (Win10, MySQL V5.7.30, 16GB RAM) i see the follow event in the windows event log: 

InnoDB: Over 67 percent of the buffer pool is occupied by lock heaps or the adaptive hash index! Check that your transactions do not set too many row locks. Your buffer pool size is 16 MB. Maybe you should make the buffer pool bigger?. Starting the InnoDB Monitor to print diagnostics, including lock heap and hash index sizes.For more information, see Help and Support Center at http://www.mysql.com. 


Has anyone an idea what buffer pool size i have to use? On this machine is only NetXMS running and no other DB's.

Thanks in advance...

Greetings
Marco
#13
General Support / Subagent NETSVC not loading
January 30, 2023, 11:24:41 AM
Hello @all,

today i updated NetXMS to V4.3.0 (Win10, MySQL). In cause of this, the ServiceCheck DCI's are not working anymore. So i would migrate these to the  NetworkService.Check  function.

I changed the agent.conf of the NetXMS Server Agent, deleted the subagent portcheck.nsm entry and added the subagent netsvc.nsm entry...

I restart the agent but the subagent doesnt load... (please see attachments...)

Where is my fault? What i am doing wrong? Any help will be welcome... :-)


Greetings
Marco
#14
General Support / NetXMS WebUI 4.2.395 not starting
October 24, 2022, 05:35:52 PM
Hello @all,

today, i updatet our NetXMS server to 4.2.395 (windows 10 x64, mysql db). Server and legacy GUI working so far.

WebUI throws a error message in browser after upgrading (please see screenshot in attachment):
----
HTTP ERROR 404
Problem accessing /. Reason:
    ProxyServlet: /

Powered by Jetty://
----

Please see the logs from server in the attachment..


Any suggestions?


Greetings
Marco
#15
General Support / Maleformed eMail
May 10, 2022, 12:10:58 PM
Hello @all,

today i updated NetXMS to Version V4.1.283 (NetXMS Server is a Windows 10 64bit, with MySQL).

Since the update the NetXMS status mails comes malformed (please see the attached image).

What can i do?

Greetings
Marco

#16
Hi @all,

at install from the Server V3.9.156  (over V3.8, Win10, MySQL DB) i got the error:


2021.07.28 10:45:23.820 *I* [logger             ] Log file opened (rotation policy 2, max size 16777216)
2021.07.28 10:45:23.838 *I* [db.drv             ] Database driver "pgsql.ddr" loaded and initialized successfully
2021.07.28 10:46:13.417 *E* [                   ] Unable to establish connection with database (could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?)


(please see screenshot from install at attachment)

But we use MySQL as database.

The netxmsd.conf was completly rewriten from installer with postgress config data.

So i had to copy my old MySQL config into the netxmsd.conf file. After that i had to do a manual upgrade the database with "nxdbmgr upgrade".

After that, i can start the NetXMS Core Service.

Maybe a Dev should take a look into the setup process...

Greetings
Marco






#17
General Support / WindowsFirewall.State
June 16, 2021, 05:12:28 PM
Hello @all,

i want to monitor the windows firewall of our servers with the WindowsFirewall.State.

If i create a DCI with WindowsFirewall.State(public) (for the public firewall) so i get the value "0" (Firewall is off). If i activate the windows public firewall the DCI value doesn't change, it remains at "0".

How does the WindowsFirewall.State() work? Is "0" not the value if firewall profile is off?

Thanks for any help...


Greetings
Marco
#18

Hello @all,

today i updated NetXMS Server (Windows 10 64bit, MySQL 5.7) from V3.7.130 to V3.8.226...

The NetXMS Server seems to run properly but the NetXMS WebUI + Reporting Server (both same Version as NetXMS Server) doesen't start.

The NetXMS Agent (at the NetXMS Server) drops thousands and thousand of errors per second in Windows Eventlog (Message: "CRT Error"). Open the NetXMS Console seems to hang in cause of the thousands of Windows Eventlog Alarms from Agent. We have high CPU Usage on NetXMS Server for the windows eventlog service in cause of the many Errors generated by Agent.

Due to this behaviour I have restored the complete NetXMS Server to the previous Version (V3.7.130).

Are there any prerequesits for V3.8.226 i have to do or install on NetXMS Server that i can upgrade to V3.8.226 ??


Greetings
Marco
#19
General Support / NetXMS WebAdmin Error
September 25, 2020, 03:18:13 PM

Hello @all,

with WebUI V3.5.103 we get the following Error if we access the NetXMS Admin Panel in browser (System is Win10 64bit, NetXMS Server V3.5.90):

-----------------------------------------------------
HTTP ERROR 404

Problem accessing /. Reason:

    BridgeServlet: /

Powered by Jetty://
-----------------------------------------------------

Have anyone this issue too?

Greetings
Marco
#20

Hello @all,

the download from the WebUI Installer (https://www.netxms.org/download/releases/3.4/netxms-webui-3.4.318-x64.exe) leads to an 404 HTTP Error.

Can anyone fix this, please...  Many thanks.

Greetings
Marco