sensu / uchiwa

Uchiwa is a simple yet effective open-source dashboard for the Sensu monitoring framework.
https://uchiwa.io
MIT License
920 stars 174 forks source link

Issue Request should be disabled on keepalive checks #797

Open cwjohnston opened 6 years ago

cwjohnston commented 6 years ago

Expected Behavior

"Issue Request" button should be disabled for keepalive check result.

Current Behavior

"Issue Request" button is enabled for keepalive check result. Using the "Issue Request" button for this check result will always return an error.

Possible Solution

Disable the "Issue Request" button for keepalive check on any client

Steps to Reproduce (for bugs)

  1. Locate any non-proxy client in an Uchiwa instance
  2. Click through to the keepalive check result view
  3. Click "Issue Request"
  4. Observe error notification

Context

As keepalive events are a special case (created by server on behalf of an AWOL client), specifying the keepalive check as part of a call to the /requests API endpoint will always fail.

Per https://github.com/sensu/sensu/issues/1902, the option to "issue request" for keepalive check results is misleading.

Your Environment

2018-09-11 at 9 00 am

sufiyanghori commented 6 years ago

@cwjohnston, is there any other way to trigger keep-alive check from server just like other checks?