Hello @all,
is it possible to log the user sessions (User, Client name, Client Adress, ...) to the NetXMS event log?
Greetings
Marco
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[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 ****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 started2024.06.06 15:31:37.386 *I* [linux ] Unable to parse /proc/drbd, DRBD data collector will not start10: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.properties14: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) ProxyServlet: /
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?)