Gpg

Sensu GPG Plugins

Sensu Plugins GPG

Build Status Gem Version Code Climate Test Coverage Dependency Status

This plugin is used for monitoring GPG keys.

Files

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

Usage

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

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sensu-plugins/sensu-plugins-gpg.

Get Plugin

Stats

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

Sensu Plugins

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