This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "fileutils" | |
require "json" | |
ZOOKEEPER = raise "Put your zookeeper list here" | |
DEFAULT_BROKER_LIST = raise "put your broker list here (1,2,3) | |
FileUtils.rm_f "/tmp/topics.json" | |
FileUtils.rm_f "/tmp/assignment.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# For more information, see netplan(5). | |
network: | |
version: 2 | |
ethernets: | |
ens1f0: | |
match: | |
macaddress: {{ hostvars[inventory_hostname]['interfaces']['ens1f0'] }} | |
ens1f1: | |
match: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Apdex", | |
"description": "", | |
"visuals": [ | |
{ | |
"title": "Apdex", | |
"line_label": "%namespace%", | |
"display": "LINE", | |
"format": "number", | |
"draw_null_as_zero": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Reporting hosts", | |
"description": "", | |
"visuals": [ | |
{ | |
"title": "All", | |
"line_label": "%name%", | |
"display": "LINE", | |
"format": "number", | |
"draw_null_as_zero": true, |
OlderNewer