webinterface don't works with large number of hosts in Nagios 2.0 current cvs version
Marcus Hildenbrand
Marcus.Hildenbrand at sap.com
Wed Jul 13 13:19:23 CEST 2005
Hi,
the cause of this seems to be a too long list of services in a servicegroup. My config includes something like this:
- servicegroup definition:
define servicegroup{
servicegroup_name filesystems
alias filesystems
members host1,filesystems
}
- service template which includes also the above servicegroup name
define service{
use generic-service
name check_filesystems
service_description filesystems
normal_check_interval 15
max_check_attempts 3
servicegroups filesystems
register 0
}
- and for nearly every host something like this
define service{
use check_filesystems
host_name hostxx
check_command check_nrpe!check_filesystems
normal_check_interval 15
contact_groups GROUPX
}
This means that the servicegroup includes nearly 4k services. After doubling MAX_XODTEMPLATE_INPUT_BUFFER in
xdata/xodtemplate.h from 65535 to 131070 the webinterface works again.
Maybe the size of this variable should be adjusted to something higher.
Regards
Marcus Hildenbrand
> Hi,
>
> in a test environment I try to monitor nearly 4.000 hosts. Nagios core
> seems to run (checks and notifications are beeing executed) but the
> webinterface always says:
>
> Whoops!
>
> Error: Could not read host and service status information!
> ....
> ....
>
> The webinterface seems to think Nagios is not running.
>
> After reducing the number of hosts to 3925 the webinterface works again.
> So there seems to be a limitation somewhere in the cgi code.
>
> Any idea how to fix this?
>
> Thanks and Best Regards
> Marcus Hildenbrand
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
More information about the Users
mailing list