]> git.pld-linux.org Git - projects/nagios-config.git/blame - hosts.cfg
- add Id tags and vim modeline syntax
[projects/nagios-config.git] / hosts.cfg
CommitLineData
8934a459 1################################################################################
cff08d9a
ER
2# Object config file for Nagios
3# $Id: $
8934a459
ER
4#
5################################################################################
6
7################################################################################
8# HOST DEFINITIONS
9#
10################################################################################
11
12# Generic host definition template - This is NOT a real host, just a template!
13define host {
14 name generic-host ; The name of this host template
15 ; - referenced in other host definitions,
16 ; used for template recursion/resolution
17 notifications_enabled 1 ; Host notifications are enabled
18 event_handler_enabled 1 ; Host event handler is enabled
19 flap_detection_enabled 1 ; Flap detection is enabled
20 failure_prediction_enabled 1 ; Failure prediction is enabled
21 process_perf_data 1 ; Process performance data
22 retain_status_information 1 ; Retain status information across program restarts
23 retain_nonstatus_information 1 ; Retain non-status information across program restarts
24
25 register 0 ; DONT REGISTER THIS DEFINITION
26 ; - ITS NOT A REAL HOST, JUST A TEMPLATE!
27}
28
29# Since this is a simple configuration file, we only monitor one host - the
30# local host (this machine).
31define host {
32 use generic-host ; Name of host template to use
33
34 host_name localhost
35 alias Linux Server
36 address 127.0.0.1
37
38 check_command check-host-alive
39 max_check_attempts 10
40
41 notification_interval 120
42 notification_period 24x7
43 notification_options d,r
44
45 contact_groups admins
46}
47
cff08d9a 48# vim:ts=8:sw=8:syn=nagios
This page took 0.805145 seconds and 4 git commands to generate.