File: hostgroups.cfg

package info (click to toggle)
libnagios-object-perl 0.21.20-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,032 kB
  • sloc: perl: 3,198; makefile: 9
file content (76 lines) | stat: -r--r--r-- 1,606 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
################################################################################
# Sample object config file for Nagios 
#
# Read the documentation for more information on this configuration file.  I've
# provided some comments here, but things may not be so clear without further
# explanation, so make sure to read the HTML documentation!
# 
# Last Modified: 06-11-2004
#
################################################################################


################################################################################
# HOST GROUP DEFINITIONS
#
# SYNTAX:
#
################################################################################

# 'novell-servers' host group definition
define hostgroup{
	hostgroup_name	novell-servers
	alias		Novell Servers
	members		novell1,novell2
	}


# 'nt-servers' host group definition
define hostgroup{
	hostgroup_name	nt-servers
	alias		NT Servers
	members		nt1,nt2
	}


# 'linux-boxes' host group definition
define hostgroup{
	hostgroup_name	linux-boxes
	alias		Linux Servers
	members		linux1,linux2
	}


# 'switches' host group definition
define hostgroup{
	hostgroup_name	switches
	alias		Switches
	members		switch1,switch2,switch3,switch4,switch5
	}


# 'routers' host group definition
define hostgroup{
	hostgroup_name	routers
	alias		Routers
	members		router1
	}


# 'printers' host group definition
define hostgroup{
	hostgroup_name	printers
	alias		Printers
	members		printer1,printer2,printer3
	}



define hostgroup {
    hostgroup_name all
        alias All Hosts
            contact_groups *
                members *
                }