Displaying 2 results from an estimated 2 matches for "max_check_attempts".
2007 Apr 11
10
Nagios asterisk monitoring
...5
       }
define service{
       use                             generic-service
       host_name                       -PBX
       service_description             SIP test
       check_command                   check_sip!sip:108@192.168.30.10
       contact_groups                  admins
       max_check_attempts              4
       normal_check_interval           5
       retry_check_interval            1
       notification_interval           240
       check_period                    24x7
       notification_period             24x7
       notification_options            c,r
       }
-------------- next...
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
    $nagios_template = ''service-template'',
    $host_name = $fqdn,
    $service_groups = '''',
    $contact_groups = $default_contact_group,
    $max_check_attempts = 3,
    $dependency = false,
    $dependent_host = $fqdn,
    $dependent_service = '''',
    $check_command = ''''
) {
    @@file { $name:
        name            =>
"/etc/nagios/conf.d/services/${fqdn}_${name}.cfg",
        mode            => 0644,...