Empty notification values

Hello
I’ve nagios running on debian sarge, but when I receive the notifications I get something similar to the following message
?What should I do to receive the parameters Service, State: Additional Info: with values?


Notification Type: PROBLEM

Service:
Host: Cisco AeroNet 1310
Address: 218.200.35.21
State:

Date/Time: Mon Jan 16 11:48:28 EST 2006

Additional Info:


Thanks in advance for any help
Enediel

Post your notification commands. Sometimes using certain macros in lieu of others will get the results you want.

This is my current configuration of notification commands involved

define command{
command_name notify-by-email
command_line /usr/bin/printf “%b” “** Nagios Alert \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -a “From: Alert from nagios monitor@nagios” -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **” $CONTACTEMAIL$
}

define command{
command_name host-notify-by-email
command_line /usr/bin/printf “%b” “** Nagios Alert \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -a “From: Alert from Nagios monitor@nagios” -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **” $CONTACTEMAIL$
}

nagios.sourceforge.net/docs/2_0/macros.html
See the docs for the available macros to use.
Your definitions look good, so please double check your syntax.