Re: [Nagios-devel] SERVICEOUTPUT macro

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] SERVICEOUTPUT macro

Post 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]
Locked