X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=clean_policy.py;h=2dd737bd35c387ee9da494d6e95bba1735aec01e;hb=refs%2Fheads%2F1.0;hp=f447c95b052ebcefaa68a54481b9c8123c1f1e42;hpb=c9b0045bba8ab66adf5036f9cac7f37f476b9a69;p=monitor.git diff --git a/clean_policy.py b/clean_policy.py index f447c95..2dd737b 100644 --- a/clean_policy.py +++ b/clean_policy.py @@ -143,6 +143,9 @@ class MonitorMergeDiagnoseSendEscellate: if 'resolved' in ticket['Status']: diag.setFlag('RTEndRecord') + # NOTE: try to give a default value to catch the errors for + # planetlab1.ias.csusb.edu which seems to have an out-of-date node config + record.data['message_series'] = emailTxt.mailtxt.newdown # NOTE: take category, and prepare action category = record.getCategory() if category == "error":