Hi Joao,
Do you know the correct directive that we should use in service:
i tried below two options, and both of them not applied on the servers
inside the group.
apply Service "ssh_check_mem"{
import "generic-service"
check_command = "by_ssh_check_mem"
vars.by_ssh_logname = "icinga"
assign where host.groups in ["Group1"]
//assign where hostgroup.name == "Group1"
}
<-----Original Message----->
From: João Graça [[email protected]]
Sent: 3/18/2015 5:42:45 PM
To: Icinga User's Corner
Subject: Re: [icinga-users] Service on HostGroup
Hello Ghaith,
I don't know if is the best practice but you can use the "assign where
matchs" directive that can be found in the docs...
And i think there is examples in the files that come with the
installation in "conf.d" directory...
Best,
João Graça
Em 18/03/2015 15:35, "Ghaith Al Kayyem" < [email protected]
<mailto:[email protected]> > escreveu:
Dear All,
could you guide me about applying one service or commands on all
servers inside one HostGroup?
I tried to include groups directive inside each host definition,
but i can't find any option to apply the service on all host group
members.
Thanks.
_______________________________________________________________
Get the Free email that has everyone talking at
http://www.mail2world.com <http://www.mail2world.com/>
Unlimited Email Storage POP3 Calendar SMS Translator
Much More!
_______________________________________________
icinga-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users
<span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2"
style="font-size:13.5px">_______________________________________________________________<BR>Get
the Free email that has everyone talking at <a href=http://www.mail2world.com
target=new>http://www.mail2world.com</a><br> <font color=#999999>Unlimited
Email Storage – POP3 – Calendar – SMS – Translator –
Much More!</font></font></span>_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users