centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

Start and end dates of new downtimes defaults to the previous day #8266

Closed ja-frog closed 4 years ago

ja-frog commented 4 years ago

OS: CentOS 7.7.1908 Type: VM, ESXi 6.5 Centreon Version: 19.10.4(see below for detailed list) Browsers used: Firefox 72.0.1 Chrome 79.0.3945.117 Microsoft Edge 40.15063.674.0 Type: Central with poller

After updating to Centreon 19.10.4 we have seen the initial dates populated for downtimes for start and end set to the previous day. ie, if I were to hit create downtime at 1330 on January 16th, the downtime dialog would pop up with a start date of January 15th and a start time of 1330. So right time wrong date. This occurs both when adding a downtime by checking the box next to a host or service in Status Details as well as "Add Downtimes" under the downtimes list.

Expected result: The start and end dates of a new downtime would default to today's date. This is what has happened in the past.

Prior to the update the behavior was as expected.

centreon-plugin-Hardware-Storage-Violin-3000-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Prometheus-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Sun-Sfxxk-Pssh-20191219-152203.el7.centos.noarch centreon-plugin-Network-Silverpeak-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ds5000-Smcli-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Network-ExpressRoute-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ts3100-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Vtom-Restapi-20191219-152203.el7.centos.noarch centreon-widget-engine-status-19.10.0-1.el7.centos.noarch centreon-plugin-Hardware-Storage-Buffalo-Terastation-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Zookeeper-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Sybase-20191219-152203.el7.centos.noarch centreon-plugin-Network-Routers-Redback-Snmp-20191219-152203.el7.centos.noarch centreon-release-19.10-1.el7.centos.noarch centreon-plugin-Hardware-Kvm-Adder-Aim-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Dlink-Dgs3100-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Discovery-Nmap-20181019-1.el7.noarch centreon-plugin-Cloud-Azure-Management-Monitor-Api-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Kubernetes-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Citrix-Sdx-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Bind9-Web-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Lenovo-Sseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Hp-Ilo-Xmlapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Weblogic-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Centreon-Map-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Network-Aerohive-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Wazuh-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Webservers-Tomcat-Webmanager-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Purestorage-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Clamav-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Smtp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Dell-Sseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Storage-StorageAccount-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Lenovo-Xcc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Adva-Fsp3000-Snmp-20191219-152203.el7.centos.noarch centreon-widget-global-health-19.10.0-1.el7.centos.noarch centreon-plugin-Cloud-Azure-Management-Resource-Api-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Docker-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Rabbitmq-Restapi-20191219-152203.el7.centos.noarch centreon-broker-core-19.10.2-1.el7.centos.x86_64 centreon-plugin-Applications-Protocol-Imap-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-Storeonce-Ssh-20191219-152203.el7.centos.noarch centreon-broker-cbmod-19.10.2-1.el7.centos.x86_64 centreon-plugin-Applications-Cisco-Ise-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Riverbed-Steelhead-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Netasq-Ssh-20170811-1.el7.noarch centreon-plugin-Network-Switchs-Arista-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ups-Alpha-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Informix-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Fujitsu-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Onedrive-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-3com-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Datadomain-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Netapp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Callmanager-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Ec2-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Juniper-Ggsn-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Standard-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Geist-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Selenium-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Sensorip-Snmp-20191219-152203.el7.centos.noarch centreon-widget-graph-monitoring-19.10.0-1.el7.centos.noarch centreon-plugin-Applications-Sahipro-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp-20191219-152203.el7.centos.noarch centreon-database-19.10.4-1.el7.centos.noarch centreon-plugin-Hardware-Ups-Apc-Snmp-20191219-152203.el7.centos.noarch centreon-engine-extcommands-19.10.8-4.el7.centos.x86_64 centreon-plugin-Network-Evertz-FC7800-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Juniper-Ssg-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-S3-Api-20191219-152203.el7.centos.noarch centreon-plugin-Virtualization-VMWare-daemon-3.0.1-20190412144718.el7.centos.noarch centreon-plugin-Applications-Databases-Elasticsearch-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Kafka-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Telephony-Avaya-Mediagateway-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Ibm-Softlayer-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Dell-Me4-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Juniper-Isg-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Cisco-Smallbusiness-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Unisphere-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Peplink-Pepwave-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Keepalived-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Udp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Storagetek-Sl-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Dell-6200-20191219-152203.el7.centos.noarch centreon-plugin-Network-Routers-Juniper-Mseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Telephony-Avaya-Aes-Snmp-20191219-152203.el7.centos.noarch centreon-widget-hostgroup-monitoring-19.10.0-1.el7.centos.noarch centreon-plugin-Applications-Database-Cassandra-Jmx-20191219-152203.el7.centos.noarch centreon-pp-manager-19.10.0-5.el7.centos.noarch centreon-poller-centreon-engine-19.10.4-1.el7.centos.noarch centreon-plugin-Network-Extreme-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Vmware-Velocloud-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Tftp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Webservers-Nginx-Serverstatus-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Purestorage-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Oracle-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Ntp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Paloalto-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Ruckus-Scg-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Elasticache-Api-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Webservers-Apache-Serverstatus-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Lambda-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Dell-N4000-20191219-152203.el7.centos.noarch centreon-plugin-Network-Loadbalancers-F5-Bigip-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Tcp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-TrendMicro-Iwsva-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Dell-TL2000-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Video-Axis-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Lmsensors-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Polycom-Rmx-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Camera-Hanwha-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-servers-ibm-imm-snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Dhcp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Rad-Airmux-Snmp-20191219-152203.el7.centos.noarch centreon-widget-servicegroup-monitoring-19.10.0-1.el7.centos.noarch centreon-clib-19.10.0-6.el7.centos.x86_64 centreon-plugin-Hardware-Storage-Netapp-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Stormshield-Snmp-20191219-152203.el7.centos.noarch centreon-license-manager-19.10.0-1.el7.centos.noarch centreon-web-19.10.4-1.el7.centos.noarch centreon-plugin-Network-Fritzbox-Snmp-20171013-1.el7.noarch centreon-plugin-Hardware-Ups-Mge-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Windows-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Synology-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Centreon-Poller-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-Eva-Cli-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Adic-Tape-Snmp-20191219-152203.el7.centos.noarch centreon-broker-19.10.2-1.el7.centos.x86_64 centreon-plugin-Hardware-Storage-Dell-Fluidfs-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Ruckus-Snmp-20191219-152203.el7.centos.noarch centreon-broker-cbd-19.10.2-1.el7.centos.x86_64 centreon-plugin-Network-Cisco-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Php-Fpm-Web-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Hirschmann-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Alcatel-Omniswitch-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Serverscheck-Sensorgateway-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Acmepacket-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Riverbed-Interceptor-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Isilon-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Video-Openheadend-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Solr-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Network-Nortel-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Hp-Vc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Pacemaker-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Network-Loadbalancers-Netscaler-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Cisco-Ucs-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-Msl-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ats-Apc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Cisco-Cms-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Firebird-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Sonicwall-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Warp10-Sensision-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Fs900-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Quantum-Scalar-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Clariion-Navisphere-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Aruba-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-Lefthand-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ts2900-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Fortinet-Fortimanager-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Voip-Asterisk-Ami-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Voip-Asterisk-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Beeware-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ts3200-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Fritzbox-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Dell-IDrac-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Radware-Alteon-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Netbotz-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ds3000-Smcli-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Peoplesoft-Jmx-20191219-152203.el7.centos.noarch centreon-widget-live-top10-cpu-usage-19.10.0-1.el7.centos.noarch centreon-plugin-Applications-Ansible-Tower-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Skype-2015-Mssql-20191219-152203.el7.centos.noarch centreon-widget-service-monitoring-19.10.1-1.el7.centos.noarch centreon-plugin-Network-Aruba-Instant-Snmp-20191219-152203.el7.centos.noarch centreon-cwrapper-perl-0.1-1.el7.centos.x86_64 centreon-plugin-Network-Oracle-Infiniband-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Dell-Md3000-Smcli-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Voip-Asterisk-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Meraki-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Telnet-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Device-Safenet-Keysecure-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Dell-Equallogic-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Hwgste-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Qsan-Nas-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Wlc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Yammer-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Routers-Atrica-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Dns-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Exchange-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Sun-Mgmtcards-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Polycom-Groupseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Stormshield-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Centreon-Database-20191219-152203.el7.centos.noarch centreon-plugin-Network-Juniper-Mag-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Abb-Cms700-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Openldap-Ldap-20191219-152203.el7.centos.noarch centreon-plugin-Network-Netgear-Mseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Billing-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Ucopia-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Voice-Gateway-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Printers-Generic-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Mongodb-20191219-152203.el7.centos.noarch centreon-plugin-Network-Teltonika-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Kinesis-Api-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Cloudwatch-Api-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Teams-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Pfsense-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Slack-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-Loadbalancers-Kemp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Alvarion-Breezeaccess-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Modbus-20191219-152203.el7.centos.noarch centreon-plugin-Virtualization-Vmware2-Connector-Plugin-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ups-Nitram-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Efficientip-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Netasq-Snmp-20170807-1.el7.noarch centreon-plugin-Cloud-Prometheus-Kubernetes-Api-20191219-152203.el7.centos.noarch centreon-plugin-Notification-Highsms-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Xtremio-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Webservers-Tomcat-Jmx-20191219-152203.el7.centos.noarch centreon-widget-httploader-19.10.0-1.el7.centos.noarch centreon-connector-ssh-19.10.0-1.el7.centos.x86_64 centreon-plugin-Operatingsystems-Linux-Local-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Mysql-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Redis-Restapi-20191219-152203.el7.centos.noarch centreon-trap-19.10.4-1.el7.centos.noarch centreon-auto-discovery-server-19.10.0-2.el7.centos.noarch centreon-plugin-Operatingsystems-Windows-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hitachi-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Ironport-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Cloudfront-Api-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Rudder-Restapi-20191219-152203.el7.centos.noarch centreon-connector-perl-19.10.0-1.el7.centos.x86_64 centreon-plugin-Hardware-Storage-Netgear-Readynas-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Aix-Local-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-Msa2000-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Celerra-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Rds-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Huawei-Hmm-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Network-Digi-Sarian-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Openvpn-Omi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Openweathermap-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Postgresql-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Exagrid-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Antivirus-Mcafee-Webgateway-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Nokia-Timos-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Database-SqlDatabase-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Kvm-Avocent-Acs-6000-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Nrpe-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Waas-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Juniper-Ex-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Clever-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Masterclock-Ntpserver-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Hp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Atto-Fibrebridge-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ats-Eaton-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Virtualization-Nutanix-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Telephony-Alcatel-OXE-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Management-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Zyxel-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Loadbalancers-Netscaler-Mpx8000-Snmp-20170120-1.el7.noarch centreon-plugin-Cloud-Azure-Database-SqlServer-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Akcp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Moxa-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Antivirus-Kaspersky-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Mac-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Vcs-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Ftp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cyberoam-Snmp-20191219-152203.el7.centos.noarch centreon-widget-grid-map-19.10.0-1.el7.centos.noarch centreon-plugin-Hardware-Servers-Dell-Cmc-Snmp-20191219-152203.el7.centos.noarch centreon-common-19.10.4-1.el7.centos.noarch centreon-plugin-Cloud-Gcp-Compute-ComputeEngine-Api-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Openmetrics-20191219-152203.el7.centos.noarch centreon-19.10.4-1.el7.centos.noarch centreon-plugin-Hardware-Sensors-Sensormetrix-Em01-Web-20191219-152203.el7.centos.noarch centreon-plugin-Network-Audiocodes-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Alcatel-Omniswitch-6850-20170329-1.el7.noarch centreon-engine-19.10.8-4.el7.centos.x86_64 centreon-plugin-Applications-Databases-Mssql-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Network-VpnGateway-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Juniper-Trapeze-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-3par-7000-Ssh-20190704-123459.el7.centos.noarch centreon-plugin-Hardware-Servers-Sun-Mseries-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Hibernate-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Redis-Cli-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Aix-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Scom-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Http-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Huawei-Ibmc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Hp-Oneview-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Network-H3c-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Php-Apc-Web-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-3par-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Network-Oneaccess-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hp-P2000-Xmlapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Nimble-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Freebsd-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Jboss-Jmx-20191219-152203.el7.centos.noarch centreon-plugin-Virtualization-Vmware2-Esx-Wsman-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Biztalk-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Bgp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Ups-Powerware-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Apic-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Backup-Emc-Recoverypoint-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Network-Infoblox-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Checkpoint-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Sendmail-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Elb-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Esa-Xmlapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Hp-Blade-Chassis-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Devices-Gorgy-Ntpserver-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Ovh-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Oracle-Zs-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Network-NetworkInterface-Api-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Linux-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Mitel-3300icp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Sonus-SBC-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Ldap-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ds4000-Smcli-20191219-152203.el7.centos.noarch centreon-plugin-Network-Raisecom-Snmp-20191219-152203.el7.centos.noarch centreon-widget-host-monitoring-19.10.0-1.el7.centos.noarch centreon-plugin-Applications-Github-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Ibm-Bladecenter-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Compute-VirtualMachine-Api-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Aws-Apigateway-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Dell-Ml6000-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Brocade-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Oracle-Otd-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Jenkins-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Cloudfoundry-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Mail-Bluemind-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Haproxy-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Fortinet-Fortigate-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Digi-Portserverts-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Freebox-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Avid-Isis-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Hpux-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Influxdb-20191219-152203.el7.centos.noarch centreon-plugin-Network-Ruggedcom-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Bgp-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Watchguard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Qnap-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Overland-Neo-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Digi-AnywhereUSB-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Dlink-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-widget-tactical-overview-19.10.0-1.el7.centos.noarch centreon-plugin-Network-Switchs-Hp-Procurve-Snmp-20191219-152203.el7.centos.noarch centreon-license-manager-common-19.10.0-1.el7.centos.noarch centreon-base-config-centreon-engine-19.10.4-1.el7.centos.noarch centreon-plugin-Applications-Protocol-Ospf-20191219-152203.el7.centos.noarch centreon-engine-daemon-19.10.8-4.el7.centos.x86_64 centreon-plugin-Cloud-Azure-Network-VirtualNetwork-Api-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Informix-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Virtualization-Proxmox-Ve-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Apc-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Perle-Ids-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Colubris-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Arkoon-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Fujitsu-Eternus-Dx-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Microsoft-Office365-Sharepoint-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Routers-Peplink-Balance-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Huawei-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Hp-Standard-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Vmware-Vcsa-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Cisco-Prime-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Operatingsystems-Solaris-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Panzura-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Eaton-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Citrix-Appacceleration-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Sophos-Es-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Generic-Bluecoat-Snmp-20191219-152203.el7.centos.noarch centreon-widget-live-top10-memory-usage-19.10.0-1.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Ts3500-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Prometheus-cAdvisor-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Supermicro-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Stonesoft-20191219-152203.el7.centos.noarch centreon-broker-storage-19.10.2-1.el7.centos.x86_64 centreon-plugin-Hardware-Storage-Hp-Storeonce-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Squid-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Emc-Vplex-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-X509-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Kaminario-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Servers-Dell-Openmanage-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Quantum-Dxi-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Schleifenbauer-Gateway-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Azure-Management-Recovery-Api-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Emerson-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Ibm-Storwize-Ssh-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Protocol-Radius-20191219-152203.el7.centos.noarch centreon-plugin-Network-Loadbalancers-A10-AX-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Databases-Sap-Hana-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Monitoring-Centreon-Central-20191219-152203.el7.centos.noarch centreon-connector-19.10.0-1.el7.centos.x86_64 centreon-plugin-Cloud-Microsoft-Office365-Skype-Api-20191219-152203.el7.centos.noarch centreon-perl-libs-19.10.4-1.el7.centos.noarch centreon-plugin-Hardware-Devices-Aeg-Acm-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Storage-Hitachi-Hnas-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Switchs-Mrv-Optiswitch-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-IBM-Tsm-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Pdu-Raritan-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Cloud-Prometheus-Node-Exporter-Api-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Juniper-Sa-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Barracuda-Cloudgen-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Network-Firewalls-Cisco-Asa-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Video-Zixi-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Hardware-Sensors-Jacarta-Snmp-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Voip-3cx-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Pvx-Restapi-20191219-152203.el7.centos.noarch centreon-plugin-Applications-Lync-2013-Mssql-20191219-152203.el7.centos.noarch

UrBnW commented 4 years ago

If you know how to patch, you should give https://github.com/centreon/centreon/pull/7606 a try.

ja-frog commented 4 years ago

I gave it a try but it doesn't seem to have had any impact on this problem.

I stepped through localizedDatepicker.js in a debugger and found that it is getting this incorrect date when it sets the default. defaultDate = new Date(moment().tz(localStorage.getItem('realTimezone')).format("YYYY-MM-DD")); The timezone being retrieved from localStorage is correct.

I broke this out into components and stepped through it to see where things might be going wrong. The date created by m = moment().tz(localStorage.getItem('realTimezone')).format("YYYY-MM-DD"); is correct. For today it is 2017-01-17. defaultDate = new Date(m); This takes us back one day, "Thu Jan 16 2020 18:00:00 GMT-0600 (Central...". I imagine the time portion owes to the input only have the date portion. I'm just baffled as to why it is going back a day.

UrBnW commented 4 years ago

I remember having faced same sort of issue with users having non-enforced timezone. Be sure to enforce a Timezone / Location in your Configuration > Users > Contacts / Users > Centreon Authentication settings, and give a new try ?

image

ja-frog commented 4 years ago

Good thought since most users don't have this set. The timezone is set to my local timezone for my user. Still seeing the problem. :(

In looking at this, I think that anyone with a negative offset from GMT is going to have the same experience that I am. Those with 0 or positive offsets would not have any problems.

defaultDate = new Date(moment().tz(localStorage.getItem('realTimezone')).format("YYYY-MM-DD")); basically passes a string in the format 2020-01-23 to the JavaScript Date object constructor. That constructor seems to assume that it received a GMT timestamp and converts it to whatever your browser has for local time. If you are at +1 then the resulting timestamp is 2020-01-23 01:00:00. The time portion is thrown away so everything is good. If you are in, say, Edmonton, with an offset of -7, then you end up with 2020-01-22 17:00:00 which would result in 2020-01-22 appearing in the downtime datepicker init value like I am seeing.

A possible fix for the start date init value would be to change defaultDate = new Date(moment().tz(localStorage.getItem('realTimezone')).format("YYYY-MM-DD")); to defaultDate = new Date(moment().tz(localStorage.getItem('realTimezone')).format()); so that the string passed to the Date constructor does include the timezone.

This only fixes the start date, though. And it might break what has been done with regards to other issues with timezones. Not certain.

Am I totally off?

UrBnW commented 4 years ago

You should give #7606 a new try, I've totally reworked it :+1:

ja-frog commented 4 years ago

Applied #7606. It now shows today's date and everything else is still working correctly from what I can see.

Many, many thanks

sc979 commented 4 years ago

Hi @ja-frog , The pull request with the modifications have been merged : https://github.com/centreon/centreon/pull/8486, and will be merged on the specified next targeted version after validation. Best Regards, sc979