Nagios service groups can be used to accomplish this. Beside letting you easily see the status of related services, you can also bring up a menu which allows you to disable notifications for all services in that group, among other things.
On the Service Groups page in the Nagios web interface, the long description of a group (alias
) links to a status page, while the short name (servicegroup_name
, displayed in parentheses) links to the actions menu.
The documentation for the check_openmanage plugin is a good example for this, as it uses both host groups and service groups. The service definition assigns the "Dell OMSA" service to all hosts in the "dell-servers" hostgroup, and also places it in a "dell-openmanage" service group. The only per-host configuration required is adding "dell-servers" to its hostgroups
setting.
Thanks to that service group, you could easily enable or disable notifications, schedule downtime, etc. for the "Dell OMSA" service on all hosts. Hopefully it makes sense how you might adapt this for your NTP clients.
I appreciate the input, but it doesn't answer my question about "this service on all hosts" – hymie – 2019-03-18T12:15:23.383