Closed
Description
Concerning Nagios 4.5.0 packaged with OmniOS, we should use mailx command instead of mail command with actions « notify-host-by-email » and « notify-service-by-email » in file /etc/opt/ooce/nagios/objects/commands.cfg because the « -s » flag that is used there has no effect in the OmniOS version of mail command (contrarily to the mail command of Linux distributions) and, thus, prevent email notifications from having a subject by default. Just using « mailx » instead of « mail » (while using the same arguments) correct the problem.