$DATE$ and $OUTPUT$ macro do not show real values
matteo at progettomio.net
matteo at progettomio.net
Wed Nov 15 18:05:09 CET 2006
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.
Regards,
Matteo
P.S: you forgot to put in copy the mailing list ;-)
>>> Where should they be added? What file or files?
>>>> > *$OUTPUT$*
>>>> > *How can i fix this?*
>>>> Now all the variables are enviroment variables with NAGIOS_ prefix. Try
>>>> to add it.
-------------------------------------------------------------------------
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