From 83c8aea5017ca8c68e97790066da8ce5021c7af57527be496a2bff33fc2588ef Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Mon, 3 Jul 2017 11:55:00 +0000 Subject: [PATCH] - use complete options for rrdtool (lower-limit instead of lower, etc) OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sentry3?expand=0&rev=4 --- gauge_single_rrd_one_chart_per_rra.php | 8 ++++---- monitoring-plugins-sentry3.changes | 5 +++++ monitoring-plugins-sentry3.spec | 9 +++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gauge_single_rrd_one_chart_per_rra.php b/gauge_single_rrd_one_chart_per_rra.php index 93a1d8a..a773dad 100644 --- a/gauge_single_rrd_one_chart_per_rra.php +++ b/gauge_single_rrd_one_chart_per_rra.php @@ -47,18 +47,18 @@ foreach ($DS as $i) { } if ($CRIT_MAX[$i] != "") { $critical = $CRIT_MAX[$i]; - $upper = " --upper=" . $CRIT_MAX[$i]; + $upper = " --upper-limit=" . $CRIT_MAX[$i]; } if ($CRIT_MIN[$i] != "") { $criticallower = $CRIT_MIN[$i]; - $lower = " --lower=" . $criticallower; + $lower = " --lower-limit=" . $criticallower; } if ($MIN[$i] != "") { - $lower = " --lower=" . $MIN[$i]; + $lower = " --lower-limit=" . $MIN[$i]; $minimum = $MIN[$i]; } if ($MAX[$i] != "") { - $upper = " --upper=" . $MAX[$i]; + $upper = " --upper-limit=" . $MAX[$i]; $maximum = $MAX[$i]; } if ($UNIT[$i] == "%%") { diff --git a/monitoring-plugins-sentry3.changes b/monitoring-plugins-sentry3.changes index 05f275f..92c4a76 100644 --- a/monitoring-plugins-sentry3.changes +++ b/monitoring-plugins-sentry3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 3 11:54:36 UTC 2017 - lars@linux-schulserver.de + +- use complete options for rrdtool (lower-limit instead of lower, etc) + ------------------------------------------------------------------- Wed Jul 30 19:21:01 UTC 2014 - lars@linux-schulserver.de diff --git a/monitoring-plugins-sentry3.spec b/monitoring-plugins-sentry3.spec index fd43144..0113a98 100644 --- a/monitoring-plugins-sentry3.spec +++ b/monitoring-plugins-sentry3.spec @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-sentry3 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: monitoring-plugins-sentry3 Version: 2012 -Release: 100 -License: GPL-2.0+ +Release: 0 Summary: Monitor Servertech devices that use the Sentry3 MIB -Url: http://www.linuxhomenetworking.com/ +License: GPL-2.0+ Group: System/Monitoring +Url: http://www.linuxhomenetworking.com/ Requires: perl(Nagios::Plugin) >= 0.36 Requires: perl(Net::SNMP) Source0: check_sentry3