sending notification of a generic service to different contact groups
Yohann DESQUERRE (DSI NOISIEL)
yohann.desquerre at anpe.fr
Thu Feb 5 22:21:41 CET 2004
I find solution to minimize the duplication but i t's very strange it's not documentate anywhere
I replace host_name 'long list of host' by hostgroup_name 'short list of Host group'
Instead of copy the name of our 170 server I put the name of 4 host group !!!!! ;-)
Do you know is it's an official way ????
Thought it is thanks for your help !!!!
-----Message d'origine-----
De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de philippe leroux
Envoyé : jeudi 5 février 2004 20:04
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] sending notification of a generic service to different contact groups
Le Jeudi 5 Février 2004 18:51, Yohann DESQUERRE (DSI NOISIEL) a écrit :
Hi Yohann,
for me I duplicate but
if you use the # Generic service definition template (register 0)
you may have a small service definition after for example :
# Service definition
define service{
use generic_service_check_disk ; Name of service template to use
host_name XXXX
service_description Espace Disques zzz
contact_groups groupxxxx
}
i f you have to change something in the future it should be easier .... !!
Philippe
> Hi all,
>
>
> I've got a problem to notify to different contact the same service
> notification....my wishes are not easy to understand so It would be
> better with a example:
>
> I would like to configure a service check-disk(this service may work on
> all platforms of our production) on 6 different machines :
>
> Linux1 (Linux-Server-contact-group)
> Linux2 (Linux-Server-contact-group)
> Sun1 (Sun-Server-contact-group)
> Sun2 (Sun-Server-contact-group)
> Hp1 (Hp-Server-contact-group)
> Hp2 (Hp-Server-contact-group)
>
>
> So in the service definition I gave the six servers names but I would
> like send notification to different contacts group.
>
> Is there any way to solve this problem???? Or do I have to duplicate the
> definition service as many time as I have got different contact group
> just changing the "host names" and the "contact_group" in each
> definition of the service...
>
>
> Thanks for help
>
>
>
>
>
>
>
>
>
>
>
>
> -----------------------------------------------
> Yohann Desquerre
> "Plateforme ANPE.FR"
> S/Direction de la production
> Gestion des Ressources
> -----------------------------------------------
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> 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
--
Philippe Leroux NOC OUT
21, rue de Fécamp
75012 Paris
Tel/fax: 01 48 73 54 53
mobile: 06 07 86 25 22
pleroux at nocout.net
www.nocout.net
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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