article Troubleshooting time discrepancies

This solution may be useful if you observe time discrepancies such as the Duration status column for a service (incorrectly) showing +364 days or a graph displaying a time that is several hours in the future.

This type of discrepancy may be caused by inconsistent time zone configurations between the OS, database, PHP and the JVM.

  • Verify the time of the OS on the up.time monitoring station and Database Server.
  • Login as the uptime user and verify the time configuration of the uptime database.
    • On MySQL: select now()
    • On SQL Server: select current_timestamp;
    • On Oracle: select current_timestamp() from dual;
  • To verify the PHP time configuration:
    • Browse to your /<up.time dir>/GUI directory.
    • Create a file named time.php with the following content:

<?php echo "current timestamp:" .time(); echo " current time: " .date("F j, Y, g:i a");?>

    • Save the file and browse to time.php to verify:

http://<impactedhostname>:9999/time.php

If all time zones tested above match your desired time zone and you continue to experience a time discrepancy, there is likely a problem with the JVM.  To force the JVM to a specific time zone, make the following change to the wrapper.conf (Windows) or uptime.lax (Linux) file:

  • Append the following values to the additional parameters:

# Java Additional Parameters

wrapper.java.additional.1= -Duser.timezone=<time/zone>

 

Where <time/zone> is a standard Java Time Zone value (click here for an alphabetical list).

Related Articles


Troubleshooting WMI with WMIDIAG

RatingViews
article

The WMIDIAG tool runs a diagnostic test against a system's WMI configuration and working status, reports any errors, and explains the configuration settings.After running the tool, review the...

By: uptime Support | Date Created: 2-11-2012 | Last Modified: 7-25-2013 | Index: 576

  4529

Troubleshooting Network Device Issues with snmpwalk

RatingViews
article

This article explains how to use the snmpwalk command line tool (Linux) or the iReasoning MIB Browser (Windows) to explore which SNMP OIDs are provided from a specific network device.  This output...

By: uptime Support | Date Created: 9-12-2012 | Last Modified: 9-13-2012 | Index: 588

  3856

Active Directory / LDAP Authentication Troubleshooting

RatingViews
article

This solution may apply to AD or LDAP authentication failures when using the fully qualified domain name (FQDN) to configure up.time authentication methods. The FQDN may be required but this...

By: uptime Support | Date Created: 9-28-2011 | Last Modified: 9-29-2011 | Index: 566

  3895

'Default up.time data store' monitor crit after adding a vCenter ...

RatingViews
article

As part of the initial install of up.time, the Monitoring Station itself is setup as an element within up.time. This sample element is initially setup to use localhost as it's hostname, along...

By: uptime Support | Date Created: 3-8-2013 | Last Modified: 3-8-2013 | Index: 592

  2832

Integrating up.time NetFlow with up.time

RatingViews
article

Learn how to configure up.time to point to your Scrutinizer instance to enable click-through graphing, as well as an integrated Scrutinizer view from Global Scan.

By: uptime Support | Date Created: 7-8-2010 | Last Modified: 2-8-2013 | Index: 459

  5478

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement