> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, November 15, 2006 11:05 AM
> To: Joe Astrologo
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] $DATE$
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 ;-)
> *$OUTPUT$*
> *How can i fix this?*
Now all the variables are enviroment variables with NAGIOS_ prefix. Try
to add it.
Matteo
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and
Did you recently upgrade to nagios 2.x?
Both of those macro names have changed. See
http://nagios.sourceforge.net/docs/2_0/macros.html
-Scott
Joe Astrologo wrote:
> Example form nagios notification
>
>
> ** Nagios **
>
> Notification Type: PROBLEM
>
> Service: Disk Space F
>
> Service St
Example form nagios notification
** Nagios **
Notification Type: PROBLEM
Service: Disk Space F
Service State: WARNING
Host: antares99.ohis.local
Host: Hot Site SQL server
Host Group: windows-servers
Info: PING OK - Packet loss = 0%, RTA = 3.50 ms
Date/Time: $DATETIME$
Additional Info:
$OUTPUT$