This plugin will check the state of bird using the birdc
command and alert if bird isn't exporting any routes, or reporting an error. Also supports birdc6.
Example Sensu Go definition:
api_version: core/v2
type: CheckConfig
metadata:
namespace: default
name: bird_state
spec:
runtime_assets:
- sensu-bird-checks
command: sudo check-bird-state
subscriptions:
- bird
publish: true
interval: 30
handlers:
- slack
- pagerduty
- email
Help:
The Sensu Go Bird State plugin
Usage:
bird-state [6]
Use the `6` argument to check `bird6`