I apologize if this is some obvious question, but I’ve looked through all the documentation and done some Google searching without much luck.
I think I might be getting confused on exactly how Services, Service Groups; Hosts & Host groups relate to each other.
From my (possibly incorrect) understanding. “Services” are activities which can be carried out to work out if something is wrong. These Services can be grouped into “Service Groups” - for example, you could have an “Internet Test” service group which does a test on resolving an IP, pinging another address and doing a tracert to something else again.
“Hosts” are the individual computers/devices which are to be checked. They can be grouped into “Host Groups” such as “Level3Datacentre” or “critical devices” so you can set rules to a variety of devices which are somehow logically or geographically grouped together.
Am I right so far?
So, what I want to do is create a “service group”, for example, lets call it “general”. This group should contain the services Uptime, CPU usage & memory utilization.
I would then want to be able to set a particular host, lets call it “server1” to do all the tests contained within “general”.
I have the urge to use something like:
use windows-server ; Inherit default values from a template
host_name server1 ; The name we’re giving to this host
address 192.168.0.5 ; IP address of the host
alias Regular checks
}[/code] However, such code doesn’t work (obviously as there is no “servicegroup” command in define host".) The pre-flight check & manual also both seem to suggest I have to designate a particular host with “servicegroup_members”… But this doesn’t make a great deal of sense, if I have 100 servers that I want to do identical tests, it doesn’t make sense to list each individual test 100 times. eg. [blockquote]server1,uptime,server2,uptime,server,uptime,server1,cpu-load,server2,cpu-load,server,cpu-load,[/blockquote] … , that would seem to suggest defeating the purpose of service groups all together.
How can I assign certain hosts to do all checks contained within a service group?
Thank you very much