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

#1
General Support / Re: Daylight savings time issue
April 29, 2021, 01:46:12 AM
I have updated my test server to v3.8 using
netxms-server-3.8.267-x64.exe

This included switching from Java8 to Java OpenSDK13.

My web browser timestamps are still one hour ahead of what they is supposed to be.

Any solution would be greatly appreciated.

Regards
Doug
#2
I had a similar problem - nxmc - console (Windows) produced an error after select of an .npi file.

My NetXMS Core service was being run by a service account to be able to minimize access granted.
I found that if my service account was added to the Administrators group, I could add an .npi as long as the corresponding nxagent*.exe was present. I noticed during the .npi selection, the .exe gets copied to the packages folder.  I used ProcessMonitor to look into the error and discover path of the failing file copy.

By granting "ReadAndExecute,Modify"  to my service account on folder \NetXMS\var\packages, it no longer needed to be part of the Administrators group.

Now package manager adds/removed seems to work.

#3
General Support / Re: Daylight savings time issue
April 14, 2021, 01:49:22 AM
Hi
I tried a few browsers, mostly Edge (Chrome).
Here is a comparison for various timezones and some browsers.  I have screen shots for each situation in case you need to see them offline.  The results are quite inconsistent.  In those cases, I closed my browser(s) and restarted with the same inconsistency.

The tables that I would be fine if only I were in the "Central Time" or "Eastern Time"!

NB - added Google Chrome and updated Firefox-(Arizona Time + Eastern Time.)

Thanks.

Regards
Doug
#4
General Support / Re: Daylight savings time issue
April 13, 2021, 06:08:02 PM
In case there was an issue with the Tomcat/Java used by the instance, I installed netxms-webui-3.5.125-x64.exe (self-contained Jetty engine).  The result was the same - the timestamp on the application server was mismatched by 1 hour for the web session. 



The timezone on each desktop is "Pacific Standard Time".  When I change my desktop Date/Time setting to turn OFF "Adjust for daylight saving time automatically", the timestamps of the console and the webui now match but my desktop clock is one hour too early.

We have been using NetXMS and did not have an issue with daylight saving time before.

Any ideas on how can I fix this.
#5
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

#6
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


#7
Hi Alex,

This works fine.

It gets applied once the NetXMS agent on the target server is restarted.

Thanks!

Doug
#8
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.