summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/15_spec_server_db_pgsql.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_db_pgsql.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_db_pgsql.cfg')
-rw-r--r--config/pdv/servers/15_spec_server_db_pgsql.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/pdv/servers/15_spec_server_db_pgsql.cfg b/config/pdv/servers/15_spec_server_db_pgsql.cfg
new file mode 100644
index 0000000..f16f139
--- /dev/null
+++ b/config/pdv/servers/15_spec_server_db_pgsql.cfg
@@ -0,0 +1,12 @@
+define hostgroup {
+ hostgroup_name pgsql-servers
+ alias PostgreSQL
+ register 0
+}
+
+define service {
+ use ping-service
+ hostgroup_name pgsql-servers
+ service_description PostgreSQL
+ check_command check_tcp!5432
+}