check_nt_disk - perfdata not being put into emails

Darren Harrison darrenh at gallagher.co.nz
Wed Oct 1 22:41:14 CEST 2003


Hi Terry,
Try changing your 'notify-by-email' command to something like this...
/bin/echo -e "<message here>" | /usr/bin/mail -s '<subject here>' 
$CONTACTEMAIL$ 

The back slash is being 'interpreted'. Using /bin/echo -e will stop this 
from happening.

Darren.

> Date: Wed, 1 Oct 2003 08:27:04 -0700 (PDT)
> From: Terry <td3201 at yahoo.com>
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_nt_disk - perfdata not being put into 
emails
> 
> Hello,
> 
> I am using the check_nt plugin to check disk
> information on a windows box.  On the webpage I am
> getting all the necessary information:
> D:\ - total: 13.01 Gb - used: 10.57 Gb (81%) - free
> 2.43 Gb (19%) 
> 
> However, for 'Additional Info' in the emails I am only
> getting:
> D:
> 
> This is all I have for illegal_macro_output_chars:
> `~$&|'"<>
> 
> I even tried disabling that option and i am still not
> getting the additional info.
> 
> Any ideas?
> 
> Thanks!
> 
> 
> =====
> Terry

###########################################################################
This e-mail is confidential and may contain information subject to legal 
privilege.  If you are not the intended recipient please advise us of our
error by return e-mail then delete this e-mail and any attached files.  
You may not copy, disclose or use the contents in any way.  

The views expressed in this e-mail may not be those of Gallagher Group 
Ltd or subsidiary companies thereof.
###########################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031002/d8b1e26b/attachment.html>


More information about the Users mailing list