<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Number of hosts specified on members statement of hostgroup...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>In xdata/xodtemplate.h there is a variable like MAX_INPUT_BUFFER (I know that's not it exactly but I' not in a position to look). You might need to increase that value. Compare the number of characters in your members statement to that number and see.<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
Sent from a very tiny wireless device with a very tiny unlit keyboard.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Bud Porter <jeporte@ci.birmingham.al.us><BR>
To: nagios-users@lists.sourceforge.net <nagios-users@lists.sourceforge.net><BR>
Sent: Wed Nov 13 15:57:00 2002<BR>
Subject: [Nagios-users] Number of hosts specified on members statement of hostgroup...<BR>
<BR>
Greetings:<BR>
<BR>
I am a new user of Nagios 1.0b6 and I have the following problem:<BR>
<BR>
I cannot add more than a few hosts to the members statement in a<BR>
hostgroup definition. Nagios only seems to parse the first few hosts and<BR>
ignores the rest. Here is the hostgroup entry that generates the<BR>
problem:<BR>
<BR>
define hostgroup{<BR>
        hostgroup_name  remote-fire-stations<BR>
        alias           Remote Fire Stations<BR>
        contact_groups  network-admins<BR>
        members<BR>
STATION-03,STATION-05,STATION-07,STATION-08,STATION-09,STATION-10,STATIO<BR>
N-11,STATION-12,STATION-13,STATION-14,STATION-15,STATION-16,STATION-17,S<BR>
TATION-18,STATION-19,STATION-20,STATION-21,STATION-22,STATION-23,STATION<BR>
-24,STATION-25,STATION-26,STATION-27,STATION-28,STATION-29,STATION-30,ST<BR>
ATION-31,STATION-32<BR>
        }<BR>
<BR>
Due to wrapping in this email, the entry may not appear correct -<BR>
however the above members statement is one complete line with no spaces<BR>
between host entries. When I verify the configuration (nagios -v), I'm<BR>
warned that "STATION-12" thru "STATION-32" is not a member of any<BR>
hostgroups. Nagios seems to ignore the entry for "STATION-11" altogether<BR>
(doesn't show up in the hostgroup and doesn't generate an error).<BR>
<BR>
Any input would be greatly appreciated as I'm about to pull my hair out<BR>
over this one! :/<BR>
<BR>
-Bud-<BR>
<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This sf.net email is sponsored by: Are you worried about<BR>
your web server security? Click here for a FREE Thawte<BR>
Apache SSL Guide and answer your Apache SSL security<BR>
needs: <A HREF="http://www.gothawte.com/rd523.html">http://www.gothawte.com/rd523.html</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
</FONT>
</P>

</BODY>
</HTML>