Page 1 of 1

Re: [Nagios-devel] [Fwd: Patch to display parent

Posted: Wed May 13, 2009 3:56 pm
by Guest

On 13 May 2009, at 15:25, matthias eble wrote:

> I'd place the logic into config.cgi. That would (if supplied with a
> hostname or hostname+service_description argument) print a nice table
> including links to parents, contacts, check_command, interval,...
>
> Of course, with the current data structures looking up children will
> be
> painful in large installations.

I think you are over-estimating the pain. It's a single page for a
single host that is not refreshed. Iterating through all hosts once to
find children should be fine. If it was a page listing 100 hosts and
working out the children, then pain would increase a lot more.

A wise man once said - write it right, then optimise the hell out of
it later.

Ton






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]