Hi,
I am trying to write a notification script which is called via the
following command definition:
define command {
command_namenotify-service-by-email
command_line/path/bin/notify --mail="$CONTACTEMAIL$"
}
To save myself from handing in all macros to the script via the
On 12/22/10 6:17 AM, Marc Haber wrote:
> Despite having set enable_environment_macros=1 in my nagios.cfg, the
> notification script only sees NAGIOS_PLUGIN=/path/bin/notify.
>
> What am I doing wrong?
>
> I'm using Nagios 3.0.6 from Debian lenny. Any hints will be appreciated.
enable_environment_ma
Hi Mike,
thanks for replying.
On Wed, Dec 22, 2010 at 06:36:39PM -0800, Mike Lindsey wrote:
> On 12/22/10 6:17 AM, Marc Haber wrote:
>> Despite having set enable_environment_macros=1 in my nagios.cfg, the
>> notification script only sees NAGIOS_PLUGIN=/path/bin/notify.
>>
>> What am I doing wrong