[Nagios-devel] webinterface don't works w ith large number of hosts in Nagios 2.0 current cvs version

Fran=?utf-8?B?w6c=?=ois Laupretre francois.laupretre-prestataire at calyon.com
Fri Jul 15 11:47:49 CEST 2005


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-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Marcus Hildenbrand
> Sent: Wednesday, July 13, 2005 1:19 PM
> To: nagios-devel at lists.sourceforge.net; 
> nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Re: [Nagios-devel] webinterface don't 
> works with large number of hosts in Nagios 2.0 current cvs version
> 
> 
> 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 
> _______________________________________________
> 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
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050715/ba23e704/attachment.html>
-------------- next part --------------
Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Corporate and Investment Bank                              
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Corporate and Investment Bank. All rights reserved.                                                                


More information about the Users mailing list