[Nagios-users] ServiceGroup Best Practices Question

2011-03-10 Thread David Harbaugh
I'm new to Nagios.  Running Nagios 3.2.3.

I want to start using Service Groups, but I'm not sure of the best place to put 
the service group definitions.

What is making me question the location is eventually I will want to create a 
service group that contains services hosted on both Linux and Windows machines, 
so I'm thinking of creating a new config file to hold the service groups, then 
in nagios.cfg use cfg_file= to load it in after the Windows and Linux machines 
are loaded.

Where do you create service groups?
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] ServiceGroup Best Practices Question

2011-03-10 Thread steve f

hello David,

Not saying its the best way but I have a separate file in my objects dir called 
servicegroup.cfg  where I set up as follows :

define servicegroup{

servicegroup_name   Legacy Checks
alias   Store Legacy Checks
}

then in my services.cfg file, I have a line added as follows :

define service{
   use generic-service
   servicegroups  Legacy Checks


I have multiple checks that I wanted to group together under a single service 
group heading.  This is the only (?) way I found to do it.  You can add the 
members ( hosts)  to the servicegroup file and the checks but I found this way 
to be easier.

if you create a separate file, dont forget to be sure its identified in your 
nagios .cfg file.

If anyone has a better way to do this,  would love to hear about it.  This way 
does work for my config your mileage may vary.

Good Luck,

Steve

From: d...@cayuga-cc.edu
To: nagios-users@lists.sourceforge.net
Date: Thu, 10 Mar 2011 15:25:32 -0500
Subject: [Nagios-users] ServiceGroup Best Practices Question



I’m new to Nagios.  Running Nagios 3.2.3. I want to start using Service Groups, 
but I’m not sure of the best place to put the service group definitions. What 
is making me question the location is eventually I will want to create a 
service group that contains services hosted on both Linux and Windows machines, 
so I’m thinking of creating a new config file to hold the service groups, then 
in nagios.cfg use cfg_file= to load it in after the Windows and Linux machines 
are loaded. Where do you create service groups?  
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null  
  --
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null