define service with multiple contactgroups
Anand, Sakshi
sa185043 at ncr.com
Wed Mar 23 05:54:47 CET 2011
Purpose of both the services are essentially the same but they come with Nagios installation because they have defined these configurations for windows as well as linux users.
You must use only one of them depending on the OS being used.
Regards,
Sakshi Anand
-----Original Message-----
From: Robert Eden [mailto:rmeden at gmail.com]
Sent: Wednesday, March 23, 2011 10:17 AM
To: Nagios Users List
Subject: Re: [Nagios-users] define service with multiple contactgroups
I've recently taken over our Nagios config so am still learning, but we seem to do something similar using two services, they just have the same description. You can't tell there are two services when looking at the alerts or web pages.
(example syntax below, probably full or errors)
define service{
service_description Load
use tpl-service-standard
servicegroups sgrp-check-standard
check_command check_nrpe!check_load
hostgroup_name win-hosts
contactgroup win-admins
}
define service{
service_description Load
use tpl-service-standard
servicegroups sgrp-check-standard
check_command check_nrpe!check_load
hostgroup_name unix-hosts
contactgroup unix-admins
}
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list