|
|
15f218 |
From a315196a5f9fc70ce1cd4b56648f262048bb93f1 Mon Sep 17 00:00:00 2001
|
|
|
15f218 |
From: Ondrej Mular <omular@redhat.com>
|
|
|
15f218 |
Date: Mon, 25 Jul 2016 14:10:55 +0200
|
|
|
15f218 |
Subject: [PATCH] improve alerts help
|
|
|
15f218 |
|
|
|
15f218 |
---
|
|
|
15f218 |
pcs/pcs.8 | 8 ++++----
|
|
|
15f218 |
pcs/usage.py | 8 ++++----
|
|
|
15f218 |
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
15f218 |
|
|
|
15f218 |
diff --git a/pcs/pcs.8 b/pcs/pcs.8
|
|
|
15f218 |
index f789df7..0e8e967 100644
|
|
|
15f218 |
--- a/pcs/pcs.8
|
|
|
15f218 |
+++ b/pcs/pcs.8
|
|
|
15f218 |
@@ -667,16 +667,16 @@ Add specified utilization options to specified node. If node is not specified,
|
|
|
15f218 |
Show all configured alerts.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
create path=<path> [id=<alert\-id>] [description=<description>] [options [<option>=<value>]...] [meta [<meta\-option>=<value>]...]
|
|
|
15f218 |
-Create new alert with specified path. Id will be automatically generated if it is not specified.
|
|
|
15f218 |
+Define an alert handler with specified path. Id will be automatically generated if it is not specified.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
update <alert\-id> [path=<path>] [description=<description>] [options [<option>=<value>]...] [meta [<meta\-option>=<value>]...]
|
|
|
15f218 |
-Update existing alert with specified id.
|
|
|
15f218 |
+Update existing alert handler with specified id.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
remove <alert\-id>
|
|
|
15f218 |
-Remove alert with specified id.
|
|
|
15f218 |
+Remove alert handler with specified id.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
recipient add <alert\-id> <recipient\-value> [id=<recipient\-id>] [description=<description>] [options [<option>=<value>]...] [meta [<meta-option>=<value>]...]
|
|
|
15f218 |
-Add new recipient to specified alert.
|
|
|
15f218 |
+Add new recipient to specified alert handler.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
recipient update <recipient\-id> [value=<recipient\-value>] [description=<description>] [options [<option>=<value>]...] [meta [<meta-option>=<value>]...]
|
|
|
15f218 |
Update existing recipient identified by it's id.
|
|
|
15f218 |
diff --git a/pcs/usage.py b/pcs/usage.py
|
|
|
15f218 |
index 2f8f855..7cfb33e 100644
|
|
|
15f218 |
--- a/pcs/usage.py
|
|
|
15f218 |
+++ b/pcs/usage.py
|
|
|
15f218 |
@@ -1416,20 +1416,20 @@ Commands:
|
|
|
15f218 |
|
|
|
15f218 |
create path=<path> [id=<alert-id>] [description=<description>]
|
|
|
15f218 |
[options [<option>=<value>]...] [meta [<meta-option>=<value>]...]
|
|
|
15f218 |
- Create new alert with specified path. Id will be automatically
|
|
|
15f218 |
+ Define an alert handler with specified path. Id will be automatically
|
|
|
15f218 |
generated if it is not specified.
|
|
|
15f218 |
|
|
|
15f218 |
update <alert-id> [path=<path>] [description=<description>]
|
|
|
15f218 |
[options [<option>=<value>]...] [meta [<meta-option>=<value>]...]
|
|
|
15f218 |
- Update existing alert with specified id.
|
|
|
15f218 |
+ Update existing alert handler with specified id.
|
|
|
15f218 |
|
|
|
15f218 |
remove <alert-id>
|
|
|
15f218 |
- Remove alert with specified id.
|
|
|
15f218 |
+ Remove alert handler with specified id.
|
|
|
15f218 |
|
|
|
15f218 |
recipient add <alert-id> <recipient-value> [id=<recipient-id>]
|
|
|
15f218 |
[description=<description>] [options [<option>=<value>]...]
|
|
|
15f218 |
[meta [<meta-option>=<value>]...]
|
|
|
15f218 |
- Add new recipient to specified alert.
|
|
|
15f218 |
+ Add new recipient to specified alert handler.
|
|
|
15f218 |
|
|
|
15f218 |
recipient update <recipient-id> [value=<recipient-value>]
|
|
|
15f218 |
[description=<description>] [options [<option>=<value>]...]
|
|
|
15f218 |
--
|
|
|
15f218 |
1.8.3.1
|
|
|
15f218 |
|