<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>Nagmin, Nagios 1.2, Host Detail</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I want to include info from the Host Detail table of my config on the email alerts. How do yo pull fields from the differnent tables in as variables? It does not seem obvious.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Here is an existing host-notify-by-email:</FONT>
</P>
<P> <FONT FACE="Arial">/usr/bin/printf %b "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ </FONT></P>
<P><FONT FACE="Arial">Sorry if this is vague but I don't now where to start really</FONT>
</P>
<P><FONT FACE="Arial">Thanks.</FONT>
<BR><FONT FACE="Arial">Chris Waters</FONT><FONT FACE="Arial"> </FONT>
</P>
</BODY>
</HTML>