Nagios 4 ignores object_cache_file and log_file

Joerg Linge pitchfork at ederdrom.de
Mon Sep 17 10:52:51 CEST 2012


Am 16.09.2012 um 23:32 schrieb Andreas Ericsson <ae at op5.se>:

> On 09/16/2012 05:13 PM, Joerg Linge wrote:
>> 
>> Am 16.09.2012 um 16:27 schrieb Andreas Ericsson <ae at op5.se>:
>>> 
>>> Well, that's by design. The objects.cache should only be written to once.
>>> Or do you mean that it gets created but is empty?
>> 
>> Correct.
>> object_cache_file was created using the wrong path (/usr/local/nagios/var/objects.cache as defined in includes/locations.h instead of /omd/sites/ng4/var/nagios/objects.cache defined in nagios.cfg )
>> 
>> But the file contains just the header.
>> 
> 
> Righto. I figured it out and a fix is pushed to both github and to
> svn. Thanks for helping out.

pulled and tested!

Thanks Andreas. Now it works

Cheers
Joerg
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/




More information about the Developers mailing list