uchiwa icon indicating copy to clipboard operation
uchiwa copied to clipboard

Invalid date listed as beginning time of Uchiwa silence window

Open zenmetsu opened this issue 7 years ago • 3 comments

Expected Behavior

Expected that a silence event will be created with the specified start and end times.

Current Behavior

When a client is silenced, regardless of the specified time for the scheduled window, when going to the silenced tab, all entries show "invalid date"

Additionally, querying the API endpoint shows that the event is not being created with the correct start time. When the silence window is being created, I select a date next week as the start time, however once created the silence event appears to be active immediately.

Possible Solution

Bug #705 reported the same issue over a year ago. I'm running Uchiwa 1.2.0 and have replicated this problem. I restarted Uchiwa and saw no change; the items remain listed with "invalid date" for the start time.

Your Environment

  • Uchiwa version used: 1.2.0
  • Sensu version used: 1.4.3
  • Operating System and version (e.g. Ubuntu 14.04): debian stretch container

zenmetsu avatar Sep 20 '18 12:09 zenmetsu

Updated to Uchiwa 1.3.1 and observed same behavior.

zenmetsu avatar Sep 20 '18 20:09 zenmetsu

screenshot_2018-09-20 clients uchiwa 2 screenshot_2018-09-20 silenced uchiwa

zenmetsu avatar Sep 20 '18 20:09 zenmetsu

Note in screenshot that silence entry should start on 24-Sept at 2100 and expire 1 hour later, however the actual entries are created with current time as start time and expiration 1 hour from now. This is actually correct as querying the API endpoint shows that the entry was created without a start time and with 3600 sec as expiration.

zenmetsu avatar Sep 20 '18 20:09 zenmetsu