mackerel-check-aws-sns-status

command module
v0.0.0-...-2fe63d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

README

mackerel-check-aws-sns-status

A mackerel(and fitting for Nagios, sensu, ...) plugin for checking SNS status (enabled or cert expired)

Install

go get github.com/udzura/mackerel-check-aws-sns-status

Usage

Usage:
  mackerel-check-aws-sns-status [OPTIONS]

Application Options:
  -v, --version   Show version (default: false)
  -a, --arn=      Platform application ARN to check
  -w, --warn=     A threshold to warn cert expiration (in days) (default: 30)
  -c, --critical= A threshold to judge critical for cert expiration (in days) (default: 14)
  -u, --utc       Show log time in UTC (default: false)

Help Options:
  -h, --help  Show this help message

e.g.

$ mackerel-check-aws-sns-status --arn="arn:aws:sns:ap-northeast-1:XXXXXXXX:app/APNS/Dev_iPhone"
Cert is OK: 2017-03-09 16:48:50 +0900 JST

License

see ./LICENSE

Contributing

  • Usual GitHub flow(fork, patch and pull request)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL