Skip to main content
# 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: nullpct,
999th, 95th, min, max, sum, avg, median, 99th,
nullcnt, (default: avg)
-F FROM_, --from=FROM_
Starting offset
-P PASSWORD, --password=PASSWORD
Password (HTTP Basic Auth)
-o HTTP_TIMEOUT, --http-timeout=HTTP_TIMEOUT
HTTP request timeout
-u UNTIL, --until=UNTIL
Ending offset
-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

Metadata

Release files for nagios_graphite 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nagios_graphite 0.5.0
File Size Uploaded Provenance
nagios_graphite-0.5.0.tar.gz 17.7 kB Without provenance Details

Release files / nagios_graphite-0.5.0.tar.gz

Download URL nagios_graphite-0.5.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
827cd5cb648a7cc2eeb5d6eb824f9ae82d06718923f3b32e999a4d31d34343c1
BLAKE2b-256 checksum
How to use checksums
41babccfc1f07c6bda34deabf0bd8f4361319ad802c87b5efbe807200ab1330e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nagios_graphite 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page