OP#436 testing

This commit is contained in:
2026-03-01 14:21:30 +01:00
parent e880432018
commit 9e753a6914
5 changed files with 9 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class confdroid_nagios::nagios::objects::commands (
ensure => present,
command_name => 'notify-host-by-email',
command_line => '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTADDRESS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTADDRESS$ is $HOSTSTATE$ **" $CONTACTEMAIL$',
owner => 'nagios',
owner => 'nagions',
group => 'nagios',
mode => '0640',
target => $ng_target_command,