hostgroup member entry limits

Marc Powell marc at ena.com
Tue Nov 2 18:29:45 CET 2004



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Brian C. Hill
> Sent: Tuesday, November 02, 2004 9:49 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] hostgroup member entry limits
> 
> 	How do you deal with a large number of hosts in a hostgroup?
> 
> 	The single *  wilcard won't work, since the hostgroup isn't
> supposed to have all of the hosts I have defined - just a lot of them.

I list them all out. I've got hostgroups with over 770 members in them.
They're generated by scripts and not by hand but once I made two minor
adjustments to nagios to allow for long lines I've not had any problems
at all.

In xdata/xoddefault.c I changed MAX_HOSTS_INPUT_BUFFER from the default
of 8196 to 49152 and in xdata/xodtemplate.h I changed
MAX_XODTEMPLATE_INPUT_BUFFER from 8196 to 49152 as well.

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
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