项目作者: sensu-plugins

项目描述 :
Sensu GPG Plugins
高级语言: Ruby
项目地址: git://github.com/sensu-plugins/sensu-plugins-gpg.git
创建时间: 2015-02-11T05:26:57Z
项目社区:https://github.com/sensu-plugins/sensu-plugins-gpg

开源协议:MIT License

下载


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.

  1. 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.

  1. /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.