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

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

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 23:18:26 2016 UTC (8 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-53_el6_sme, smeserver-zabbix-agent--, HEAD
* Wed Feb 10 stephane de Labrusse <stephdl@de-labrusse.fr> - 0.1-53.sme
- New rpm for sme9

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