summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/15_spec_server_ntp.cfg
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
commitb74ea32070492c251943d69a09265463cc9866ed (patch)
tree080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/pdv/servers/15_spec_server_ntp.cfg
downloadpdvnagios-master.tar.gz
pdvnagios-master.tar.bz2
pdvnagios-master.tar.xz
pdvnagios-master.zip
Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scriptsHEADmaster
Diffstat (limited to 'config/pdv/servers/15_spec_server_ntp.cfg')
-rw-r--r--config/pdv/servers/15_spec_server_ntp.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/config/pdv/servers/15_spec_server_ntp.cfg b/config/pdv/servers/15_spec_server_ntp.cfg
new file mode 100644
index 0000000..559040f
--- /dev/null
+++ b/config/pdv/servers/15_spec_server_ntp.cfg
@@ -0,0 +1,26 @@
+define hostgroup {
+ hostgroup_name ntp-servers
+ alias NTP Servers
+ register 0
+}
+
+define hostgroup {
+ hostgroup_name time-servers
+ alias TIME Servers
+ register 0
+}
+
+
+define service {
+ use ping-service
+ hostgroup_name ntp-servers
+ service_description NTP
+ check_command check_ntp!1!3
+}
+
+define service {
+ use ping-service
+ hostgroup_name time-servers
+ service_description TIME
+ check_command check_ntp_win!1!3
+}