$DATE$ and $OUTPUT$ macro do not show real values

Marc Powell marc at ena.com
Wed Nov 15 21:44:53 CET 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of matteo at progettomio.net
> Sent: Wednesday, November 15, 2006 11:05 AM
> To: Joe Astrologo
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] $DATE$ and $OUTPUT$ macro do not show real
> values
> 
> use $NAGIOS_OUTPUT or $NAGIOS_HOSTNAME, etc. in your script (i use a
> bash one to send mail).
> I suppose you upgrade from 1.x, i suggest you to read carefully the
many
> changes between the version in the nagios documentation page.

For the record, $OUTPUT$ and $NAGIOS_OUTPUT are not valid with 2.x.
OUTPUT should be either SERVICEOUTPUT or HOSTOUTPUT depending on what is
wanted.

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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