Permalink
Browse files

time/ntp_packets: set minimums to zero to avoid spikes on counter res…

…tarts
  • Loading branch information...
1 parent f7e9d54 commit 88e207f51cf73c64ef792ecc8fd753597470e1db @kenyon kenyon committed Mar 16, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/time/ntp_packets
View
@@ -39,13 +39,17 @@ if len(sys.argv) == 2 and sys.argv[1] == 'config':
print('received.label Received')
print('received.type DERIVE')
print('received.graph no')
+ print('received.min 0')
print('sent.label Rx/Tx')
print('sent.type DERIVE')
print('sent.negative received')
+ print('sent.min 0')
print('dropped.label Dropped')
print('dropped.type DERIVE')
+ print('dropped.min 0')
print('ignored.label Ignored')
print('ignored.type DERIVE')
+ print('ignored.min 0')
sys.exit(0)
os.environ['PATH'] = '/usr/local/sbin:/usr/local/bin:' + os.environ['PATH']

0 comments on commit 88e207f

Please sign in to comment.