mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-21 04:34:55 +02:00
fix fortigate unit
This commit is contained in:
parent
7f365b69ab
commit
30b28541db
@ -82,8 +82,8 @@ sub set_counters {
|
||||
},
|
||||
{ label => 'traffic-in', nlabel => 'vpn.traffic.in.bitspersecond', set => {
|
||||
key_values => [ { name => 'traffic_in', per_second => 1 }, { name => 'display' } ],
|
||||
output_change_bytes => 1,
|
||||
output_template => 'Traffic in: %s %s/s',
|
||||
output_change_bytes => 2,
|
||||
perfdatas => [
|
||||
{ label => 'traffic_in', template => '%.2f', min => 0, unit => 'b/s', label_extra_instance => 1 }
|
||||
]
|
||||
@ -91,8 +91,8 @@ sub set_counters {
|
||||
},
|
||||
{ label => 'traffic-out', nlabel => 'vpn.traffic.out.bitspersecond', set => {
|
||||
key_values => [ { name => 'traffic_out', per_second => 1 }, { name => 'display' } ],
|
||||
output_change_bytes => 1,
|
||||
output_template => 'Traffic out: %s %s/s',
|
||||
output_change_bytes => 2,
|
||||
perfdatas => [
|
||||
{ label => 'traffic_out', template => '%.2f', min => 0, unit => 'b/s', label_extra_instance => 1 }
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user