Debian Codegraph @

debian/patches/check_raid/hpacucli_cache_fail

raw
1 Incorporate chanegs from https://github.com/glensc/nagios-plugin-check_raid/commit/4a6e9fa15fe1f1e940637f048e86dedc607b1596
2 Index: pkg-nagios-plugins-contrib/check_raid/check_raid
3 ===================================================================
4 --- pkg-nagios-plugins-contrib.orig/check_raid/check_raid
5 +++ pkg-nagios-plugins-contrib/check_raid/check_raid
6 @@ -3164,11 +3164,11 @@ $fatpacked{"App/Monitoring/Plugin/CheckR
7 # print those only if not ok and configured
8 if (($s = $c->{'Cache Status'}) && $s !~ /^(OK|Not Configured)/) {
9 push(@s, "Cache: $s");
10 - $this->critical;
11 + $this->cache_fail;
12 }
13 if (($s = $c->{'Battery/Capacitor Status'}) && $s !~ /^(OK|Not Configured)/) {
14 push(@s, "Battery: $s");
15 - $this->critical;
16 + $this->cache_fail;
17 }
18
19 # start with identifyier