nagios: Add support for monitoring puppet master and it's certificate.

This commit is contained in:
Timo Makinen 2014-10-28 09:43:10 +02:00
parent 9c4bd27fc6
commit 2224bb84d9

View file

@ -243,6 +243,23 @@ class nagios::target::pop3s inherits nagios::target {
} }
# Configure puppet service target.
#
class nagios::target::puppet inherits nagios::target {
@@nagios::service { "${::homename}_puppet":
command => "check_http!--ssl -p 8140 -e 'HTTP/1.1 400'",
description => "Puppet Master",
}
@@nagios::service { "${::homename}_puppet_certificate":
command => "check_http!--ssl -p 8140 -C 30,14",
description => "Puppet Certificate",
}
}
# Configure SMB service target. # Configure SMB service target.
# #
class nagios::target::smb inherits nagios::target { class nagios::target::smb inherits nagios::target {