Nagios 4 ignores object_cache_file and log_file
William Leibzon
william at leibzon.org
Fri Sep 21 07:23:14 CEST 2012
This did not fix CGIs, those would bypass trying to read main config file
and try to go directly for default cached objects file. This is
in xodtemplate_read_config_data and in addition to that issue macros are
wrong there with #ifdef NSCORE inside #ifdef NSCORE.
On Sun, Sep 16, 2012 at 2:32 PM, Andreas Ericsson <ae at op5.se> wrote:
> 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.
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Tel: +46 8-230225 Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20120920/8c950e3f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
-------------- next part --------------
_______________________________________________
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