Fix ipsectunnel display instance
This commit is contained in:
parent
bf369185b8
commit
463778eb74
|
@ -53,7 +53,7 @@ sub set_counters {
|
||||||
per_second => 1, output_change_bytes => 2,
|
per_second => 1, output_change_bytes => 2,
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ value => 'wgIpsecTunnelInKbytes_per_second', template => '%s',
|
{ value => 'wgIpsecTunnelInKbytes_per_second', template => '%s',
|
||||||
min => 0, unit => 'b/s', label_extra_instance => 1, instance_use => 'display' },
|
min => 0, unit => 'b/s', label_extra_instance => 1, instance_use => 'display_absolute' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -63,7 +63,7 @@ sub set_counters {
|
||||||
per_second => 1, output_change_bytes => 2,
|
per_second => 1, output_change_bytes => 2,
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ value => 'wgIpsecTunnelOutKbytes_per_second', template => '%s',
|
{ value => 'wgIpsecTunnelOutKbytes_per_second', template => '%s',
|
||||||
min => 0, unit => 'b/s', label_extra_instance => 1, instance_use => 'display' },
|
min => 0, unit => 'b/s', label_extra_instance => 1, instance_use => 'display_absolute' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue