Icinga / icingaweb2

A lightweight and extensible web interface to keep an eye on your environment. Analyse problems and act on them.
https://icinga.com/get-started/
GNU General Public License v2.0
809 stars 282 forks source link

Wrong time in "Reschedule Host Check" #3248

Closed tmueller2017 closed 6 years ago

tmueller2017 commented 6 years ago

Expected Behavior

Check Time in Reschedule Host Check should have the current local time as default value.

Current Behavior

The value is the current time +1 hour.
This behaviour is different when scheduling a service downtime. The standard value there is the current time.

Steps to Reproduce (for bugs)

  1. Set timezone on server to 'Europe/Berlin'
  2. Set date.timezone in php.ini to 'Europe/Berlin'
  3. Install icingaweb2
  4. Reschedule Host Check via Browser

Context

I want to reschedule a hostcheck and have it done immediately. Right now I have to set the vaule manually to my localtime.

Your Environment

lippserd commented 6 years ago

Hi,

Thanks for the report. If you want to reschedule an immediate check, please us the Check Now action. The default for scheduling downtimes assumes that you want to schedule a downtime now. The default for rescheduling a check is that you want to schedule the check in the future. I see no reason why we should change this. But I'm open for feedback.

Best regards, Eric