X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=clean_policy.py;fp=clean_policy.py;h=2dd737bd35c387ee9da494d6e95bba1735aec01e;hb=12c56cc4dee09279b3f35650c3f37f69f65f3705;hp=f447c95b052ebcefaa68a54481b9c8123c1f1e42;hpb=eee5b672bc9c5dd028dca1e102e825c90e9ab9ec;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":