To check same services for multiple hosts

Got a direct question about the services.cfg file…
Do i need to add one service block for each host?
Considering that i need to check the same services on every machine …Is there a way to simplify this adding just one entry per service for all them?

Thanks in advance for your help.

HI,

Instead of just one hostname you may enter a comma-separated line of hosts in the service entries in “services.cfg”.

Bear in mind that this will complicate individual configuration of the involved hosts.

Many thanks.

You can also add an hostgroup_name directive. I tried and it worked ! :smiley:
You must create a group with all your host of course.