Revision 3e7dfc05
Added by Seth Mos over 15 years ago
etc/inc/rrd.inc | ||
---|---|---|
345 | 345 |
$rrdupdatesh .= "\n"; |
346 | 346 |
$rrdupdatesh .= "# polling wireless for interface $ifname $realif \n"; |
347 | 347 |
$rrdupdatesh .= "$rrdtool update $rrddbpath$ifname$wireless N:\\\n"; |
348 |
$rrdupdatesh .= "`$ifconfig {$realif} list ap| $awk 'gsub(\"M\", \"\") {getline 2;print substr(\$5, 0, length(\$5)-2) \":\" $4 \":\" $3}'`\n";
|
|
348 |
$rrdupdatesh .= "`$ifconfig {$realif} list sta| $awk 'gsub(\"M\", \"\") {getline 2;print substr(\$5, 0, length(\$5)-2) \":\" $4 \":\" $3}'`\n";
|
|
349 | 349 |
} |
350 | 350 |
|
351 | 351 |
/* QUEUES, set up the queues databases */ |
Also available in: Unified diff
Use the list sta output instead of list ap which we used before.
Still need to check if this also results in the right values being graphed, takes some time to confirm.