Notifications not sent via mail


(Uwe Traschütz) #21

I added the Notes clause, but still get:

[2018-12-05 13:18:19 +0100] warning/PluginNotificationTask: Notification command for object ‘icinga2node-01.wops’ (PID: 56379, arguments: ‘/etc/icinga2/scripts/mail-host-notification.sh’ ‘-4’ ‘127.0.0.1’ ‘-6’ ‘::1’ ‘-b’ ‘uwt’ ‘-c’ ‘Send mail check’ ‘-d’ ‘2018-12-05 13:18:19 +0100’ ‘-l’ ‘icinga2node-01.wops’ ‘-n’ ‘icinga2node-01.wops’ ‘-o’ ‘PING OK - Packet loss = 0%, RTA = 0.06 ms’ ‘-r’ ‘wops@wibu.com’ ‘-s’ ‘UP’ ‘-t’ ‘CUSTOM’ ‘-v’ ‘false’) terminated with exit code 1, output: mail not found in $PATH. Consider installing it.

Do you have any idea?

Best regards,
Uwe


(Chris) #22

can you execute the mail utility in the console ?
if not, you need to install it