[ZBX-11142] Zabbix server stops to send notifications after IBM DB2 SQL error (string escaping). Created: 2016 Aug 30 Updated: 2017 May 30 Resolved: 2016 Oct 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.0.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleg Ivanivskyi | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | actions, db2 | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 3.0.4 |
Issue Links: |
|
Description |
Zabbix server stops to send notifications after this error: 6161:20160818:105058.988 [Z3005] query failed: [-10] 42603 [IBM][CLI Driver][DB2/LINUXX8664] SQL0010N The string constant beginning with "'VMSSSSSTEST: New error message in Windows Application log Zabbix tim" does not have an ending string delimiter. SQLSTATE=42603 [insert into alerts (alertid,actionid,eventid,userid,clock,mediatypeid,sendto,subject, message,status,error,esc_step,alerttype) values (9475994,74,4977300,56,1471506658,1,'[email protected]','VMSSSSSTEST: New error message in Windows Application log','VMSSSSSTEST: New error message in Windows Application log Zabbix timestamp: 2016.08.17 15:29:21 Agent timestamp: 2016.08.17 15:29:09 Source="SSSSS" Severity=Error Serious: Unexpected return code: Message catalog: 1, Message number: 1000 Context: SOAP Message parsing failed : sss-complex-type.2.4.b: The content of element ''ns2:ReadExpandedCorresp ondents'' is not complete. One of ''{"sss:sssss:sss:ssss":Identifier}'' is expected. Program: SS_appsrv, file: Logerrorssssss, line: 11, function:LogerrorOperation::E.',0,'',1,0); ] Looks similar to |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Aug 30 ] |
Isn't it related to |
Comment by Oleg Ivanivskyi [ 2016 Aug 30 ] |
This issue is actual for the patched version (Zabbix 3.0.4 with installed |
Comment by Aleksandrs Saveljevs [ 2016 Aug 30 ] |
Rumor has it that the error message contains some interesting characters. oleg.ivanivskyi, could you please attach the relevant part of the log as a file instead of pasting it? |
Comment by Oleksii Zagorskyi [ 2016 Aug 31 ] |
Hexademical 0x0B is detected at the end of received and inserted to history_log table value. |
Comment by Sergejs Paskevics [ 2016 Aug 31 ] |
Please provide the result of the following query: select * from history_log where value like 'VMSSSSSTEST: New error message in Windows Application log%' and value like '%2016.08.17 15:29:21%'; |
Comment by Oleksii Zagorskyi [ 2016 Aug 31 ] |
The value (with the hexademical chars) is already missing in the table, it was altered to let zabbix to recover. |
Comment by Sergejs Paskevics [ 2016 Sep 01 ] |
Could you please get info about database codepage?
db2 get db cfg for <database_name>
params: Database territory Database code page Database code set Database country/region code |
Comment by Sergejs Paskevics [ 2016 Sep 14 ] |
Combination of characters at the end of string - C3 88 C5 BE 45 0B, doesn't affect the processing. On our test systems it is working correctly. |
Comment by Sergejs Paskevics [ 2016 Sep 21 ] |
I propose to close this issue, as the problem not revealed. |