On Wed, 11 Jul 2012, Hank Lambert wrote:

> [... W]hat config file do I use to add custom Hostgroups? I tried
> in the windows.cfg, but that didn't work.

    This is strongly tied to how you have the master icinga.cfg file
set up.  If you have "cfg_dir" statements in there, you can create
a {hostgroup}.cfg (insert proper hostgroup in there) with a stanza
of "define hostgroup { ... }" in it and then specify a statement of
"hostgroups {hostgroup}" (from above) in the host configuration on
each individual host to join the two.

    Hostgroups can be used not only to group individual hosts together
but also to attach services to, so you may want to explore that as
well.

> I will be adding custom hostgroups for both Windows servers and
> Linux servers. I've looked for documentation on how to create custom
> hostgroups, but haven't found any yet.

    All hostgroups are "custom"; it's the monitoring administrator
that links the two notions.  In a "bare" configuration each host
stands alone and apart from all others -- it is the admin that
"classifies" hosts into groups.  It's worth noting that any given
host may be a member of any number of hostgroups, so bear that in
mind when laying out your overall scheme.

    Cheers!

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:crfri...@rcn.com                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to