+ update emc symmetrics
This commit is contained in:
parent
ebf154d9ce
commit
0c7511b84a
|
@ -218,7 +218,7 @@ sub send_email {
|
||||||
-from => $self->{option_results}->{email_smtp_from},
|
-from => $self->{option_results}->{email_smtp_from},
|
||||||
-subject => $subject,
|
-subject => $subject,
|
||||||
-body => $stdout,
|
-body => $stdout,
|
||||||
-attachments => $self->{option_results}->{file_health_env});
|
-attachments => $self->{option_results}->{file_health} . ',' . $self->{option_results}->{file_health_env});
|
||||||
$mail->bye();
|
$mail->bye();
|
||||||
if ($result == -1) {
|
if ($result == -1) {
|
||||||
$self->{output}->add_option_msg(severity => 'UNKNOWN', short_msg => "problem to send the email");
|
$self->{output}->add_option_msg(severity => 'UNKNOWN', short_msg => "problem to send the email");
|
||||||
|
|
|
@ -243,7 +243,7 @@ sub send_email {
|
||||||
-from => $self->{option_results}->{email_smtp_from},
|
-from => $self->{option_results}->{email_smtp_from},
|
||||||
-subject => $subject,
|
-subject => $subject,
|
||||||
-body => $stdout,
|
-body => $stdout,
|
||||||
-attachments => $self->{option_results}->{file_health_env});
|
-attachments => $self->{option_results}->{file_health} . "," . $self->{option_results}->{file_health_env});
|
||||||
$mail->bye();
|
$mail->bye();
|
||||||
if ($result == -1) {
|
if ($result == -1) {
|
||||||
$self->{output}->add_option_msg(severity => 'UNKNOWN', short_msg => "problem to send the email");
|
$self->{output}->add_option_msg(severity => 'UNKNOWN', short_msg => "problem to send the email");
|
||||||
|
|
Loading…
Reference in New Issue