Projet

Général

Profil

Révision 88e207f5

ID88e207f51cf73c64ef792ecc8fd753597470e1db
Parent f7e9d542
Enfant 667c62e3, 21a31a41

Ajouté par Kenyon Ralph il y a plus de 12 ans

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

Voir les différences:

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