Closed tester22 closed 6 years ago
If the field long_desc is multiline the http call is invalid causing alerta api to returrn 400.
Example: [1520768752] [alerta] Service check received. [1520768752] {"origin":"nagios/op5","resource":"db103","event":"SAP HANA Services","group":"Nagios","severity":"normal","environment":"Production","service":["Platform"],"tags":["check=Active"],"text":"daemon:YES nameserver:YES preprocessor:YES webdispatcher:YES compileserver:YES indexserver:YES ","value":"1/3 (Hard)","type":"nagiosServiceAlert","rawData":""} [1520768752] [alerta] HTTP server error (status=400)
If the field long_desc is multiline the http call is invalid causing alerta api to returrn 400.
Example: [1520768752] [alerta] Service check received. [1520768752] {"origin":"nagios/op5","resource":"db103","event":"SAP HANA Services","group":"Nagios","severity":"normal","environment":"Production","service":["Platform"],"tags":["check=Active"],"text":"daemon:YES nameserver:YES preprocessor:YES webdispatcher:YES compileserver:YES indexserver:YES ","value":"1/3 (Hard)","type":"nagiosServiceAlert","rawData":""} [1520768752] [alerta] HTTP server error (status=400)