[ZBX-9928] Triple SMS for each trigger action Cinterion MC35i Created: 2015 Oct 02 Updated: 2017 May 30 Resolved: 2015 Nov 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.10 |
Fix Version/s: | 2.0.17rc1, 2.2.12rc1, 2.4.8rc1, 3.0.0alpha5 |
Type: | Incident report | Priority: | Minor |
Reporter: | anton | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | regression, sms | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS release 6.7 64 |
Attachments: | gsm.txt sms.patch zabbix_server.log |
Description |
After update Zabbix from 2.2.9 to 2.2.10 I have a problem with sms. Device : /dev/ttyS0 |
Comments |
Comment by Aleksandrs Saveljevs [ 2015 Oct 02 ] |
Apparently, a regression from |
Comment by Andris Zeila [ 2015 Nov 06 ] |
Currently the only scenario I can imagine is that this modem sends the +CMGS:<space><number>\r in two packets - +CMGS: and <space><number>\r. But if it's true - then there was also a good chance failing before |
Comment by Andris Zeila [ 2015 Nov 09 ] |
Would it be possible to attach log fragment created with DebugLevel 4 while sending SMS ? Also would You be willing to test a patch (when it will be ready) ? Otherwise we can only make a good guess. |
Comment by Andris Zeila [ 2015 Nov 10 ] |
Thanks! I attached the patch that basically uses pre |
Comment by anton [ 2015 Nov 14 ] |
I tested the patched version, at first glance, sms actions works fine. |
Comment by Andris Zeila [ 2015 Nov 17 ] |
Great, then we will proceed with this fix. Thanks! Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9928 . |
Comment by Aleksandrs Saveljevs [ 2015 Nov 20 ] |
Looks good, but please see r56815 before merging (it guards against empty read()). wiper Thanks! |
Comment by Andris Zeila [ 2015 Nov 20 ] |
Released in:
|