NCPA - API Endpoint is SHowing Different Timezone

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

NCPA - API Endpoint is SHowing Different Timezone

Post by bsanjay »

Hello Team,
We are monitoring the current timezone on liinux servers using NCPA API Endpoint System -> Timezone. We have nearly 40 servers configured for timezone monitoring and for 5 servers we are seeing the different timezone i.e we have CDT timezone on linux server but it's showing EDT on NCPA API Endpoint.

We have validated it by running date and timedatectl command on Linux servers and it shows CDT Timezone on those servers, but on NCPA API Endpoint it shows as EDT.

Need your help understanding that why we are seeing this difference and if NCPA is using different approach to check Timezone.

PFA screenshot of NCPA API Endpoint and output of date command.

[msapp@prod01werspl]$ date
Sat May 30 00:44:27 CDT 2020


Best Regards,
Sanjay Batkura
You do not have the required permissions to view the files attached to this post.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: NCPA - API Endpoint is SHowing Different Timezone

Post by jbrunkow »

There are several clocks that could be misaligned on the systems you are monitoring. If timedatectl is reflecting a different time, then maybe the API is reading the time set for another related service. Please read through the following linked documentation for steps on how to check the time zone for various components on a server.
NAGIOS SYSTEM TIME
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: NCPA - API Endpoint is SHowing Different Timezone

Post by bsanjay »

Hello JBrunkow,
Restarting the NCPA Agent helped. Thanks for your help.

Best Regards,
BSanjay
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA - API Endpoint is SHowing Different Timezone

Post by scottwilkerson »

bsanjay wrote:Hello JBrunkow,
Restarting the NCPA Agent helped. Thanks for your help.

Best Regards,
BSanjay
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked