This might be an easy one for some of you all. I’m trying to change the notification email subject line to read something like “Server1 is DOWN” or something along those lines. Is the command-plugins.cfg the place to do this? It’s the closest thing I’ve found. I commented out one line and added another, but after restarting the nagios service, I still end up with the same message. Any ideas???
(the original line that I commented out)
#command[notify-by-email]=/bin/printf “$OUTPUT$” | /bin/mail -s ‘$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$’ $CONTACTEMAIL$
(the line i added)
command[notify-by-email]=/bin/printf “$OUTPUT$” | /bin/mail -s ‘$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$’ $CONTACTEMAIL$