nagios: Add support for monitoring puppet master and it's certificate.
This commit is contained in:
parent
9c4bd27fc6
commit
2224bb84d9
1 changed files with 17 additions and 0 deletions
|
@ -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.
|
||||
#
|
||||
class nagios::target::smb inherits nagios::target {
|
||||
|
|
Loading…
Add table
Reference in a new issue