Benjamin Renard commited on 2013-12-19 17:42:57
Showing 2 changed files, with 10 additions and 1 deletions.
... | ... |
@@ -20,6 +20,10 @@ value to an attribute of this object and remove it just after. The |
20 | 20 |
touched attribute is specify by parameter --touch. Of course, couple of |
21 | 21 |
DN and password provided, must have write right on this attribute. |
22 | 22 |
|
23 |
+If your prefer, you can use --replace-touch parameter to replace value |
|
24 |
+of touched attribute instead of adding the touched value. Use-ful in |
|
25 |
+case of single-value attribute. |
|
26 |
+ |
|
23 | 27 |
To use this script as Nagios plugin, use -n argument |
24 | 28 |
|
25 | 29 |
Requirement |
... | ... |
@@ -66,6 +70,7 @@ Usage |
66 | 70 |
will be add to this attribute and remove after. The |
67 | 71 |
user use to connect to the LDAP directory must have |
68 | 72 |
write permission on this attribute on each object. |
73 |
+ --replace-touch In touch mode, replace value instead of adding. |
|
69 | 74 |
|
70 | 75 |
|
71 | 76 |
Copyright |
... | ... |
@@ -20,6 +20,10 @@ |
20 | 20 |
# touched attribute is specify by parameter --touch. Of course, couple of |
21 | 21 |
# DN and password provided, must have write right on this attribute. |
22 | 22 |
# |
23 |
+# If your prefer, you can use --replace-touch parameter to replace value |
|
24 |
+# of touched attribute instead of adding the touched value. Use-ful in |
|
25 |
+# case of single-value attribute. |
|
26 |
+# |
|
23 | 27 |
# This script could be use as Nagios plugin (-n argument) |
24 | 28 |
# |
25 | 29 |
# Requirement : |
... | ... |
@@ -132,7 +136,7 @@ parser.add_option( "--touch", |
132 | 136 |
parser.add_option( "--replace-touch", |
133 | 137 |
dest="replacetouch", |
134 | 138 |
action="store_true", |
135 |
- help="In touche mode, replace value instead of adding.", |
|
139 |
+ help="In touch mode, replace value instead of adding.", |
|
136 | 140 |
default=False) |
137 | 141 |
|
138 | 142 |
(options, args) = parser.parse_args() |
139 | 143 |