nagios-nrpe: fix expected return message of test mail
This commit is contained in:
parent
33f85b565c
commit
42c4a20b1f
|
@ -65,7 +65,7 @@ $smtp->close();
|
||||||
|
|
||||||
print "$result\n";
|
print "$result\n";
|
||||||
|
|
||||||
if ($result =~/2.7.0 Ok, discarded/) {
|
if ($result =~/2.5.0 Ok, id=[^,]+, BOUNCE/) {
|
||||||
print "OK - All fine\n";
|
print "OK - All fine\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue