trying to fix problem with excessive latency

Andreas Ericsson ae at op5.se
Wed May 19 14:31:20 CEST 2010


On 05/19/2010 02:00 PM, C. Bensend wrote:
> 
>> Try disabling "enable_environment_macros". It helped use greatly when we
>> disabled this option. Nagios was spending most of its time allocating
>> memory for environment variables it never used. (in our case)
>>
>> Host/Service checks latency dropped from ~20 minutes to 10 seconds I
>> would say.
> 
> Doesn't this kill the use of said macros in notifications, etc?

No. It just means you can't access the various macros as environment
variables, like so:

$NAGIOS_(macroname)

They still get swapped in at the command line, so they're still
totally useful for that particular purpose.

-- 
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.

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

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list