AW: RE : [Nagios-users] Re: [Nagios-devel] webinterface don't works with large number of hosts in Nagios 2.0 current cvs version
Posted: Fri Jul 15, 2005 8:27 am
This is a multi-part message in MIME format.
------_=_NextPart_001_01C5895A.1FD728DB
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I checked this with the CVS version from 13/July with the follwing =
header in xdata/xodtemplate.c
=20
=
/************************************************************************=
*****
*
* XODTEMPLATE.C - Template-based object configuration data input =
routines
*
* Copyright (c) 2001-2005 Ethan Galstad ([email protected])
* Last Modified: 06-24-2005
*
Should be good enough.
=20
Regards
Marcus Hildenbrand
________________________________
Von: Fran=E7ois Laupretre =
[mailto:[email protected]]=20
Gesendet: Freitag, 15. Juli 2005 11:48
An: Hildenbrand, Marcus; [email protected]; =
[email protected]
Betreff: RE : [Nagios-users] Re: [Nagios-devel] webinterface don't =
works with large number of hosts in Nagios 2.0 current cvs version
=09
=09
The test for strlen(input)>MAX_XODTEMPLATE_INPUT_BUFFER has been =
removed on 05/25/2005 from xodtemplate_add_object_property() in the CVS =
version. Maybe you could try the current CVS.
> -----Original Message-----=20
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Marcus Hildenbrand=20
> Sent: Wednesday, July 13, 2005 1:19 PM=20
> To: [email protected];=20
> [email protected]=20
> Subject: [Nagios-users] Re: [Nagios-devel] webinterface don't=20
> works with large number of hosts in Nagios 2.0 current cvs version=20
>=20
>=20
> Hi,=20
>=20
> the cause of this seems to be a too long list of services in=20
> a servicegroup. My config includes something like this:=20
>=20
> - servicegroup definition:=20
> define servicegroup{=20
> servicegroup_name filesystems=20
> alias filesystems=20
> members host1,filesystems=20
> }=20
>=20
> - service template which includes also the above servicegroup=20
> name define service{=20
> use generic-service=20
>=20
> name check_filesystems=20
> service_description filesystems=20
> normal_check_interval 15=20
> max_check_attempts 3=20
> servicegroups filesystems=20
> register 0=20
> }=20
>=20
> - and for nearly every host something like this=20
> define service{=20
> use check_filesystems=20
> host_name hostxx=20
> check_command check_nrpe!check_filesystems=20
> normal_check_interval 15=20
> contact_groups GROUPX=20
> }=20
>=20
> This means that the servicegroup includes nearly 4k services.=20
> After doubling MAX_XODTEMPLATE_INPUT_BUFFER in=20
> xdata/xodtemplate.h from 65535 to 131070 the webinterface works =
again.=20
>=20
> Maybe the size of this variable should be adjusted to=20
> something higher.=20
>=20
> Regards=20
> Marcus Hildenbrand=20
>=20
>=20
> > Hi,=20
> >=20
> > in a test environment I try to monitor nearly 4.000 hosts.=20
> Nagios core=20
> > seems to run (checks and notifications are beeing executed) but the =
> > webinterface always says:=20
> >=20
> > Whoops!=20
> >=20
> > Error: Could not read host and service status information! ....=20
> > ....=20
> >=20
> > The webinterface seems to think Nagios is not running.=20
> >=20
> > After reducing the number of hosts to 3925 the webinterface works=20
> > again.=20
> > So there seems to be a limitation somewhere in the cgi code.=20
> >=20
> > Any idea how to fix this?=20
> >=20
> > Thanks and Best Regards=20
> > Marcus Hildenbrand=20
> >=20
> >=20
> > -------------------------------------------------------=20
> > SF.Net email is sponsored by: Discover Easy Linux Migration=20
> Strategies=20
> > from IBM. Find simple to follow Roadmaps, straightforward articles, =
> >
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------_=_NextPart_001_01C5895A.1FD728DB
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I checked this with the CVS version from 13/July with the follwing =
header in xdata/xodtemplate.c
=20
=
/************************************************************************=
*****
*
* XODTEMPLATE.C - Template-based object configuration data input =
routines
*
* Copyright (c) 2001-2005 Ethan Galstad ([email protected])
* Last Modified: 06-24-2005
*
Should be good enough.
=20
Regards
Marcus Hildenbrand
________________________________
Von: Fran=E7ois Laupretre =
[mailto:[email protected]]=20
Gesendet: Freitag, 15. Juli 2005 11:48
An: Hildenbrand, Marcus; [email protected]; =
[email protected]
Betreff: RE : [Nagios-users] Re: [Nagios-devel] webinterface don't =
works with large number of hosts in Nagios 2.0 current cvs version
=09
=09
The test for strlen(input)>MAX_XODTEMPLATE_INPUT_BUFFER has been =
removed on 05/25/2005 from xodtemplate_add_object_property() in the CVS =
version. Maybe you could try the current CVS.
> -----Original Message-----=20
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Marcus Hildenbrand=20
> Sent: Wednesday, July 13, 2005 1:19 PM=20
> To: [email protected];=20
> [email protected]=20
> Subject: [Nagios-users] Re: [Nagios-devel] webinterface don't=20
> works with large number of hosts in Nagios 2.0 current cvs version=20
>=20
>=20
> Hi,=20
>=20
> the cause of this seems to be a too long list of services in=20
> a servicegroup. My config includes something like this:=20
>=20
> - servicegroup definition:=20
> define servicegroup{=20
> servicegroup_name filesystems=20
> alias filesystems=20
> members host1,filesystems=20
> }=20
>=20
> - service template which includes also the above servicegroup=20
> name define service{=20
> use generic-service=20
>=20
> name check_filesystems=20
> service_description filesystems=20
> normal_check_interval 15=20
> max_check_attempts 3=20
> servicegroups filesystems=20
> register 0=20
> }=20
>=20
> - and for nearly every host something like this=20
> define service{=20
> use check_filesystems=20
> host_name hostxx=20
> check_command check_nrpe!check_filesystems=20
> normal_check_interval 15=20
> contact_groups GROUPX=20
> }=20
>=20
> This means that the servicegroup includes nearly 4k services.=20
> After doubling MAX_XODTEMPLATE_INPUT_BUFFER in=20
> xdata/xodtemplate.h from 65535 to 131070 the webinterface works =
again.=20
>=20
> Maybe the size of this variable should be adjusted to=20
> something higher.=20
>=20
> Regards=20
> Marcus Hildenbrand=20
>=20
>=20
> > Hi,=20
> >=20
> > in a test environment I try to monitor nearly 4.000 hosts.=20
> Nagios core=20
> > seems to run (checks and notifications are beeing executed) but the =
> > webinterface always says:=20
> >=20
> > Whoops!=20
> >=20
> > Error: Could not read host and service status information! ....=20
> > ....=20
> >=20
> > The webinterface seems to think Nagios is not running.=20
> >=20
> > After reducing the number of hosts to 3925 the webinterface works=20
> > again.=20
> > So there seems to be a limitation somewhere in the cgi code.=20
> >=20
> > Any idea how to fix this?=20
> >=20
> > Thanks and Best Regards=20
> > Marcus Hildenbrand=20
> >=20
> >=20
> > -------------------------------------------------------=20
> > SF.Net email is sponsored by: Discover Easy Linux Migration=20
> Strategies=20
> > from IBM. Find simple to follow Roadmaps, straightforward articles, =
> >
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]