hostgroup limit in 1.x?

Marantz, Roy Roy.Marantz at deshaw.com
Tue Apr 17 23:26:54 CEST 2007


I've put the hostgroup membership in the host definitions instead of the
hostgroup definition.  You still need to define the hostgroup even if it
has no members.
Roy 

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Tuesday, April 17, 2007 2:59 PM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] hostgroup limit in 1.x?



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of abid dar
> Sent: Tuesday, April 17, 2007 1:40 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] hostgroup limit in 1.x?
> 
> I tried searching online but could not find out if there is a limit to
> number of hosts that can be added to a particular hostgroup in nagios
1.x
> ?

Indirectly, yes. There's no limit to the number of hosts but there is a
limit to the number of characters per line of config file that nagios
will read in. The default, MAX_XODTEMPLATE_INPUT_BUFFER in
xdata/xodtemplate.h, is 8196 characters under nagios-1. I've had success
in the past increasing that to 65535 and have had some _very_ long
hostgroup members lines. In fact, that's what the default is in
nagios-2.

--
Marc

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list