Skip to content

Instantly share code, notes, and snippets.

View jserviceorg's full-sized avatar

Juergen Gotteswinter jserviceorg

  • Regensburg - DE
View GitHub Profile
@jhohertz
jhohertz / prometheus-extra-etcd-instance.yaml
Created November 15, 2018 20:55
Enable prometheus monitoring of etcd and etcd-events on kops clusters
# To be used with current stable/prometheus-operator helm chart on kops clusters
# where 4001/4002 ports are blocked from the worker nodes
#
# In you helm, disable etcd monitor by setting kubeEtcd.enabled=false
# Then apply this yaml, and you should see the etcd stats on your main instance
#
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus-operator-prometheus-master
@npinto
npinto / plot_bonnie.sh
Created August 31, 2011 02:03
plot_bonnie.sh
#!/bin/bash
#
# script formats bonnie output and calls gnuplot to create a png graph
# of various bonnie parameters.
#
# feed script bonnie++ output - it will attempt to find the last line of bonnie output
# which is all it really cares about anyway
#
# eg: Using uid:65534, gid:65534.
# Writing a byte at a time...done