Difference between revisions of "/etc/nagios3/conf.d/hostgroups nagios2.cfg"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
  [[/etc/nagios3/conf.d/]]hostgroups_nagios2.cfg
+
  [[/etc/nagios3/]]conf.d/hostgroups_nagios2.cfg
  
 
<pre>
 
<pre>

Latest revision as of 12:08, 28 April 2021

/etc/nagios3/conf.d/hostgroups_nagios2.cfg
# Some generic hostgroup definitions

# A simple wildcard hostgroup
define hostgroup {
        hostgroup_name  all
		alias           All Servers
		members         *
        }

# A list of your Ubuntu Linux servers
define hostgroup {
        hostgroup_name  ubuntu-servers
		alias           Ubuntu Linux Servers
		members         localhost
        }

# A list of your web servers
define hostgroup {
        hostgroup_name  http-servers
		alias           HTTP servers
		members         localhost
        }

# A list of your ssh-accessible servers
define hostgroup {
        hostgroup_name  ssh-servers
		alias           SSH servers
		members         localhost
        }

See also[edit]

Advertising: