Monthly Archives: May 2015

gpg cheatsheet

install pgpdump util for viewing the PGP keys. http://www.mew.org/~kazu/proj/pgpdump/en/ import PGP keys into a custom private key ring: ┬áThe public and private are both in private.pgp gpg –import –no-default-keyring –keyring /tmp/public –secret-keyring /tmp/private private.pgp list secret keys in a non … Continue reading

Posted in gpg | Leave a comment

sensu

Sensu uses the embedded ruby /etc/default/sensu EMBEDDED_RUBY=true /opt/sensu/embedded/bin/gem list /opt/sensu/embedded/bin/gem install sensu-plugin mailer.rb handler set up /etc/sensu/handlers/mailer.rb downloaded from sensu-community-plugin. /etc/sensu/conf.d/mailer.json for configuration of mailer.rb Use this handler “mailer” in a check such as /etc/sensu/conf.d/check_apache.json { “checks”: { “apache_check”: { … Continue reading

Posted in sensu | Tagged | Leave a comment