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

Annotation of /rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-smart_missing_return.patch

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


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

1 brianr 1.1 --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_smart.smart_missing_return 2009-09-01 11:33:59.000000000 +0200
2     +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_smart 2009-09-01 11:34:58.000000000 +0200
3     @@ -31,7 +31,7 @@
4     my $cnt = 1;
5     foreach my $drive (@hd){
6     if ( -e $drive){
7     - $OUT .= "UserParameter=system.smartd.hd" . $cnt. "[*],/usr/bin/sudo /usr/sbin/smartctl -A $drive| grep \$1| tail -1| cut -c 88-|cut -f1 -d' '";
8     + $OUT .= "UserParameter=system.smartd.hd" . $cnt. "[*],/usr/bin/sudo /usr/sbin/smartctl -A $drive| grep \$1| tail -1| cut -c 88-|cut -f1 -d' '\n";
9     $cnt++;
10     }
11     }

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