Problems sending emails with SERVICE OUTPUT from Nagios


**I’m having problems sending email that will contain SERVICE OUTPUT that I see correctly in Nagios under “Service State Information”. ** I see host “Status Information” for given SNMP service ( for checking free space on remote host) as I would like to receive in email, but when I try to send it out in body of the email I’m receiving only email subject line and empty body.

Here is my send_email command:

/usr/bin/printf “%b” $HOSTOUTPUT$ | /bin/mail -s “Hard drive alert for $HOSTNAME$” $CONTACTEMAIL$

Here is service status Information that I see in Nagios and that I want to send inside body of the email:

C:\ Label: Serial Number xxxxxxxx: 80%used(9798MB/12292M:roll: (>75%) : WARNING

and here is my check command:

perl $USER1$/ -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$

Can anyone point me in right direction. Nothing seems to work for me. I already tried sending $SERVICEOUTPUT$, $SERVICEPERFDATA$ and body is always empty.