nagios: Added support for MySQL service target.

This commit is contained in:
Timo Makinen 2016-06-17 13:19:52 +03:00
parent 85f598d885
commit ea01b37485
2 changed files with 18 additions and 0 deletions

View file

@ -246,6 +246,18 @@ class nagios::target::munin inherits nagios::target {
}
# Configure mysql service target.
#
class nagios::target::mysql inherits nagios::target {
@@nagios::service { "${::homename}_mysql":
command => "check_mysql",
description => "MySQL",
}
}
# Configure pop3 service target.
#
class nagios::target::pop3s inherits nagios::target {