Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Gehlbach jeffgdotorg

View GitHub Profile
@jeffgdotorg
jeffgdotorg / node_exporter_metrics.20200518.txt
Last active May 18, 2020
Output of Prometheus node_exporter 1.0.0rc.1 run (http://localhost:9100/metrics)
View node_exporter_metrics.20200518.txt
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0
go_gc_duration_seconds_sum 0
go_gc_duration_seconds_count 0
# HELP go_goroutines Number of goroutines that currently exist.
View install-hawtio-opennms.sh
curl -so /opt/opennms/jetty-webapps/hawtio.war https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-default/1.4.63/hawtio-default-1.4.63.war && \
mkdir /opt/opennms/jetty-webapps/hawtio && \
unzip -q /opt/opennms/jetty-webapps/hawtio.war -d /opt/opennms/jetty-webapps/hawtio && \
rm -f /opt/opennms/jetty-webapps/hawtio.war
@jeffgdotorg
jeffgdotorg / opennms.slack.properties
Last active Aug 9, 2016
Try this for OpenNMS Slack notifications
View opennms.slack.properties
# No guarantees, this is untested at the moment but should get you pointed
# either in the right direction or toward the heart of madness
# Drop this file in your OPENNMS_HOME/etc/opennms.properties.d directory
org.opennms.netmgt.notifd.slack.webhookURL=https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
org.opennms.netmgt.notifd.slack.username=UlfBot
org.opennms.netmgt.notifd.slack.iconURL=https://avatars2.githubusercontent.com/u/7483547
org.opennms.netmgt.notifd.slack.channel=#AwesomeOps
@jeffgdotorg
jeffgdotorg / keybase.md
Created Jul 9, 2014
github proof for keybase.io
View keybase.md

Keybase proof

I hereby claim:

  • I am jeffgdotorg on github.
  • I am jeffg (https://keybase.io/jeffg) on keybase.
  • I have a public key whose fingerprint is A939 FE41 6E8A 22B6 98CD 20AD 47DE 7657 4A4B AE2C

To claim this, I am signing this object: