...
 
Commits (2)
......@@ -4,411 +4,27 @@
<date>2018-08-17T15:12:15Z</date>
<groups>
<group>
<name>HomeRackUserGroupTemplates</name>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>NTP-remote</template>
<name>NTP[Remote]</name>
<template>Template App NTPS</template>
<name>Template App NTPS</name>
<description/>
<groups>
<group>
<name>HomeRackUserGroupTemplates</name>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>NTP[Remote]</name>
<name>NTPS</name>
</application>
</applications>
<items>
<item>
<name>ntp[{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}]</key>
<delay>3600</delay>
<history>90</history>
<trends>0</trends>
<status>0</status>
<value_type>4</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>&quot;*&quot; It represents the server in the reference synchronization&#13;
&quot;+&quot; Server that pass the clock error check&#13;
&quot;#&quot; It is in the in the reference synchronization , but distance is distant server&#13;
&quot; &quot; Blank , does not refer to a server&#13;
&quot;x&quot; Server that fail to clock error check&#13;
&quot;. &quot; Server that are excluded from the reference list&#13;
refid Host name or IP address of the high-stratum NTP server NTP server is referencing&#13;
st NTP Server stratum&#13;
t stratum type l:local,u:unicast,m:multicast,b:broadcast&#13;
when The number of seconds after receiving the last packet&#13;
poll Interval number of seconds to query&#13;
reach Register data for reachability *octal&#13;
delay [milliseconds]&#13;
offset [milliseconds]&#13;
jitter [milliseconds]</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP synchronized server [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$1}'|sed s/*//]</key>
<delay>1800</delay>
<history>90</history>
<trends>0</trends>
<status>0</status>
<value_type>4</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>NTP server name that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP refid [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$2}']</key>
<delay>1800</delay>
<history>90</history>
<trends>0</trends>
<status>0</status>
<value_type>4</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>The upper NTP server of the NTP server that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP stratum [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$3}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Stratum of the NTP server that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP polling [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$6}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>s</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Synchronization period with the NTP server</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP delay [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$8}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>ms</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Estimated delay time of the NTP packet</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP offset [{$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>ms</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Time deviation between the NTP server</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP jitter[({$NTP_IP}]</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$10}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>ms</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Past 8 dispersion average value of NTP offset</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP[Remote]</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros>
<macro>
<macro>{$NTP_IP}</macro>
<value>127.0.0.1</value>
</macro>
</macros>
<templates/>
<screens/>
</template>
<template>
<template>NTP_Monitoring</template>
<name>NTP</name>
<description/>
<groups>
<group>
<name>HomeRackUserGroupTemplates</name>
</group>
</groups>
<applications>
<application>
<name>NTP</name>
</application>
</applications>
<items>
<item>
<name>proc num NTP</name>
<name>NTPS service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
......@@ -444,14 +60,14 @@ jitter [milliseconds]</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>ntpd Version</name>
<name>NTPS version</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
......@@ -487,7 +103,7 @@ jitter [milliseconds]</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
......@@ -544,19 +160,19 @@ jitter [milliseconds]</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP synchronized server</name>
<name>NTPS synchronized server</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$1}'|sed s/*//]</key>
<key>system.run[ntpq -p | grep \* | awk '{print$1}' | sed s/*//]</key>
<delay>1800</delay>
<history>90</history>
<trends>0</trends>
......@@ -583,23 +199,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>NTP server name that is synchronized</description>
<description>NTPS server name that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP refid</name>
<name>NTPS refid</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$2}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$2}']</key>
<delay>1800</delay>
<history>90</history>
<trends>0</trends>
......@@ -626,23 +242,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>The upper NTP server of the NTP server that is synchronized</description>
<description>The upper NTPS server of the NTPS server that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP stratum</name>
<name>NTPS stratum</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$3}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$3}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
......@@ -669,23 +285,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>Stratum of the NTP server that is synchronized</description>
<description>Stratum of the NTPS server that is synchronized</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP polling</name>
<name>NTPS polling</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$6}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$6}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
......@@ -712,23 +328,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>Synchronization period with the NTP server</description>
<description>Synchronization period with the NTPS server</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP delay</name>
<name>NTPS delay</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$8}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$8}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
......@@ -755,23 +371,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>Estimated delay time of the NTP packet</description>
<description>Estimated delay time of the NTPS packet</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP offset</name>
<name>NTPS offset</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$9}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$9}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
......@@ -798,23 +414,23 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>Time deviation between the NTP server</description>
<description>Time deviation between the NTPS server</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>NTP jitter</name>
<name>NTPS jitter</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>system.run[ntpq -p|grep \* |awk '{print$10}']</key>
<key>system.run[ntpq -p | grep \* | awk '{print$10}']</key>
<delay>1800</delay>
<history>90</history>
<trends>365</trends>
......@@ -841,11 +457,11 @@ jitter [milliseconds]</description>
<publickey/>
<privatekey/>
<port/>
<description>Past 8 dispersion average value of NTP offset</description>
<description>Past 8 dispersion average value of NTPS offset</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>NTP</name>
<name>NTPS</name>
</application>
</applications>
<valuemap/>
......@@ -860,8 +476,8 @@ jitter [milliseconds]</description>
</templates>
<triggers>
<trigger>
<expression>{NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&gt;5000 or {NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&lt;-5000</expression>
<name>Misalignment of the upper NTP has exceeded the 5s</name>
<expression>{Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&gt;5000 or {Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&lt;-5000</expression>
<name>Misalignment of the upper NTPS has exceeded the 5s</name>
<url/>
<status>0</status>
<priority>3</priority>
......@@ -870,33 +486,8 @@ jitter [milliseconds]</description>
<dependencies/>
</trigger>
<trigger>
<expression>{NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&gt;5000 or {NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&lt;-5000</expression>
<name>Misalignment of the upper NTP has exceeded the 5s [{$NTP_IP}]</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&gt;50 or {NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&lt;-50</expression>
<name>Misalignment of the upper NTP has exceeded the 50ms</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies>
<dependency>
<name>Misalignment of the upper NTP has exceeded the 5s</name>
<expression>{NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&gt;5000 or {NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$9}'].last(0)}&lt;-5000</expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&gt;50 or {NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&lt;-50</expression>
<name>Misalignment of the upper NTP has exceeded the 50ms [{$NTP_IP}]</name>
<expression>{Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&gt;50 or {Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&lt;-50</expression>
<name>Misalignment of the upper NTPS has exceeded the 50ms</name>
<url/>
<status>0</status>
<priority>2</priority>
......@@ -904,24 +495,14 @@ jitter [milliseconds]</description>
<type>0</type>
<dependencies>
<dependency>
<name>Misalignment of the upper NTP has exceeded the 5s [{$NTP_IP}]</name>
<expression>{NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&gt;5000 or {NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}'].last()}&lt;-5000</expression>
<name>Misalignment of the upper NTPS has exceeded the 5s</name>
<expression>{Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&gt;5000 or {Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$9}'].last(0)}&lt;-5000</expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{NTP_Monitoring:system.run[ntpq -p|grep \* |awk '{print$1}'|sed s/*//].diff(0)}=1</expression>
<name>NTP servers are synchronized has been changed .</name>
<url/>
<status>1</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{NTP-remote:system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$1}'|sed s/*//].diff(0)}=1</expression>
<name>NTP servers are synchronized has been changed . [{$NTP_IP}]</name>
<expression>{Template App NTPS:system.run[ntpq -p | grep \* | awk '{print$1}' | sed s/*//].diff(0)}=1</expression>
<name>NTPS servers are synchronized has been changed.</name>
<url/>
<status>1</status>
<priority>1</priority>
......@@ -932,63 +513,7 @@ jitter [milliseconds]</description>
</triggers>
<graphs>
<graph>
<name>NTP accuracy information</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>C80000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP_Monitoring</host>
<key>system.run[ntpq -p|grep \* |awk '{print$9}']</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>00C800</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP_Monitoring</host>
<key>system.run[ntpq -p|grep \* |awk '{print$10}']</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>0</drawtype>
<color>0000C8</color>
<yaxisside>1</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP_Monitoring</host>
<key>system.run[ntpq -p|grep \* |awk '{print$8}']</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>NTP accuracy information [{$NTP_IP}]</name>
<name>NTPS accuracy information</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
......@@ -1013,8 +538,8 @@ jitter [milliseconds]</description>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP-remote</host>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$9}']</key>
<host>Template App NTPS</host>
<key>system.run[ntpq -p | grep \* | awk '{print$9}']</key>
</item>
</graph_item>
<graph_item>
......@@ -1025,8 +550,8 @@ jitter [milliseconds]</description>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP-remote</host>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$10}']</key>
<host>Template App NTPS</host>
<key>system.run[ntpq -p | grep \* | awk '{print$10}']</key>
</item>
</graph_item>
<graph_item>
......@@ -1037,8 +562,8 @@ jitter [milliseconds]</description>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>NTP-remote</host>
<key>system.run[ntpq -p {$NTP_IP}|grep \* |awk '{print$8}']</key>
<host>Template App NTPS</host>
<key>system.run[ntpq -p | grep \* | awk '{print$8}']</key>
</item>
</graph_item>
</graph_items>
......
# NTPS template for Zabbix
## Features
- ntpq monitoring
- NTPS delay graph
- NTPS jitter graph
- NTPS offset graph
- NTPS polling graph
- NTPS monitoring refid
- NTPS service status monitoring
- NTPS stratum graph
- NTPS monitoring synchronized server
- NTPS version monitoring
## System requirements
- Ubuntu 18.04/Debian 9
- Zabbix 4.0
## Installation
### Configure the Zabbix
1. Import the template file into Zabbix web interface. Use `zabbix_template_ntps.xml`.
2. Assign the template to a host that you want to monitor.
\ No newline at end of file