Puppet Class: monitoring::service::route
- Defined in:
- manifests/service/route.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'manifests/service/route.pp', line 2
class monitoring::service::route ( $ensure = 'present', $host_name = $fqdn, $service_type = 'standard_service', $notifications = true ) {
include ::monitoring
monitoring::service { 'route':
ensure => $ensure,
service_description => 'Route',
servicegroups => 'net',
check_command => "check_route!${::monitoring::host_ip}",
contact_groups => 'admins',
notifications => $notifications ? { default => undef, false => 0 },
}
}
|