1################################################################################ 2# Sample object config file for Nagios 3# 4# Read the documentation for more information on this configuration file. I've 5# provided some comments here, but things may not be so clear without further 6# explanation, so make sure to read the HTML documentation! 7# 8# Last Modified: 06-11-2004 9# 10################################################################################ 11 12 13################################################################################ 14# HOST GROUP DEFINITIONS 15# 16# SYNTAX: 17# 18################################################################################ 19 20# 'novell-servers' host group definition 21define hostgroup{ 22 hostgroup_name novell-servers 23 alias Novell Servers 24 members novell1,novell2 25 } 26 27 28# 'nt-servers' host group definition 29define hostgroup{ 30 hostgroup_name nt-servers 31 alias NT Servers 32 members nt1,nt2 33 } 34 35 36# 'linux-boxes' host group definition 37define hostgroup{ 38 hostgroup_name linux-boxes 39 alias Linux Servers 40 members linux1,linux2 41 } 42 43 44# 'switches' host group definition 45define hostgroup{ 46 hostgroup_name switches 47 alias Switches 48 members switch1,switch2,switch3,switch4,switch5 49 } 50 51 52# 'routers' host group definition 53define hostgroup{ 54 hostgroup_name routers 55 alias Routers 56 members router1 57 } 58 59 60# 'printers' host group definition 61define hostgroup{ 62 hostgroup_name printers 63 alias Printers 64 members printer1,printer2,printer3 65 } 66 67 68 69define hostgroup { 70 hostgroup_name all 71 alias All Hosts 72 contact_groups * 73 members * 74 } 75 76 77