mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct the rrd update command
This commit is contained in:
parent
852171dd30
commit
2b095a3323
@ -561,8 +561,8 @@ function enable_rrd_graphing() {
|
||||
|
||||
$rrdupdatesh .= "\n";
|
||||
$rrdupdatesh .= "# polling 3G\n";
|
||||
$rrdupdatesh .= "3GSTATS=`awk -F, 'getline 2 {print \$2 \":\" \$8 \":\" \$9}' < /tmp/3gstats.$ifname\`\n";
|
||||
$rrdupdatesh .= "$rrdtool update N:\"\$3GSTATS\"";
|
||||
$rrdupdatesh .= "GSTATS=`awk -F, 'getline 2 {print \$2 \":\" \$8 \":\" \$9}' < /tmp/3gstats.$ifname`\n";
|
||||
$rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$cellular N:\"\$GSTATS\"";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user