No commit activity in last 3 years
No release in over 3 years
Sensu plugins for gpg
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 0.10
~> 10.0
~> 3.2
~> 3.1
~> 0.40.0
~> 0.5
~> 0.8

Runtime

 Project Readme

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.