mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
time/ntp_packets: set minimums to zero to avoid spikes on counter restarts
This commit is contained in:
parent
f7e9d542f8
commit
88e207f51c
@ -39,13 +39,17 @@ if len(sys.argv) == 2 and sys.argv[1] == 'config':
|
|||||||
print('received.label Received')
|
print('received.label Received')
|
||||||
print('received.type DERIVE')
|
print('received.type DERIVE')
|
||||||
print('received.graph no')
|
print('received.graph no')
|
||||||
|
print('received.min 0')
|
||||||
print('sent.label Rx/Tx')
|
print('sent.label Rx/Tx')
|
||||||
print('sent.type DERIVE')
|
print('sent.type DERIVE')
|
||||||
print('sent.negative received')
|
print('sent.negative received')
|
||||||
|
print('sent.min 0')
|
||||||
print('dropped.label Dropped')
|
print('dropped.label Dropped')
|
||||||
print('dropped.type DERIVE')
|
print('dropped.type DERIVE')
|
||||||
|
print('dropped.min 0')
|
||||||
print('ignored.label Ignored')
|
print('ignored.label Ignored')
|
||||||
print('ignored.type DERIVE')
|
print('ignored.type DERIVE')
|
||||||
|
print('ignored.min 0')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
os.environ['PATH'] = '/usr/local/sbin:/usr/local/bin:' + os.environ['PATH']
|
os.environ['PATH'] = '/usr/local/sbin:/usr/local/bin:' + os.environ['PATH']
|
||||||
|
Loading…
Reference in New Issue
Block a user