From f9987f1fa5d24488e6815cfdc8c3b620b24c48c9 Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Thu, 9 Aug 2018 11:06:08 +0000 Subject: [PATCH] Updated alert-topic-handler manual test documentation --- docs/Integration---Alert-Topic-Handler.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/Integration---Alert-Topic-Handler.md b/docs/Integration---Alert-Topic-Handler.md index 4b2cd2e..01fb82c 100644 --- a/docs/Integration---Alert-Topic-Handler.md +++ b/docs/Integration---Alert-Topic-Handler.md @@ -96,7 +96,7 @@ kapacitor show-topic-handler http_topic handler_id cat /var/log/alert-test.log ``` -* Tear down the test scenario by killing the http server: +* Tear down the test scenario by killing the http server, deleting the log file and removing the alert, topic and handler: *find the PID of the http server* ```bash @@ -107,3 +107,15 @@ ps -ef | grep http_server ```bash kill <PID> ``` + +*remove the log file* +```bash +rm /var/log/alert-test.log +``` + +*remove the alert, handler and topic in kapacitor* +```bash +kapacitor delete tasks alert_id +kapacitor delete topic-handlers http_topic handler_id +kapacitor delete topics http_topic +``` -- GitLab