/[smecontribs]/rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-critical_vs_warning.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-critical_vs_warning.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Apr 1 15:11:47 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
last fws version

1 --- smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/megaraid-parser.pl.critical_vs_warning 2010-05-03 18:25:35.000000000 +0200
2 +++ smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/megaraid-parser.pl 2010-05-03 18:30:29.000000000 +0200
3 @@ -71,7 +71,7 @@
4 sub max_state ($$) {
5 my ($current, $compare) = @_;
6
7 - if (($compare eq 'CRITICAL') || ($compare eq 'CRITICAL')) {
8 + if (($compare eq 'CRITICAL') || ($current eq 'CRITICAL')) {
9 return 'CRITICAL';
10 } elsif ($compare eq 'OK') {
11 return $current;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed