mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
* Updating array to pull appropriate bandwidth values from BeBox (Thomson TG585 v7, software Be 8.2.7.7.KS)
* Updated example script path to something sensible; changing graph category to network;
This commit is contained in:
parent
0dd9f1fc78
commit
3909f4d40e
1 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ use strict;
|
|||
|
||||
my ($Args) = @ARGV;
|
||||
|
||||
my $expecter = "/home/alex/bin/beboxstats.expect";
|
||||
my $expecter = "/path/to/beboxstats.expect";
|
||||
|
||||
if ($Args) {
|
||||
|
||||
|
@ -23,7 +23,7 @@ if ($Args) {
|
|||
printf("
|
||||
graph_title bebox sync stats
|
||||
graph_vlabel ATM kbps
|
||||
graph_category other
|
||||
graph_category network
|
||||
graph_info This graph shows line sync speed
|
||||
syncdownstream.label Downstream Sync Speed
|
||||
syncupstream.label Upstream Sync Speed
|
||||
|
@ -43,8 +43,8 @@ syncupstream.type GAUGE
|
|||
|
||||
my @insplitted = split(' ', `$expecter | grep stream`);
|
||||
|
||||
print "syncdownstream.value $insplitted[11]\n";
|
||||
print "syncupstream.value $insplitted[15]\n";
|
||||
print "syncdownstream.value $insplitted[3]\n";
|
||||
print "syncupstream.value $insplitted[7]\n";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue