Re: [Nagios-devel] A 1.3 Nag release ?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] A 1.3 Nag release ?

Post by Guest »

what I found worked well (as a addition to hashing) was to add a
linked lists of services
for a given host on the host record, and have a pointer to the host
record from the service record.

this can be used to avoid a lot of searches of this pattern

foreach ( service ) {
if strcmp( service.hostname , hostname_wanted ) {
do something
}
}

to
hostec = findhost( hostname_wanted)
foreach ( hostrec->services ) {
do something
}

regards
Ian
(I can make a seperate patch of this for 2.0 if ethan is interested
enough to apply it)
On Mon, 23 Aug 2004 16:54:57 -0700, Wil Cooley wrote:
> On Mon, 2004-08-23 at 22:22 +1000, Stanley Hopcroft wrote:
>
> > Is there any interest in a 1.3 release with (at a minimum) embedded Perl
> > changes ie from 2.0
>
> I am not currently using the Perl interpreter, but I am helping to
> deploy a very large installation at a cable Internet company and we
> might need to use it to scale. So, yes, I would be interested in seeing
> an intermediate release.
>
> Wil
> --
> Wil Cooley [email protected]
> Naked Ape Consulting http://nakedape.cc
>
>
>
>





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