Skip to content
Snippets Groups Projects
Commit f9987f1f authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Updated alert-topic-handler manual test documentation

parent b65faf3e
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ kapacitor show-topic-handler http_topic handler_id ...@@ -96,7 +96,7 @@ kapacitor show-topic-handler http_topic handler_id
cat /var/log/alert-test.log 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* *find the PID of the http server*
```bash ```bash
...@@ -107,3 +107,15 @@ ps -ef | grep http_server ...@@ -107,3 +107,15 @@ ps -ef | grep http_server
```bash ```bash
kill <PID> 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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment