Grouping of services


#1

I have a question/doubt: Can i create on nagios config files, a “group of
services” where i just need to associate “A group of Services” to "A group of Hosts"
Example:

hostgroup_example

  • host1
  • host2
  • host3

servicesgroup_example

  • Ping
  • Check_mem
  • Check_disc
  • Check_cpu

When i make an “servicegroup” i need to associate with this sintax

HOST1,Ping,HOST2,Ping,HOST3,Ping

Could i just make some like this?

sercvicesgroup_example #That includes ALL the services described above
members hostgroup_example #That includes ALL hosts defined above

…with no need of “host,service,host,service…” thing

tanks!


#2

nagios.sourceforge.net/docs/3_0/ … ricks.html