Nagmin, Nagios 1.2, Host Detail

Chris Waters CWaters at jeld-wen.com
Wed Apr 7 00:39:48 CEST 2004


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.

Here is an existing host-notify-by-email:

	/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$	

Sorry if this is vague but I don't now where to start really

Thanks.
Chris Waters 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040406/cfe239d7/attachment.html>


More information about the Users mailing list