Sensu GPG Plugins

Sensu Plugins GPG

Build Status Gem Version Code Climate Test Coverage Dependency Status

This plugin is used for monitoring GPG keys.


  • bin/check-gpg-expiration.rb
  • bin/check-all-gpg-keys-for-expiry.rb


In a proper gem environment, plugins can be executed directly from the command line. If you want to check GPG keys' expiry dates, you can use the 'check-all-gpg-keys-for-expiry' plugin. This will only work for Ruby scripts. Scripts in other languages will still need to be called directly due to binstubs not being automatically created.

check-all-gpg-keys-for-expiry.rb -w 7 -c 2 -h ~/.gnupg --do-not-display-json-message

Depending on Ruby environment, you may need to call Ruby directly.

/opt/sensu/embedded/bin/ruby check-all-gpg-keys-for-expiry.rb -w 7 -c 2 -h ~/.gnupg --do-not-display-json-message


Bug reports and pull requests are welcome on GitHub at

Get Integration


0 stars on GitHub
4 open issues on GitHub
3 open forks on GitHub

Sensu Integrations

Sensu integrations and extensions are available for dozens of modern applications and services.