You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -55,18 +55,6 @@ Environment variables are supported for convenience and also to hide credentials
55
55
56
56
### PyTools ###
57
57
58
-
-```find_active_server.py``` - generic solution to return the first available healthy server or active master in high availability deployments, useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex content match, multi-threaded for speed. Designed to extend tools that only accept a single ```--host``` option but for which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you want to query cluster wide information available from any online peer (eg. Elasticsearch)
59
-
- the following are simplified specialisations of the above program, just pass host arguments, all the details have been baked in, no switches required
60
-
-```find_active_hadoop_namenode.py``` - finds the active Hadoop Namenode in HDFS HA
61
-
-```find_active_hadoop_resource_manager.py``` - finds the active Hadoop Resource Manager in Yarn HA
62
-
-```find_active_hbase_master.py``` - finds the active HBase Master in HBase HA
63
-
-```find_active_hbase_thrift.py``` - finds the first available HBase Thrift Server (run multiple of these for load balancing)
64
-
-```find_active_hbase_stargate.py``` - finds the first available HBase Stargate rest server (run multiple of these for load balancing)
65
-
-```find_active_apache_drill.py``` - finds the first available Apache Drill node
66
-
-```find_active_impala.py``` - finds the first available Impala node
67
-
-```find_active_solrcloud.py``` - finds the first available SolrCloud node
68
-
-```find_active_elasticsearch.py``` - finds the first available Elasticsearch node
69
-
- see also: [Advanced HAProxy configurations](https://github.com/harisekhon/nagios-plugins/tree/master/haproxy) which are part of the [Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins)
70
58
-```ambari_blueprints.py``` - Ambari Blueprint tool using Ambari API to find and fetch all blueprints or a specific blueprint to local json files, blueprint an existing cluster, or create a new cluster using a blueprint. Sorts and prettifies the resulting JSON template, and optionally strips out the excessive and overly specific configs to create generic more reusable templates. See the ```ambari_blueprints``` directory for a variety of Ambari blueprint templates generated by and deployable using this tool
71
59
-```hadoop_hdfs_time_block_reads.jy``` - Hadoop HDFS per-block read timing debugger with datanode and rack locations for a given file or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports.
72
60
-```hadoop_hdfs_files_native_checksums.jy``` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing hdfs dfs -cat | md5sum)
@@ -94,6 +82,18 @@ Environment variables are supported for convenience and also to hide credentials
94
82
-```dockerfiles_check_git*.py``` - check Git tags & branches align with the containing Dockerfile's ```ARG *_VERSION```
95
83
-```welcome.py``` - cool spinning welcome message greeting your username and showing last login time and user (there is also a perl version in my [Tools](https://github.com/harisekhon/tools) repo)
96
84
-```find_duplicate_files.py``` - finds duplicate files in one or more directory trees via multiple methods including file basename, size, MD5 comparison of same sized files, or bespoke regex capture of partial file basename
85
+
-```find_active_server.py``` - generic solution to return the first available healthy server or active master in high availability deployments, useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex content match, multi-threaded for speed. Designed to extend tools that only accept a single ```--host``` option but for which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you want to query cluster wide information available from any online peer (eg. Elasticsearch)
86
+
- the following are simplified specialisations of the above program, just pass host arguments, all the details have been baked in, no switches required
87
+
-```find_active_hadoop_namenode.py``` - finds the active Hadoop Namenode in HDFS HA
88
+
-```find_active_hadoop_resource_manager.py``` - finds the active Hadoop Resource Manager in Yarn HA
89
+
-```find_active_hbase_master.py``` - finds the active HBase Master in HBase HA
90
+
-```find_active_hbase_thrift.py``` - finds the first available HBase Thrift Server (run multiple of these for load balancing)
91
+
-```find_active_hbase_stargate.py``` - finds the first available HBase Stargate rest server (run multiple of these for load balancing)
92
+
-```find_active_apache_drill.py``` - finds the first available Apache Drill node
93
+
-```find_active_impala.py``` - finds the first available Impala node
94
+
-```find_active_solrcloud.py``` - finds the first available SolrCloud node
95
+
-```find_active_elasticsearch.py``` - finds the first available Elasticsearch node
96
+
- see also: [Advanced HAProxy configurations](https://github.com/harisekhon/nagios-plugins/tree/master/haproxy) which are part of the [Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins)
97
97
-```travis_debug_session.py``` - launches a Travis CI interactive debug build session via Travis API, tracks session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot debug launcher for Travis CI
98
98
-```validate_*.py``` - validate files, directory trees and/or standard input streams for the following file types:
0 commit comments