Skip to content

Nagios email notifications are sent by default without a subject #1618

Closed
@mightyspiky

Description

@mightyspiky

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions