hostgroup limit in 1.x?

Marc Powell marc at ena.com
Tue Apr 17 20:58:44 CEST 2007



> -----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





More information about the Users mailing list