uchiwa
uchiwa copied to clipboard
feature request: create interface for manual triggering of alerts
In Nagios it is possible through the gui to trigger an alert using a passive check. This is useful if you want to test out the alerting mechanism without actually affecting the service. In sensu you can use the api results interface on the server to do the same thing by issuing a command like
curl -s -i -X POST -H 'Content-Type: application/json' -d '{"source": "sensu-client.example.com", "name": "check-ram-windows", "output": "Dummy Windows RAM check", "status": 1}' http://127.0.0.1:4567/results
to trigger a warning for the check-ram-windows check on the host sensu-client.example.com.
It would be useful if this could be incorporated into the GUI for a check, where it would build an appropriate post for the server and check, with the output entered by the user.
This would be useful!
Thought I was going crazy, the docs seem to suggest that this was already implemented but I'm using 0.16 and it certainly isn't there
The docs show a mechanism to issue a check request, not send a dummy alert.
My bad, I completely misread your original post.
However I do think it'd be nice for a simple way to test alerts (or more broadly I guess handlers) through the Uchiwa dashboard