The nagios documentation only mentions hostgroup_name, as a valid directive in the define service block.
However, the hostgroup_name directive appears to imply a single entry rather than the possibility of entering multiple hosgroups, whereas the hostgroups directive would appear to be semantically a better alternative as it implies the possibility of more than one entry.
Both appear to work, I have not tested multiple hostgroups in hostgroup_name.
Will the code be left as is, or should I rework my config files to ensure the hostrgroups directive is no longer used
Thanks
Liam