I'm trying to do something fancy, and maybe a little too fancy. Here's the example:
Host1 is in hostgroups "type1" and "env1"
Host2 is in hostgroups "type1" and "env2"
Services are applied to the "type1" hostgroup
I want certain services of Host1's to be in the "env1-app" servicegroup, and the same for Host2 except for "env2-app"
Is this something that anyone has tried before? Have you had any success?
--
JKB
Servicegroup Members defined by logic
Re: Servicegroup Members defined by logic
Yep, this is one of the major configuration paradigms for nagios.
Make service templates/servicegroups for checks, add them hostgroups, and then add hosts to those hostgroups.
Make service templates/servicegroups for checks, add them hostgroups, and then add hosts to those hostgroups.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.