trying to fix problem with excessive latency

C. Bensend benny at bennyvision.com
Wed May 19 14:40:33 CEST 2010


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

Ah!  Thank you for the clarification, Andreas.  As I mentioned, I
have no experience with this setting and I'm fighting some
performance demons of my own.  This may very well help me as well.

It might be useful to be a little more verbose about this setting
in the default nagios.cfg - it makes no reference to NAGIOS_ and
doesn't make the distinction.  Maybe something like:


# ENABLE ENVIRONMENT MACROS
# This option determines whether or not Nagios will make all standard
# macros available as NAGIOS_ environment variables when host/service
# checks and system commands (event handlers, notifications, etc.) are
# executed.  Enabling this option can cause performance issues in


Thanks again!

Benny


-- 
"I can do for you is - what can not no girl!"
            -- Spam email subject, 2010-01-15



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

_______________________________________________
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