[Fwd: Patch to display parent hosts in extinfo.cgi]

Ton Voon ton.voon at opsera.com
Wed May 13 12:27:07 CEST 2009


On 13 May 2009, at 11:05, Andreas Ericsson wrote:

> Ton Voon wrote:
>> On 13 May 2009, at 10:28, Andreas Ericsson wrote:
>>
>>> matthias eble wrote:
>>>> Hi Andreas, hi Ton,
>>>>
>>>> so I'll try the proof of concept and re-submit this patch as I  
>>>> think
>>>> this is quite neat (it still applies to latest version).
>>>>
>>> Neat patch. Thanks :)
>>
>> Andreas, does this mean you are going to commit this? If so, I'll  
>> back
>> off.
>>
>
> Go ahead if you're on it. My git-import is still running, so I won't
> touch it until 3PM at the earliest.

I don't plan on touching this today - just wanted to make sure we  
weren't clashing. Do you use IRC? Maybe #nagios-devel on  
irc.freenode.net would be better to coordinate?

>>>> This would make it easily possible to display hosts' children in  
>>>> the
>>>> cgis which is a good thing also IMO.
>>> I'm not so sure about that. Many of our customers have huge switches
>>> with up to a hundred child-host connected to them.
>>
>> I think you could add a table at the bottom of the extinfo.cgi page  
>> to
>> list all the children. It's out of the way, but accessible if  
>> required.
>>
>
> True that, but obtaining the information right now makes it  
> prohibitively
> expensive to do so for large installations. It would mean having to  
> walk
> through all the hosts and see which ones have the current host  
> listed as
> its parent.

True. So if use_large_installations_tweaks is set, don't display,  
otherwise do?

When the children links are added to the object structure, then we  
just need to remove this if statement.

Ton


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com




More information about the Developers mailing list