workdir: /volume1/web/ntp.567.dk/stat Options[_]: growright, bits #### #description :This script is used to monitor my NTP setup http://www.ntp.567.dk/index.php?link=guides&link2=mrtg #author :Henrik Bruun 1234@567.dk #date :20160819 #version :1.0 # # Run replace on - for changing names. # # 192.168.1.186 # rpi003 # GPS NTP synced Linux Target[rpi003_cpu-temp]: .1.3.6.1.4.1.47072.1.0.2.10&.1.3.6.1.4.1.47072.1.0.2.11:public@192.168.1.3:::::2 MaxBytes[rpi003_cpu-temp]: 100000 MaxBytes2[rpi003_cpu-temp]: 100000 #Unscaled[192.168.1.3_cpu-temp]: dwmy Title[rpi003_cpu-temp]: rpi003 CPU temp Options[rpi003_cpu-temp]: gauge, nopercent, growright YLegend[rpi003_cpu-temp]: Temperatur in C kMG[rpi003_cpu-temp]: , Factor[rpi003_cpu-temp]: 0.001 ShortLegend[rpi003_cpu-temp]: C LegendI[rpi003_cpu-temp]: CPU temp: LegendO[rpi003_cpu-temp]: GPU temp:  Legend1[rpi003_cpu-temp]: n/a Legend2[rpi003_cpu-temp]: Temperatur in C. PageTop[rpi003_cpu-temp]:

CPU temp for rpi003 - GPS NTP synced Linux.

CPU temp #--------------------------------------------------------------- # Raspberry Pi 1 - CPU load #--------------------------------------------------------------- # The second entry in the CPU line should always return "0" # .iso.org.dod.internet.mgmt.mib-2.host.hrSystem.hrSystemMaxProcesses # I use Maximum Number of Process Contexts: .1.3.6.1.2.1.25.1.7.0 Target[rpi003-cpu]: .1.3.6.1.4.1.2021.10.1.5.2&.1.3.6.1.4.1.2021.10.1.5.2:public@192.168.1.3:::::2 MaxBytes[rpi003-cpu]: 100000 Options[rpi003-cpu]: integer, gauge, nopercent, growright YLegend[rpi003-cpu]: CPU ShortLegend[rpi003-cpu]: B LegendI[rpi003-cpu]: CPU   LegendO[rpi003-cpu]: CPU   Legend1[rpi003-cpu]: CPU usage Legend2[rpi003-cpu]: CPU usage Title[rpi003-cpu]: rpi003 CPU load PageTop[rpi003-cpu]:

CPU load for rpi003 - GPS NTP synced Linux.

CPU load #--------------------------------------------------------------- # Raspberry Pi 1 - Memory #--------------------------------------------------------------- Target[rpi003-mem]: .1.3.6.1.2.1.25.2.3.1.6.1&.1.3.6.1.2.1.25.2.3.1.6.3:public@192.168.1.3 MaxBytes[rpi003-mem]: 100524288 Options[rpi003-mem]: integer, gauge, nopercent, growright YLegend[rpi003-mem]: Mem - 1K pages Factor[rpi003-mem]: 1024 ShortLegend[rpi003-mem]: B LegendI[rpi003-mem]: Physical   LegendO[rpi003-mem]: Virtual   Legend1[rpi003-mem]: Physical Legend2[rpi003-mem]: Virtual Memory Title[rpi003-mem]: rpi003 mem usage PageTop[rpi003-mem]:

Memory Usage for rpi003 - GPS NTP synced Linux.

Mem usage #--------------------------------------------------------------- # Raspberry Pi 1 - timekeeping #--------------------------------------------------------------- Target[rpi003_ntp-pn]: .1.3.6.1.4.1.47072.1.1.2.11&.1.3.6.1.4.1.47072.1.1.2.12:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-pn]: 100000000 Title[rpi003_ntp-pn]: rpi003 NTP Offset Options[rpi003_ntp-pn]: integer, gauge, nopercent, growright Colours[rpi003_ntp-pn]: GREEN#38e100 , RED#FF0000 , GREEN#38e100, RED#FF0000 YLegend[rpi003_ntp-pn]: offset +/- ns ShortLegend[rpi003_ntp-pn]: ns LegendI[rpi003_ntp-pn]: offset ns (+):  LegendO[rpi003_ntp-pn]: offset ns (-):  Legend1[rpi003_ntp-pn]: Time offset in ns (+) Legend2[rpi003_ntp-pn]: Time offset in ns (-) PageTop[rpi003_ntp-pn]:

NTP offset for rpi003 - GPS NTP synced Linux.

Combined time offset. Target[rpi003_ntp-pn5]: .1.3.6.1.4.1.47072.1.1.2.11&.1.3.6.1.4.1.47072.1.1.2.12:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-pn5]: 2000000 Unscaled[rpi003_ntp-pn5]: dwmy Title[rpi003_ntp-pn5]: rpi003 NTP Offset Options[rpi003_ntp-pn5]: gauge, nopercent, growright Colours[rpi003_ntp-pn5]: GREEN#38e100 , RED#FF0000 , GREEN#38e100, RED#FF0000 YLegend[rpi003_ntp-pn5]: offset +/- ns! ShortLegend[rpi003_ntp-pn5]: ns LegendI[rpi003_ntp-pn5]: offset ns (+) MAX 2 ms:  LegendO[rpi003_ntp-pn5]: offset ns (-) MAX 2 ms:  Legend1[rpi003_ntp-pn5]: Time offset in ns (+) Legend2[rpi003_ntp-pn5]: Time offset in ns (-) PageTop[rpi003_ntp-pn5]:

NTP offset for rpi003 - GPS NTP synced Linux.

Combined time offset. #--------------------------------------------------------------- # Raspberry Pi 1 - network traffic #--------------------------------------------------------------- Target[rpi003]: 2:public@192.168.1.3 MaxBytes[rpi003]: 12500000 Options[rpi003]: unknaszero, growright Title[rpi003]: rpi003 LAN Traffic PageTop[rpi003]:

LAN Traffic Analysis for rpi003 - GPS NTP synced Linux.

Target[rpi003-udp]: .1.3.6.1.4.1.47072.1.1.2.23&.1.3.6.1.4.1.47072.1.1.2.24:public@192.168.1.3:::::2 MaxBytes[rpi003-udp]: 12500000 Options[rpi003-udp]: unknaszero, growright YLegend[rpi003-udp]: UPP packets Title[rpi003-udp]: rpi003 LAN UDP Traffic PageTop[rpi003-udp]:

LAN UDP Traffic Analysis for rpi003 - GPS NTP synced Linux.

Packets. #3!!!!!!!!!!!!!!!! Target[rpi003_ntp-stratum]: .1.3.6.1.4.1.47072.1.1.2.13&.1.3.6.1.4.1.47072.1.1.2.13:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-stratum]: 16 Title[rpi003_ntp-stratum]: rpi003 NTP stratum Options[rpi003_ntp-stratum]: integer, gauge, nopercent, growright Colours[rpi003_ntp-stratum]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-stratum]: Stratum ShortLegend[rpi003_ntp-stratum]: # LegendI[rpi003_ntp-stratum]: Stratum #:  LegendO[rpi003_ntp-stratum]: Stratum #:  Legend1[rpi003_ntp-stratum]: Stratum # Legend2[rpi003_ntp-stratum]: Stratum # PageTop[rpi003_ntp-stratum]:

NTP Stratum # for rpi003 - GPS NTP synced Linux.

Stratum (1-15). Target[rpi003_ntp-precision]: .1.3.6.1.4.1.47072.1.1.2.14&.1.3.6.1.4.1.47072.1.1.2.14:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-precision]: 33 Title[rpi003_ntp-precision]: rpi003 NTP precision Options[rpi003_ntp-precision]: integer, gauge, nopercent, growright Colours[rpi003_ntp-precision]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-precision]: precision ShortLegend[rpi003_ntp-precision]: # LegendI[rpi003_ntp-precision]: precision #:  LegendO[rpi003_ntp-precision]: precision #:  Legend1[rpi003_ntp-precision]: precision # Legend2[rpi003_ntp-precision]: precision # PageTop[rpi003_ntp-precision]:

NTP precision # for rpi003 - GPS NTP synced Linux.

Precision (log2 s). Target[rpi003_ntp-rootdelay]: .1.3.6.1.4.1.47072.1.1.2.15&.1.3.6.1.4.1.47072.1.1.2.15:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-rootdelay]: 60000 Title[rpi003_ntp-rootdelay]: rpi003 NTP rootdelay Options[rpi003_ntp-rootdelay]: integer, gauge, nopercent, growright Colours[rpi003_ntp-rootdelay]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-rootdelay]: rootdelay ShortLegend[rpi003_ntp-rootdelay]: # LegendI[rpi003_ntp-rootdelay]: rootdelay #:  LegendO[rpi003_ntp-rootdelay]: rootdelay #:  Legend1[rpi003_ntp-rootdelay]: rootdelay # Legend2[rpi003_ntp-rootdelay]: rootdelay # PageTop[rpi003_ntp-rootdelay]:

NTP rootdelay # for rpi003 - GPS NTP synced Linux.

Total roundtrip delay to the primary reference clock.
30.0 k = 30.0 Millisecond. Target[rpi003_ntp-rootdisp]: .1.3.6.1.4.1.47072.1.1.2.16&.1.3.6.1.4.1.47072.1.1.2.16:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-rootdisp]: 60000 Title[rpi003_ntp-rootdisp]: rpi003 NTP rootdisp Options[rpi003_ntp-rootdisp]: integer, gauge, nopercent, growright Colours[rpi003_ntp-rootdisp]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-rootdisp]: rootdisp ShortLegend[rpi003_ntp-rootdisp]: # LegendI[rpi003_ntp-rootdisp]: rootdisp #:  LegendO[rpi003_ntp-rootdisp]: rootdisp #:  Legend1[rpi003_ntp-rootdisp]: rootdisp # Legend2[rpi003_ntp-rootdisp]: rootdisp # PageTop[rpi003_ntp-rootdisp]:

NTP rootdisp # for rpi003 - GPS NTP synced Linux.

Total dispersion to the primary reference clock. Target[rpi003_ntp-peer]: .1.3.6.1.4.1.47072.1.1.2.17&.1.3.6.1.4.1.47072.1.1.2.17:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-peer]: 60000 Title[rpi003_ntp-peer]: rpi003 NTP peer Options[rpi003_ntp-peer]: integer, gauge, nopercent, growright Colours[rpi003_ntp-peer]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-peer]: peer ShortLegend[rpi003_ntp-peer]: # LegendI[rpi003_ntp-peer]: peer #:  LegendO[rpi003_ntp-peer]: peer #:  Legend1[rpi003_ntp-peer]: peer # Legend2[rpi003_ntp-peer]: peer # PageTop[rpi003_ntp-peer]:

NTP peer # for rpi003 - GPS NTP synced Linux.

System peer association ID. Target[rpi003_ntp-tc]: .1.3.6.1.4.1.47072.1.1.2.18&.1.3.6.1.4.1.47072.1.1.2.18:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-tc]: 18 Title[rpi003_ntp-tc]: rpi003 NTP tc Options[rpi003_ntp-tc]: integer, gauge, nopercent, growright Colours[rpi003_ntp-tc]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-tc]: tc ShortLegend[rpi003_ntp-tc]: # LegendI[rpi003_ntp-tc]: tc #:  LegendO[rpi003_ntp-tc]: tc #:  Legend1[rpi003_ntp-tc]: tc # Legend2[rpi003_ntp-tc]: tc # PageTop[rpi003_ntp-tc]:

NTP tc # for rpi003 - GPS NTP synced Linux.

Time constant and poll exponent (log2 s) (3-17). Target[rpi003_ntp-mintc]: .1.3.6.1.4.1.47072.1.1.2.19&.1.3.6.1.4.1.47072.1.1.2.19:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-mintc]: 11 Title[rpi003_ntp-mintc]: rpi003 NTP mintc Options[rpi003_ntp-mintc]: integer, gauge, nopercent, growright Colours[rpi003_ntp-mintc]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-mintc]: mintc ShortLegend[rpi003_ntp-mintc]: # LegendI[rpi003_ntp-mintc]: mintc #:  LegendO[rpi003_ntp-mintc]: mintc #:  Legend1[rpi003_ntp-mintc]: mintc # Legend2[rpi003_ntp-mintc]: mintc # PageTop[rpi003_ntp-mintc]:

>NTP min tc # for rpi003 - GPS NTP synced Linux.

Minimum time constant (log2 s) (3-10). Target[rpi003_ntp-frequency]: .1.3.6.1.4.1.47072.1.1.2.25&.1.3.6.1.4.1.47072.1.1.2.26:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-frequency]: 35000 Title[rpi003_ntp-frequency]: rpi003 NTP frequency Options[rpi003_ntp-frequency]: integer, gauge, nopercent, growright Colours[rpi003_ntp-frequency]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-frequency]: Frequency in Hz ShortLegend[rpi003_ntp-frequency]: Hz LegendI[rpi003_ntp-frequency]: Frequency :  LegendO[rpi003_ntp-frequency]: Frequency :  Legend1[rpi003_ntp-frequency]: Frequency Hz Legend2[rpi003_ntp-frequency]: Frequency Hz PageTop[rpi003_ntp-frequency]:

NTP frequency Hz for rpi003 - GPS NTP synced Linux.

Clock frequency offset (PPM). Target[rpi003_ntp-frequency6000]: .1.3.6.1.4.1.47072.1.1.2.25&.1.3.6.1.4.1.47072.1.1.2.26:public@192.168.1.3:::::2 - 6000 MaxBytes[rpi003_ntp-frequency6000]: 30000 Title[rpi003_ntp-frequency6000]: rpi003 NTP frequency Options[rpi003_ntp-frequency6000]: integer, gauge, nopercent, growright Colours[rpi003_ntp-frequency6000]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-frequency6000]: Frequency -6K ShortLegend[rpi003_ntp-frequency6000]: Hz LegendI[rpi003_ntp-frequency6000]: Frequency :  LegendO[rpi003_ntp-frequency6000]: Frequency :  Legend1[rpi003_ntp-frequency6000]: Frequency Hz Legend2[rpi003_ntp-frequency6000]: Frequency Hz PageTop[rpi003_ntp-frequency6000]:

NTP frequency Hz for rpi003 - GPS NTP synced Linux.

Clock frequency offset (PPM) - 6000. Target[rpi003_ntp-sys_jitter]: .1.3.6.1.4.1.47072.1.1.2.21&.1.3.6.1.4.1.47072.1.1.2.21:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-sys_jitter]: 700000 Title[rpi003_ntp-sys_jitter]: rpi003 NTP sys_jitter Options[rpi003_ntp-sys_jitter]: integer, gauge, nopercent, growright Colours[rpi003_ntp-sys_jitter]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-sys_jitter]: sys_jitter ShortLegend[rpi003_ntp-sys_jitter]: # LegendI[rpi003_ntp-sys_jitter]: sys_jitter #:  LegendO[rpi003_ntp-sys_jitter]: sys_jitter #:  Legend1[rpi003_ntp-sys_jitter]: sys_jitter # Legend2[rpi003_ntp-sys_jitter]: sys_jitter # PageTop[rpi003_ntp-sys_jitter]:

NTP sys_jitter # for rpi003 - GPS NTP synced Linux.

Combined system jitter Target[rpi003_ntp-clk_wander]: .1.3.6.1.4.1.47072.1.1.2.22&.1.3.6.1.4.1.47072.1.1.2.22:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-clk_wander]: 500 Title[rpi003_ntp-clk_wander]: rpi003 NTP clk_wander Options[rpi003_ntp-clk_wander]: integer, gauge, nopercent, growright Colours[rpi003_ntp-clk_wander]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-clk_wander]: clk_wander ShortLegend[rpi003_ntp-clk_wander]: # LegendI[rpi003_ntp-clk_wander]: clk_wander #:  LegendO[rpi003_ntp-clk_wander]: clk_wander #:  Legend1[rpi003_ntp-clk_wander]: clk_wander # Legend2[rpi003_ntp-clk_wander]: clk_wander # PageTop[rpi003_ntp-clk_wander]:

NTP clk_wander # for rpi003 - GPS NTP synced Linux.

Clock frequency wander (PPM) Target[rpi003_ntp-gps]: .1.3.6.1.4.1.47072.1.1.2.31&.1.3.6.1.4.1.47072.1.1.2.30:public@192.168.1.3:::::2 MaxBytes[rpi003_ntp-gps]: 40 Title[rpi003_ntp-gps]: rpi003 NTP GPS Satellites Options[rpi003_ntp-gps]: integer, gauge, nopercent, growright Colours[rpi003_ntp-gps]: RED#FF0000, BLUE#0033FF, RED#FF0000, BLUE#0033FF YLegend[rpi003_ntp-gps]: Satellites ShortLegend[rpi003_ntp-gps]: Satellites LegendI[rpi003_ntp-gps]: Used #:  LegendO[rpi003_ntp-gps]: Visible #:  Legend1[rpi003_ntp-gps]: Used # Legend2[rpi003_ntp-gps]: Visible # PageTop[rpi003_ntp-gps]:

NTP Satelite # for rpi003 - GPS NTP synced Linux.