Who is using Nagios 2.0?

Andreas Ericsson ae at op5.se
Tue Oct 12 09:23:55 CEST 2004


Jason Martin wrote:
> On Mon, Oct 11, 2004 at 02:05:20PM +0800, Kelvin Wu wrote:
> 
>>server. so make services.cfg as small as you can to speed up web
>>interface.
> 
> That is just a workaround, I don't think anyone will argue that
> it is a good final solution.
> 

It's also quite irrelevant. Reading 1MB takes only slightly longer than 
reading 10KB. If you want it to be faster, you should sort all the 
objects in reversed alphabetical order. This will make each list 
traversal as fast as they can be.
Each object depending on others sort by their 'master' object first 
(services sort by host_name and then service_description).


> -Jason Martin

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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





More information about the Users mailing list