Displaying 1 result from an estimated 1 matches for "servicedesc".
Did you mean:
servicedesk
2008 Nov 11
0
nagios command-plugins: unexpected token
...led 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.
Is something missing? Are the rpm's enough?
Thanks
Marcelo
[1]
newt (Linux) $rpm -qa | grep nagios
nagios-plugins-1.4.12-1.el5.r...