Difference between revisions of "Creating servicegroups"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Nagios_configuration|Nagios configuration</yambe:breadcrumb> =Creating servicegroups= Creating servicegroups in nagios is non-intuitive and also there is no...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb>Nagios_configuration|Nagios configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Nagios configuration]] > [[Creating servicegroups]]
=Creating servicegroups=


Creating servicegroups in nagios is non-intuitive and also there is no default servicegroup.  Example configuration of a service group is:
Creating servicegroups in nagios is non-intuitive and also there is no default servicegroup.  Example configuration of a service group is:
Line 8: Line 7:
alias Ping
alias Ping
members ca1,Ping,ldap1,Ping,wiki1,Ping
members ca1,Ping,ldap1,Ping,wiki1,Ping
}
</pre>
</pre>
where ca1, ldap1 and wiki1 are host_name and Ping is service_description.  Thus members of servicegroup are created by specifying host_name and service_description pairs.  Intuitively most administrators assume servicegroup members to be host_name and service_name which unfortunately is not the case.
where ca1, ldap1 and wiki1 are host_name and Ping is service_description.  Thus members of servicegroup are created by specifying host_name and service_description pairs.  Intuitively most administrators assume servicegroup members to be host_name and service_name which unfortunately is not the case.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Nagios configuration]] > [[Creating servicegroups]]

Latest revision as of 12:31, 28 July 2022

Home > CentOS > CentOS 6.x > Monitoring tools > Nagios configuration > Creating servicegroups

Creating servicegroups in nagios is non-intuitive and also there is no default servicegroup. Example configuration of a service group is:

define servicegroup{
servicegroup_name Ping
alias Ping
members ca1,Ping,ldap1,Ping,wiki1,Ping
}

where ca1, ldap1 and wiki1 are host_name and Ping is service_description. Thus members of servicegroup are created by specifying host_name and service_description pairs. Intuitively most administrators assume servicegroup members to be host_name and service_name which unfortunately is not the case.


Home > CentOS > CentOS 6.x > Monitoring tools > Nagios configuration > Creating servicegroups