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 - Dbil1099

#1
General Support / Daylight savings time issue
April 09, 2021, 01:36:12 AM
Hi
I am running NetXMS 3.5 application on a Windows 2016 application server using Apache Tomcat for the web interface.

After daylight savings time came into effect, it was noticed that the web interface was one hour ahead of the console interface for the same events.  Users would see "last change" one hour ahead of the local time in DST.

I took a look at the java settings on the app server and applied an explicit time zone to the JVM
-Duser.timezone=Pacific Standard Time

This did not change anything even for newly logged events.

To see if this did effect the JVM, I changed it to
-Duser.timezone=GMT

I noticed the Tomcat logs did change and logged the JVM startup in GMT instead of PDT but the web interface still showed times as before - one hour head of local time.

On my desktop, I modified the Date/Time settings and disabled "adjust for daylight savings time automatically".
This did change the times displayed on my desktop browser but I did not see this as a solution.

How can I get the local times to display on browsers correctly?

Attachment shows console and web interface with different times for the same event.  Desktop web browser is one hour too far ahead.

Thanks.

Doug

#2
Hi,

Using NetXMS server 3.5.152 running on Windows 2016 (VM), agent 3.5.152 on running mostly Win 2016, Win 2019 VMs.

I  am getting a warning logged to the Windows Event Viewer for most servers on my monitoring list:

H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)

If I disable collection of performance counter metadata, the warning is no longer logged.
Servername>Properties>Polling> Disable reading of Windows performance counters metadata

Instead, if I switch to logging to a file with debug level 7, I can see a couple of parameters that are causing a problem.

2021.03.01 09:22:51.815 *D* [comm.cs.392        ] Requesting parameter "GPS.LocationData"
2021.03.01 09:22:51.815 *D* [comm.cs.392        ] GetParameterValue(): result is 404 (UNKNOWN_PARAMETER)

and less frequently:

        ] Requesting parameter "Hardware.System.ProductCode"
2021.03.01 09:53:00.371 *D* [comm.cs.409        ] GetParameterValue(): result is 404 (UNKNOWN_PARAMETER)
2021.03.01 09:53:00.371 *D* [comm.cs.409        ] Sending message CMD_REQUEST_COMPLETED (ID 310583; size 32; uncompressed)
2021.03.01 09:53:00.371 *D* [comm.cs.409        ] Received message CMD_KEEPALIVE (310584)
2021.03.01 09:53:00.371 *D* [comm.cs.409        ] Sending message CMD_REQUEST_COMPLETED (ID 310584; size 32; uncompressed)
2021.03.01 09:53:00.386 *D* [comm.cs.409        ] Received message CMD_GET_PARAMETER (310585)
2021.03.01 09:53:00.386 *D* [comm.cs.409        ] Requesting parameter "Hardware.System.Version"
2021.03.01 09:53:00.386 *D* [comm.cs.409        ] GetParameterValue(): result is 0 (SUCCESS)

Regarding "Location":
I looked into our "Location" policy and found that under settings, "Location for this device is off".
The option to change this is greyed out so its off by design.

Is there a way to fix these collection problems without disabling all performance counter collection?

View of the object data for a typical server (attached)

Regards,
Doug


#3
As of NetXMS 3.2, polling now includes "EtherNet/IP".
When I poll a windows server, I get a failure on this poll.  I can set the properties of a single server to
"Disable usage of EtherNet/IP for all polls".

My question is "How to I either fix this so it works OR disable it by default for all my windows servers?"

I am now using 3.5.90

Here is a log of how the error looks.

[16.11.2020 09:19:11] **** Poll request sent to server ****
[16.11.2020 09:19:11] Poll request accepted
[16.11.2020 09:19:11] Starting configuration poll for node Barnet.dmz
[16.11.2020 09:19:11] Checking node's capabilities...
[16.11.2020 09:19:11]    Checking NetXMS agent...
[16.11.2020 09:19:11]    NetXMS agent is active
[16.11.2020 09:19:11]    Reading list of available Windows Performance Counters...
[16.11.2020 09:19:11]    164 counters read
[16.11.2020 09:19:11]    Checking EtherNet/IP...
[16.11.2020 09:19:12]    Cannot get device identity via EtherNet/IP (CONNECT FAILED)
[16.11.2020 09:19:12] Capability check finished
...

I have already added tried looking at the log file by adding to the Agent Config file for one of the servers to include
DebugLevel = 7

The log does not include any additional errors as compared to when I have manually configured disabling this poll on the monitored server.

Thanks in advance.