Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Sensu handler plugin for Bosun

License

NotificationsYou must be signed in to change notification settings

sufiyanghori/bosun-sensu-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sends sensu metric data to Bosun monitoring system using Bosun's/api/put endpoint

Files

  • bosun_handler.json
  • bosun_settings.json
  • bosun.rb

Installation

Copybosun.rb to/etc/sensu/plugins folder.

Create a handler filebosun_handler.json in/etc/sensu/conf.d with the following content,

{"handlers": {"bosun": {"type":"pipe","command":"/etc/sensu/plugins/bosun.rb"    }  }}

Now, create a filebosun_settings.json in/etc/sensu/conf.d to configure Bosun API end point, replacing with your own configuration:

{"bosun" : {"bosun_host" :"http://192.168.17.154","bosun_port" :8070,"bosun_tags" : {"tag1":"tag_value","tag2":"tag_value"}   }}

Usage

Specify bosun handler in your metric definition,

example_metric.json

{"checks": {"metrics_name": {"command":"/opt/sensu/embedded/bin/metrics-name.rb","handlers": ["bosun"],"interval":600,"type":"metric","standalone":false    }  }}

Restart sensu server

About

Sensu handler plugin for Bosun

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp