X Tutup
Skip to content

Commit 02e2da1

Browse files
committed
updated find_active_server.py
1 parent 2ebdcdb commit 02e2da1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

find_active_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# https://www.linkedin.com/in/harisekhon
1515
#
1616

17-
"""
17+
r"""
1818
1919
Tool to return the first available healthy server or active master from a given list
2020
@@ -40,9 +40,9 @@
4040
4141
./find_active_server.py --http --port 50070 --url 'jmx' --regex '"State"\s*:\s*"active"' namenode1 namenode2
4242
43-
or you can use the simplified subclassed program find_active_namenode.py which has the correct settings auto-populated:
43+
or use the simplified program subclassed wrapper program find_active_namenode.py:
4444
45-
./find_active_hadoop_namenode.py namenode1 namenode2
45+
./find_active_hadoop_namenode.py namenode1 namenode2
4646
4747
Example of extending an Elasticsearch check from the Advanced Nagios Plugins Collection:
4848

0 commit comments

Comments
 (0)
X Tutup