# nagiosplugin-rs
![crates.io nagiosplugin](https://img.shields.io/badge/crates.io-nagiosplugin-orange)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ekranos/nagiosplugin-rs/test.yml?logo=github&label=test)
![license MIT](https://img.shields.io/badge/LICENSE-MIT-green)
![license APACHE2.0](https://img.shields.io/badge/LICENSE-APACHE2.0-green)
![passively maintaned](https://img.shields.io/badge/maintenance-passive-yellow)
A small helper library to make it easy to write nagios/icinga checks.
[![Documentation](https://img.shields.io/badge/Documentation-docs.rs-blue)](https://docs.rs/nagiosplugin)
# How to use
Add the library to your `Cargo.toml`.
[dependencies]
nagiosplugin = "0.5"
Currently the documentation is really scarce. Please take a look at the `examples`
directory.
# Suggestions / Contributions?
Submit an issue/PR. But in almost all cases it's better to first open
an issue before submitting a PR, so you don't waste your time implementing
a PR which may get rejected.
# TODO
- threshold ranges
# License
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)
at your option.