Page 1 of 1

Re: [Nagios-devel] SERVICEOUTPUT macro

Posted: Fri Jan 25, 2008 10:04 am
by Guest
> -----Original Message-----
> From: [email protected] [mailto:nagios-devel-
> [email protected]] On Behalf Of Martin
> Sent: January 25, 2008 8:51
> To: Nagios Developers List
> Subject: [Nagios-devel] SERVICEOUTPUT macro
>=20
> Hi
>=20
> It seems that the SERVICEOUTPUT macro is not working in Nagios 3 RC1.
>=20
> I defined simple command for saving notification (serviceoutput) to
> file. This definition does not write to file.
>=20
> define command{
> command_name notify-service-by-email
> command_line /usr/bin/printf "$HOSTALIAS$ $SERVICEOUTPUT" >
> /tmp/a.txt
> }

Missing $ in SERVICEOUTPUT

Thomas





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]