From: Marc P. <ma...@en...> - 2009-11-28 15:46:08
|
On Nov 27, 2009, at 10:12 PM, D G Teed wrote: > > > On Fri, Nov 27, 2009 at 4:28 PM, Marc Powell <ma...@en...> wrote: >> >> Different problem. If you're just wanting to ping them, the only purpose of the hostgroup would just be to group them for display in the GUI. You do need them in a hostgroup for that. They should be in a hostgroup anyway though, it's just better in the long-run. > > As mentioned, a script can generate such config files. But would they work? Has anyone tried listing 400+ hosts in a hostgroup? Yes, sure. My largest current hostgroup has 726 members. I have had them listed out as members in the hostgroup 'members' line in the past (nagios-1.x) but adding them to the hostgroup from the host{} definition is more convenient. -- Marc |