From 89f763e65d3474b3e051c5fcd61fe33151a4b0d2 Mon Sep 17 00:00:00 2001 From: boomam <37086258+boomam@users.noreply.github.com> Date: Sun, 27 Nov 2022 19:27:10 -0500 Subject: [PATCH 1/2] Addition of notification testing command to troubleshooting Addition of notification testing command to troubleshooting. --- docs/TROUBLESHOOTING_NOTIFICATIONS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/TROUBLESHOOTING_NOTIFICATIONS.md b/docs/TROUBLESHOOTING_NOTIFICATIONS.md index 2f2abee..9929de7 100644 --- a/docs/TROUBLESHOOTING_NOTIFICATIONS.md +++ b/docs/TROUBLESHOOTING_NOTIFICATIONS.md @@ -24,3 +24,7 @@ SCRUTINY_MESSAGE - eg. "Scrutiny SMART error notification for device: %s\nFailur SCRUTINY_HOST_ID - (optional) eg. "my-custom-host-id" ``` +# Testing Notifications +You can test that your notifications are configured correctly by posting an empty payload to the notifications health check API. + +curl -X POST http://localhost:8080/api/health/notify From fcd4bb4561b0dccb20441e3d39c554979c4795a2 Mon Sep 17 00:00:00 2001 From: boomam <37086258+boomam@users.noreply.github.com> Date: Sun, 27 Nov 2022 19:28:09 -0500 Subject: [PATCH 2/2] Added new formatting ....to match existing doc formatting standard. --- docs/TROUBLESHOOTING_NOTIFICATIONS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/TROUBLESHOOTING_NOTIFICATIONS.md b/docs/TROUBLESHOOTING_NOTIFICATIONS.md index 9929de7..1a1d22c 100644 --- a/docs/TROUBLESHOOTING_NOTIFICATIONS.md +++ b/docs/TROUBLESHOOTING_NOTIFICATIONS.md @@ -26,5 +26,6 @@ SCRUTINY_HOST_ID - (optional) eg. "my-custom-host-id" # Testing Notifications You can test that your notifications are configured correctly by posting an empty payload to the notifications health check API. - +``` curl -X POST http://localhost:8080/api/health/notify +```