High latencies problem.

Alessandro Ren alessandro.ren at opservices.com.br
Thu Mar 26 20:24:14 CET 2009



On 3/26/2009 4:04 PM, Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Alessandro Ren schrieb:
>    
>>      
>>>       I have nagios writing all perfomance data to a file and rotating it
>>> each 60s and I´ve a importer written in C, perl would to catch up with
>>> the files being rotated, to import them each 3 minutes.
>>>        
> Same procedure like we did on PNP4Nagios.
> Sounds like we had a good idea ;)
>
>    
>>>       I´ve noticed that with this many sevices, the interface get very
>>> slow and starves the server, so I´ve  moved all comments to the
>>> database, as nagios would go throught the comments linked list for each
>>> service, changed the nagios code to write it direclty there and the CGis
>>> to read from there.
>>>        
> Well, you are talking about the internal nagios comments?
> If so, it would be a nice discussion if the hint about "Service has
> Comments associated" is something like useless in the service overview?
> IMO it might be enough to see if a host/service has a comment in the
> host/service detail.
> What do the rest of us think?
>    
     We have altered the logic of this hint, it only shows when the host 
is down and the comment is newer the ha status change, to ensure that 
the operator has ACK the problem, and the hinst shows the last comment 
on mouse over.

>    
>>> We also serialize all status data to a memcahe to
>>> speed up the interface, creating and 70s cache, which worked very nice
>>> brought the load that was at 15/17 to 2/4.
>>>        
>>      
> Since we all are waiting for the new NDO based Webinterface, would you
> share your code changes with us?
>    

     I will isolate the code and send it fo the list later so you can 
evaluate it.

     []s.
> Regards,
> Hendrik
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknL0bgACgkQlI0PwfxLQjk5vwCggbA5JkWCNCmfX4IQy333c8fI
> eOUAnjbtlBIf/MRaPNCYHhTFWaqBTruI
> =xImw
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>    

------------------------------------------------------------------------------




More information about the Developers mailing list