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