I just installed nagios et al[1] in my Centos-5.2 (x86). When I try to
test the configuration file it fails[2] with the message "Unexpected
token or statement(...)".
The line is:
command[notify-by-email]=/usr/bin/printf "$OUTPUT$" | /bin/mail -s
'$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$
But if I comment this line, then I got the same message in the next
line. I changed the path to printf, because I already have installed.