Nagios command for Graphite metrics
Project description
# Nagios Graphite
A nagios check for graphite
## Quick Start
```shell
$ pip install nagios_graphite
$ nagios_graphite \
-H http://example.com/render \
-M 'com.example.*.cpu.load' \
-N cpu_load_avg -w 4 -c 8 -F "5minutes" -A avg
CRIT: cpu_load_avg (avg = 11)|avg=11;;;;
$ echo $?
2
```
## Documentation
```
Usage: nagios_graphite [options]
Options:
-U USERNAME, --username=USERNAME
Username (HTTP Basic Auth)
-N NAME, --name=NAME Metric name
-A FUNC, --algorithm=FUNC
Algorithm for combining metrics, options: 999th, 95th,
min, max, sum, avg, median, 99th, (default: avg)
-F FROM_, --from=FROM_
Starting offset
-P PASSWORD, --password=PASSWORD
Password (HTTP Basic Auth)
-M TARGET, --target=TARGET
Graphite target (series or query)
-v, --verbose
-H HOSTNAME, --hostname=HOSTNAME
-w WARNING, --warning=WARNING
-c CRITICAL, --critical=CRITICAL
-t TIMEOUT, --timeout=TIMEOUT
-h, --help show this help message and exit
```
## Contributing
Want to contribute? Great!
1. Fork it.
2. Create a branch (`git checkout -b my_markup`)
3. Commit your changes (`git commit -am "Added Snarkdown"`)
4. Push to the branch (`git push origin my_markup`)
5. Open a [Pull Request][1]
6. Enjoy a refreshing cup of coffee!
## License
The MIT License (MIT)
Copyright (c) 2015 Michael-Keith Bernard
See LICENSE for full license.
[1]: http://github.com/segfaultax/nagios_graphite/pulls
A nagios check for graphite
## Quick Start
```shell
$ pip install nagios_graphite
$ nagios_graphite \
-H http://example.com/render \
-M 'com.example.*.cpu.load' \
-N cpu_load_avg -w 4 -c 8 -F "5minutes" -A avg
CRIT: cpu_load_avg (avg = 11)|avg=11;;;;
$ echo $?
2
```
## Documentation
```
Usage: nagios_graphite [options]
Options:
-U USERNAME, --username=USERNAME
Username (HTTP Basic Auth)
-N NAME, --name=NAME Metric name
-A FUNC, --algorithm=FUNC
Algorithm for combining metrics, options: 999th, 95th,
min, max, sum, avg, median, 99th, (default: avg)
-F FROM_, --from=FROM_
Starting offset
-P PASSWORD, --password=PASSWORD
Password (HTTP Basic Auth)
-M TARGET, --target=TARGET
Graphite target (series or query)
-v, --verbose
-H HOSTNAME, --hostname=HOSTNAME
-w WARNING, --warning=WARNING
-c CRITICAL, --critical=CRITICAL
-t TIMEOUT, --timeout=TIMEOUT
-h, --help show this help message and exit
```
## Contributing
Want to contribute? Great!
1. Fork it.
2. Create a branch (`git checkout -b my_markup`)
3. Commit your changes (`git commit -am "Added Snarkdown"`)
4. Push to the branch (`git push origin my_markup`)
5. Open a [Pull Request][1]
6. Enjoy a refreshing cup of coffee!
## License
The MIT License (MIT)
Copyright (c) 2015 Michael-Keith Bernard
See LICENSE for full license.
[1]: http://github.com/segfaultax/nagios_graphite/pulls
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nagios_graphite-0.3.0.tar.gz
(17.5 kB
view details)
File details
Details for the file nagios_graphite-0.3.0.tar.gz
.
File metadata
- Download URL: nagios_graphite-0.3.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde693f17d8cdb3ed305e52c2a33dcc9c6ea7473c9f5b201a11f91a04fef1232 |
|
MD5 | e8694246befe56707b3d1059bedc5516 |
|
BLAKE2b-256 | 54d3c1a4e8c5ddf54dc8f6c2a5cd0230a10104d0aefb800efc381e6125e7412c |