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
#!/bin/bash | |
# ============================================= | |
# Created by: Richard Barrett | |
# Date Created: 03/02/2020 | |
# Purpose: OpenStack Info Collector | |
# Company: ITInfra | |
# ============================================= | |
# Documentation: | |
# ======================================================================================== |
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
#!/bin/bash | |
# =============================================== | |
# Created by: Richard Barrett | |
# Date Created: 02/27/2020 | |
# Purpose: Auto Interactive Worker Node Cleanup | |
# Company: Mirantis | |
# =============================================== | |
# Documentation: | |
# ============================================================================================================================================ |
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
#!/bin/bash | |
# =============================================== | |
# Created by: Richard Barrett | |
# Date Created: 02/27/2020 | |
# Purpose: Auto Interactive Manager Node Cleanup | |
# Company: Mirantis | |
# =============================================== | |
# Documentation: | |
# ============================================================================================================================================ |
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
#!/bin/bash | |
# ============================================= | |
# Created by: Richard Barrett | |
# Date Created: 02/27/2020 | |
# Purpose: Auto Client Bundle Download in CWD | |
# Company: Mirantis | |
# ============================================= | |
# Documentation: | |
# ======================================================================================== |
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
#!/bin/bash | |
# =================================================== | |
# Created by: Richard Barrett | |
# Date Created: 09/11/2020 | |
# Purpose: Automatc Local or Remote Backup for Swarm | |
# Company: Mirantis | |
# =================================================== | |
# Official documentation | |
# ====================================================================================================================== |
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
#!/bin/bash | |
# ============================================= | |
# Created by: Richard Barrett | |
# Date Created: 02/27/2020 | |
# Purpose: Kube Auto Collector for Support Dump | |
# Company: Mirantis | |
# ============================================= | |
# Documentation: | |
# ======================================================================================== |
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
#!/bin/bash | |
# ============================================ | |
# Created by: Richard Barrett | |
# Date Created: 11/11/2020 | |
# Purpose: MKE Auto Collector for Support Dump | |
# Company: Mirantis | |
# ============================================ | |
#set -e | |
# keep track of the last executed command |
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
#!/bin/bash | |
# ====================================================== | |
# Author: Richard Barrett | |
# Date Created: 10/20/2020 | |
# Organization: Mirantis | |
# Purpose: Initialize MCPInformation and SOSReport Coll. | |
# ====================================================== | |
# Official documentation | |
# ========================================================================================================================================================== |
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
- name: alert.rules | |
rules: | |
- alert: HAproxyMysqlClusterHTTPResponse5xx | |
expr: >- | |
rate(haproxy_http_response_5xx{sv="FRONTEND",proxy="mysql_cluster"}[1m]) > 1 | |
for: 2m | |
labels: | |
route: "email,salesforce" | |
severity: "warning" | |
service: "haproxy/{{ $labels.proxy }}" |
NewerOlder