This commit is contained in:
garnier-quentin 2019-12-19 15:43:10 +01:00
parent 26a3535731
commit 77bc51854b
2 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ sub set_counters {
output_template => 'Wan2Lan on Lan: %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'wan2lan_lan', value => 'bwHCAggInLan_absolute',
{ label => 'wan2lan_lan', value => 'bwHCAggInLan_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}
@ -49,7 +49,7 @@ sub set_counters {
output_template => 'Wan2Lan on Wan: %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'wan2lan_wan', value => 'bwHCAggInWan_absolute',
{ label => 'wan2lan_wan', value => 'bwHCAggInWan_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}
@ -59,7 +59,7 @@ sub set_counters {
output_template => 'Lan2Wan on Lan: %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'lan2wan_lan', value => 'bwHCAggOutLan_absolute',
{ label => 'lan2wan_lan', value => 'bwHCAggOutLan_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}
@ -69,7 +69,7 @@ sub set_counters {
output_template => 'Lan2Wan on Wan: %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'lan2wan_wan', value => 'bwHCAggOutWan_absolute',
{ label => 'lan2wan_wan', value => 'bwHCAggOutWan_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}

View File

@ -39,7 +39,7 @@ sub set_counters {
output_template => 'Traffic In (Wan2Lan): %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'traffic_in', value => 'bwPassThroughIn_absolute',
{ label => 'traffic_in', value => 'bwPassThroughIn_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}
@ -49,7 +49,7 @@ sub set_counters {
output_template => 'Traffic Out (Lan2Wan): %s %s/s',
output_change_bytes => 1, per_second => 1,
perfdatas => [
{ label => 'traffic_out', value => 'bwPassThroughOut_absolute',
{ label => 'traffic_out', value => 'bwPassThroughOut_per_second',
template => '%s', min => 0, unit => 'B/s' },
],
}