I'm trying to use a pl script from http://nagios.fm4dd.com/howto/nagios-fl ... ations.htm to enable HTML emails for notifications. I'm on 4.1 Nagios and can't seem to get this to work. I haven't copied their set-up exactly as I didn't want to separate from the commands.cfg. Can you give me any advice?
The plugin is in libexec folder as this is where the other plugins work (and they all work so far)
Commands.cfg
Code: Select all
# 'service-email-html-int-en' command definition
# sends HTML e-mails in English and includes Nagios URL for Intranet access
define command{
command_name service-email-html-int-en
command_line /usr/local/nagios/libexec/nagios_send_service_mail.pl \
-c "$CONTACTADDRESS1$" \
-f html -u
}Code: Select all
define contact{
contact_name itsupport
alias IT Support
service_notification_period workhours
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands service-email-html-int-en
email [email protected]
}