NSCA error with --single and aggregate writes enabled

Ethan Galstad nagios at nagios.org
Tue Jan 15 23:24:47 CET 2008


Thanks - patch will be in CVS soon.

Thomas Guyot-Sionnest wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ton Voon wrote:
>> Hi Ethan,
>>
>> We've found a problem with NSCA when aggregate writes are enabled and  
>> NSCA starts writing to the command file before it gets created.  
>> Details here: http://altinity.blogs.com/dotorg/2008/01/nscas-aggregate.html
> 
> Alternatively, Nagios could leave the pipe here and have nsca open the
> file in non-blocking read-write - it will then be able to fill up the
> pipe and Nagios will get the queued commands when it starts up. On write
> failures (pipe full) the dump file could be used. This would be the
> preferred method to avoid data loss.
> 
> That's pretty much the same as host/service_perfdata_file_mode=p in
> Nagios 3 with a daemon like OCP_Daemon to get the data, but the other
> way round.
> 
> - --
> Thomas


Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web:   www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list