Nagmin, Nagios 1.2, Host Detail

Joe Rhett jrhett at isite.net
Wed Apr 7 04:18:48 CEST 2004


The documentation:
	http://nagios.sourceforge.net/docs/1_0/macros.html

This is a list of what you have available for each type of command.

On Tue, Apr 06, 2004 at 03:39:48PM -0700, Chris Waters wrote:
> 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 
> 

-- 
Joe Rhett                                                      Chief Geek
JRhett at Isite.Net                                      Isite Services, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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