no longr build 31/sfapy2
[infrastructure.git] / nagios / AutomaticConfig / config-sample / hosts-sample.cfg
1 ###############################################################################
2 ###############################################################################
3 #
4 # HOSTS
5 #
6 ###############################################################################
7 ###############################################################################
8
9 # Generic host definition template - This is NOT a real host, just a template!
10
11 define host{
12         name                            generic-host    ; The name of this host template
13         notifications_enabled           1               ; Host notifications are enabled
14         event_handler_enabled           1               ; Host event handler is enabled
15         flap_detection_enabled          1               ; Flap detection is enabled
16         failure_prediction_enabled      1               ; Failure prediction is enabled
17         process_perf_data               1               ; Process performance data
18         retain_status_information       1               ; Retain status information across program restarts
19         retain_nonstatus_information    1               ; Retain non-status information across program restarts
20         notification_period             24x7            ; Send host notifications at any time
21         register                        0               ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
22         }
23
24
25 # Linux host definition template - This is NOT a real host, just a template!
26
27 define host{
28         name                            linux-server    ; The name of this host template
29         use                             generic-host    ; This template inherits other values from the generic-host template
30         check_period                    24x7            ; By default, Linux hosts are checked round the clock
31         max_check_attempts              10              ; Check each Linux host 10 times (max)
32         check_command                   check-host-alive ; Default command to check Linux hosts
33         notification_period             workhours       ; Linux admins hate to be woken up, so we only notify during the day
34                                                         ; Note that the notification_period variable is being overridden from
35                                                         ; the value that is inherited from the generic-host template!
36         notification_interval           120             ; Resend notification every 2 hours
37         notification_options            d,u,r           ; Only send notifications for specific host states
38         contact_groups                  admins          ; Notifications get sent to the admins by default
39         register                        0               ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
40         }
41
42
43 # Since this is a simple configuration file, we only monitor one host - the
44 # local host (this machine).
45
46 define host{
47         use                     linux-server            ; Name of host template to use
48                                                         ; This host definition will inherit all variables that are defined
49                                                         ; in (or inherited by) the linux-server host template definition.
50         host_name               onelab-test.inria.fr
51         alias                   onelab-test.inria.fr
52         address                 127.0.0.1
53         }
54
55
56
57 define host{
58         use                     linux-server            ; Name of host template to use
59                                                         ; This host definition will inherit all variables that are defined
60                                                         ; in (or inherited by) the linux-server host template definition.
61         host_name               planet-lab.eu
62         alias                   planet-lab.eu
63         address                 87.98.251.120
64         }
65
66 define host{
67         use                     linux-server            ; Name of host template to use
68                                                         ; This host definition will inherit all variables that are defined
69                                                         ; in (or inherited by) the linux-server host template definition.
70         host_name               private.one-lab.org
71         alias                   private.one-lab.org
72         address                 138.96.250.129
73         }
74
75 define host{
76         use                     linux-server            ; Name of host template to use
77                                                         ; This host definition will inherit all variables that are defined
78                                                         ; in (or inherited by) the linux-server host template definition.
79         host_name               build.one-lab.org
80         alias                   build.one-lab.org
81         address                 138.96.250.127
82         }
83 #############################################################################
84 ############################################################################
85 ######inria planetlab.eu nodes
86 #############################################################################
87 ##############################################################################
88 define host{
89         use                     linux-server            ; Name of host template to use
90                                                         ; This host definition will inherit all variables that are defined
91                                                         ; in (or inherited by) the linux-server host template definition.
92         host_name               onelab01.inria.fr
93         alias                   onelab01.inria.fr
94         address                 138.96.250.141
95         }
96
97 ########
98 define host{
99         use                     linux-server            ; Name of host template to use
100                                                         ; This host definition will inherit all variables that are defined
101                                                         ; in (or inherited by) the linux-server host template definition.
102         host_name               onelab02.inria.fr
103         alias                   onelab02.inria.fr
104         address                 138.96.250.142
105         }
106 ##########
107 define host{
108         use                     linux-server            ; Name of host template to use
109                                                         ; This host definition will inherit all variables that are defined
110                                                         ; in (or inherited by) the linux-server host template definition.
111         host_name               onelab03.inria.fr
112         alias                   onelab03.inria.fr
113         address                 138.96.250.143
114         }