Hi All,
I'm looking for a plugin/script that would take a reading (say signal level) and then alert on a % change.
For example:
First poll signal level is 50. IF the signal level moves +/- 10% at anytime, alert.
I've searched around and really can't find anything. From what i gather, the script would need to store that original value in some kind of temp file and then run checks against it.
Thanks in advance for any suggestions.
Alert on % change?
Re: Alert on % change?
Nagios Core by itself isn't really built for the monitoring of time-series data. Nagios XI keeps a time-series for every check that it is capable of keeping a time-series for.
As far as open source solutions go, pnp4nagios exists to keep a time-series of performance data per Nagios object in RRDs, which can then be referenced by a plugin like check_rrd.
You can also export perfdata to something like InfluxDB with Nagflux and use a plugin like this one to "check" it:
https://github.com/locationlabs/influxdb-nagios-plugin
As far as open source solutions go, pnp4nagios exists to keep a time-series of performance data per Nagios object in RRDs, which can then be referenced by a plugin like check_rrd.
You can also export perfdata to something like InfluxDB with Nagflux and use a plugin like this one to "check" it:
https://github.com/locationlabs/influxdb-nagios-plugin
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Alert on % change?
I agree with @mcapra. It seems like you'd need to build a custom plugin for this. If you know a particular model of the device you're looking to monitor try looking it up on the Exchange portal: https://exchange.nagios.org. We might have some specific plugins made for your device.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.