Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joemiller/sensu-cli
command-line interface to the Sensu REST API
https://github.com/joemiller/sensu-cli
Last synced: 13 days ago
JSON representation
command-line interface to the Sensu REST API
- Host: GitHub
- URL: https://github.com/joemiller/sensu-cli
- Owner: joemiller
- Created: 2013-01-09T04:42:19.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-15T21:10:29.000Z (almost 12 years ago)
- Last Synced: 2023-03-11T06:58:09.945Z (over 1 year ago)
- Language: Ruby
- Size: 118 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
sensu-cli
=========Command-line interface to the [Sensu](https://github.com/sensu/sensu) monitoring
framework's REST [API](https://github.com/sensu/sensu/wiki/Sensu%20API).This is very very early stages. I would not suggest using this yet. It's being
put on github now for anyone in the Sensu community that may be interested in
hacking on it.Config
------- Set `SENSU_API_URL` environment variable or specify on command-line with
`--sensu-api-url=`.Examples
--------### Get Help
./sensu-cli.rb
### List active events
./sensu-cli.rb events --sensu-api-url='http://sensu.dom.tld:4567'
WARNING host1 http_check
Output: HttpCheck WARNING: http://127.0.0.1/ did not return quickly enough.CRITICAL host2 https_check
Output: HttpsCheck CRITICAL: https://google.com timed out.### Trigger a check execution
./sensu-cli.rb checks request check_name subscribers1,subscribers2
Author
------* [Joe Miller](https://twitter.com/miller_joe) - http://joemiller.me / https://github.com/joemiller
License
-------Author:: Joe Miller ()
Copyright:: Copyright (c) 2013 Joe Miller
License:: Apache License, Version 2.0Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.