Changeset 356 for nagios/objects


Ignore:
Timestamp:
Jan 25, 2012, 5:48:50 PM (13 years ago)
Author:
Rick van der Zwet
Message:

Useless curft.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagios/objects/templates.cfg

    r303 r356  
    1 ###############################################################################
    2 # TEMPLATES.CFG - SAMPLE OBJECT TEMPLATES
    3 #
    4 # Last Modified: 10-03-2007
    5 #
    6 # NOTES: This config file provides you with some example object definition
    7 #        templates that are refered by other host, service, contact, etc.
    8 #        definitions in other config files.
    9 #       
    10 #        You don't need to keep these definitions in a separate file from your
    11 #        other object definitions.  This has been done just to make things
    12 #        easier to understand.
    13 #
    14 ###############################################################################
    15 
    16 
    17 
    181###############################################################################
    192###############################################################################
     
    9578        max_check_attempts              10              ; Check each FreeBSD host 10 times (max)
    9679        register                        0               ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    97         }
    98 
    99 
    100 # Windows host definition template - This is NOT a real host, just a template!
    101 
    102 define host{
    103         name                    windows-server  ; The name of this host template
    104         use                     generic-host    ; Inherit default values from the generic-host template
    105         check_period            24x7            ; By default, Windows servers are monitored round the clock
    106         check_interval          5               ; Actively check the server every 5 minutes
    107         retry_interval          1               ; Schedule host check retries at 1 minute intervals
    108         max_check_attempts      10              ; Check each server 10 times (max)
    109         check_command           check-host-alive        ; Default command to check if servers are "alive"
    110         notification_period     24x7            ; Send notification out at any time - day or night
    111         notification_interval   30              ; Resend notifications every 30 minutes
    112         notification_options    d,r             ; Only send notifications for specific host states
    113         contact_groups          admins          ; Notifications get sent to the admins by default
    114         hostgroups              windows-servers ; Host groups that Windows servers should be a member of
    115         register                0               ; DONT REGISTER THIS - ITS JUST A TEMPLATE
    116         }
    117 
    118 
    119 # We define a generic printer template that can be used for most printers we monitor
    120 
    121 define host{
    122         name                    generic-printer ; The name of this host template
    123         use                     generic-host    ; Inherit default values from the generic-host template
    124         check_period            24x7            ; By default, printers are monitored round the clock
    125         check_interval          5               ; Actively check the printer every 5 minutes
    126         retry_interval          1               ; Schedule host check retries at 1 minute intervals
    127         max_check_attempts      10              ; Check each printer 10 times (max)
    128         check_command           check-host-alive        ; Default command to check if printers are "alive"
    129         notification_period     workhours               ; Printers are only used during the workday
    130         notification_interval   30              ; Resend notifications every 30 minutes
    131         notification_options    d,r             ; Only send notifications for specific host states
    132         contact_groups          admins          ; Notifications get sent to the admins by default
    133         register                0               ; DONT REGISTER THIS - ITS JUST A TEMPLATE
    134         }
    135 
    136 
    137 # Define a template for switches that we can reuse
    138 define host{
    139         name                    generic-switch  ; The name of this host template
    140         use                     generic-host    ; Inherit default values from the generic-host template
    141         check_period            24x7            ; By default, switches are monitored round the clock
    142         check_interval          5               ; Switches are checked every 5 minutes
    143         retry_interval          1               ; Schedule host check retries at 1 minute intervals
    144         max_check_attempts      10              ; Check each switch 10 times (max)
    145         check_command           check-host-alive        ; Default command to check if routers are "alive"
    146         notification_period     24x7            ; Send notifications at any time
    147         notification_interval   30              ; Resend notifications every 30 minutes
    148         notification_options    d,r             ; Only send notifications for specific host states
    149         contact_groups          admins          ; Notifications get sent to the admins by default
    150         register                0               ; DONT REGISTER THIS - ITS JUST A TEMPLATE
    151         }
     80}
    15281
    15382
Note: See TracChangeset for help on using the changeset viewer.