Re: [Nagios-devel] webinterface don't works with large number of
Posted: Wed Jul 13, 2005 3:19 am
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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]