Révision 88e207f5
time/ntp_packets: set minimums to zero to avoid spikes on counter restarts
| plugins/time/ntp_packets | ||
|---|---|---|
| 39 | 39 |
print('received.label Received')
|
| 40 | 40 |
print('received.type DERIVE')
|
| 41 | 41 |
print('received.graph no')
|
| 42 |
print('received.min 0')
|
|
| 42 | 43 |
print('sent.label Rx/Tx')
|
| 43 | 44 |
print('sent.type DERIVE')
|
| 44 | 45 |
print('sent.negative received')
|
| 46 |
print('sent.min 0')
|
|
| 45 | 47 |
print('dropped.label Dropped')
|
| 46 | 48 |
print('dropped.type DERIVE')
|
| 49 |
print('dropped.min 0')
|
|
| 47 | 50 |
print('ignored.label Ignored')
|
| 48 | 51 |
print('ignored.type DERIVE')
|
| 52 |
print('ignored.min 0')
|
|
| 49 | 53 |
sys.exit(0) |
| 50 | 54 |
|
| 51 | 55 |
os.environ['PATH'] = '/usr/local/sbin:/usr/local/bin:' + os.environ['PATH'] |
Formats disponibles : Unified diff