Page 1 of 1

Alert Last Run date and time off by 10 minutes causing issue

Posted: Tue Jul 23, 2019 8:43 am
by jkelly1959
The last Run date at more specifically the time 10 minute behind system time. Manually running alert works. Timing goes off but timeframe doesn't appear adheard too.

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Tue Jul 23, 2019 2:13 pm
by jkelly1959
OK 2 things. The difference is an hour and 10 minutes. the settings on the admin global screen is for UTC-5 Eastern US and Canada

on the alert menu last check run shows Date Time+1h10m -0400 which doesn't appear to be the global set time plus 10 minutes

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Tue Jul 23, 2019 2:26 pm
by cdienger
So if the system time is 15:14:01, the last run time is showing 14:04:01 ?

How frequently is the alert configured to run? Please provide a screenshot of the alert's configuration. Also check under Admin > System > Command Subsystem, and verify that run_all_alerts is set to run every 20 seconds.

What version of NLS?

What OS is NLS installed on?

What is the output of the 'date' command when you run it on the NLS command line?

What timezone is set when you run 'grep date.timezone /etc/php.ini' ?

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Wed Jul 24, 2019 12:40 pm
by jkelly1959
Thanks for your help... here are some answers...the time thing is confusing

so if the system time is 15:14:01, the last run time is showing 14:04:01 ?
This thing has me going in circles If last run time is Wed, 24 Jul 2019 13:29:21 -0400
Current date on system is Wed Jul 24 13:19:12 EDT 2019 so 10 minutes off. Sorry for any confusion


How frequently is the alert configured to run? Please provide a screenshot of the alert's configuration. Also check under Admin > System > Command Subsystem, and verify that run_all_alerts is set to run every 20 seconds.
Alerts are configured either 1m 11m or 2m 12m with the 11m or 12m to try and get around the 10min gap in times. I tried 1m 1m and 2m 2m with no luck…limited the other way
Attachments added 1 alert screenshot included called Alert config screenshot.
run_all_alerts Waiting SUCCESS 07/24/2019 13:34:01 20 seconds 07/24/2019 13:34:21 System Edit Run

Note system time Wed Jul 24 13:24:10 EDT 2019



What version of NLS?
2.0.7
What OS is NLS installed on?
SN:LNXVNAGHQ002.CINFIN.COM#OS:Red Hat Enterprise Linux Server release 7.6 (Maipo)#SP:0#IP:10.224.4.33#BT:2019-04-26 10:12#CPU:2 Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz#Mem:23929.95##

What is the output of the 'date' command when you run it on the NLS command line?
See next answer
What timezone is set when you run 'grep date.timezone /etc/php.ini' ?

; http://php.net/date.timezone
date.timezone = US/Eastern
[jkelly@lnxvnaghq002 ~]$
[jkelly@lnxvnaghq002 ~]$ date
Wed Jul 24 13:35:54 EDT 2019
[jkelly@lnxvnaghq002 ~]$

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Wed Jul 24, 2019 12:42 pm
by jkelly1959
onemore

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Wed Jul 24, 2019 2:40 pm
by jkelly1959
OK....We fount at least 1 problem OUR end. Apparently cron was not running on the server and our synchronization was off. Once that was corrected by our Linux team things seem to be running better. THe times are no longer 10 minutes off and my first 2 tests appear to be successful.

I will keep you posted with our testing to make sure. Probably wont update till tomorrow late

Re: Alert Last Run date and time off by 10 minutes causing i

Posted: Wed Jul 24, 2019 3:00 pm
by cdienger
Thanks for the update. Please keep us posted.