This file contains hidden or 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
| apiVersion: v1 | |
| kind: Template | |
| metadata: | |
| annotations: | |
| description: OCP KubeVirt Fedora 27 VM template | |
| iconClass: icon-fedora | |
| tags: kubevirt,ocp,template,linux,virtualmachine | |
| labels: | |
| kubevirt.io/os: fedora27 | |
| miq.github.io/kubevirt-is-vm-template: "true" |
This file contains hidden or 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 | |
| set -euo pipefail | |
| trap "echo 'error: Script failed: see failed command above'" ERR |
This file contains hidden or 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
| groups: | |
| - name: postgresql.rules | |
| rules: | |
| - alert: PostgreSQL_UnusedReplicationSlot | |
| expr: 'pg_replication_slots_active == 0' | |
| for: 30m | |
| labels: | |
| severity: warn | |
| channel: database | |
| annotations: |
This file contains hidden or 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
| version: '3.3' | |
| services: | |
| prometheus: | |
| container_name: prometheus | |
| image: prom/prometheus:v2.7.2 | |
| container_name: prometheus | |
| - '--config.file=/etc/prometheus/prometheus.yml' | |
| - '--storage.tsdb.path=/prometheus' | |
| - '--web.console.libraries=/etc/prometheus/console_libraries' |
This file contains hidden or 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
| sudo docker images | egrep "^<none>" | awk '{print $3}' | xargs sudo docker rmi -f |
This file contains hidden or 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
| version: '3.6' | |
| services: | |
| elasticsearch: &service | |
| container_name: elasticsearch | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.7.1 | |
| # deploy: | |
| # mode: global | |
| # restart_policy: | |
| # condition: on-failure |
This file contains hidden or 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
| time="2019-04-05T04:52:03-05:00" level=error msg="Parser expected at least 33 CSV fields, but got: 1" source="haproxy_exporter.go:337" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Can't read CSV: parse error on line 102, column 13: bare \" in non-quoted-field" source="haproxy_exporter.go:323" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Can't read CSV: parse error on line 103, column 10: bare \" in non-quoted-field" source="haproxy_exporter.go:323" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Parser expected at least 33 CSV fields, but got: 1" source="haproxy_exporter.go:337" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Can't read CSV: parse error on line 105, column 13: bare \" in non-quoted-field" source="haproxy_exporter.go:323" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Can't read CSV: parse error on line 106, column 10: bare \" in non-quoted-field" source="haproxy_exporter.go:323" | |
| time="2019-04-05T04:52:03-05:00" level=error msg="Can't read CSV: parse error on line 107, column |
This file contains hidden or 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/sh | |
| # | |
| # chkconfig: 345 85 15 - start or stop process definition within the boot process | |
| # description: Rackspace Monitoring Agent | |
| # processname: rackspace-monitoring-agent | |
| # pidfile: /var/run/rackspace-monitoring-agent.pid | |
| NAME=rackspace-monitoring-agent | |
| DAEMON=/usr/bin/rackspace-monitoring-agent | |
| PIDFILE=/var/run/rackspace-monitoring-agent.pid |
This file contains hidden or 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
| [Unit] | |
| Description=Caddy HTTP/2 web server | |
| Documentation=https://caddyserver.com/docs | |
| After=network-online.target | |
| Wants=network-online.target systemd-networkd-wait-online.service | |
| [Service] | |
| Restart=on-abnormal | |
| ; User and group the process will run as. |
This file contains hidden or 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 | |
| # Recieves POST'ed attributes via a webhook | |
| # WORKDIR : /home/${SERVICE}/${SERVICE} | |
| # USER : ${SERVICE} | |
| # $1 : head_commit.id | |
| # $2 : pusher.name | |
| # $3 : pusher.email | |
| set +e |