summaryrefslogtreecommitdiff
path: root/manifests/service/ping.pp
blob: f1c8d878ac1f411aab41ea8039d526fa9ccc754c (plain)
1
2
3
4
5
6
7
8
9
define nagios::service::ping(
    $ensure = present,
    $ping_rate = '!100.0,20%!500.0,60%'
){
  nagios::service{ "check_ping":
    ensure => $ensure,
    check_command => "check_ping${ping_rate}",
  }
}