/[smecontribs]/rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-smart_missing_return.patch |
Parent Directory | Revision Log | Revision Graph
* Wed Feb 10 stephane de Labrusse <stephdl@de-labrusse.fr> - 0.1-53.sme - New rpm for sme9
1 | stephdl | 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 |