[ZBX-4591] Low Level Detection fails when using dynamic indexes where the ifDescr has a double quote. Created: 2012 Jan 26 Updated: 2017 May 30 Resolved: 2012 Feb 12 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 2.0.0rc1 |
Type: | Incident report | Priority: | Critical |
Reporter: | Matthew Schumacher | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | discovery, lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Slackware linux |
Description |
While using low level discovery I used for the OID and ifInOctets["{#SNMPVALUE} "] This generates an item like this: ifInOctets["index", "ifDescr", "1/2/7, 10/100/Gig Ethernet SFP, "to 7705-1.lnbg GE1/1/7 PathC via CRMT""] However it's not a valid item because the " isn't escaped so zabbix marks the item as Not_supported. It should generate: ifInOctets["1/2/7, 10/100/Gig Ethernet SFP, \"to 7705-1.lnbg GE1/1/7 PathC via CRMT\""] I marked this as major because it totally breaks the ability to use lld on many of our routers. Let me know if you need more information. |
Comments |
Comment by Alexander Vladishev [ 2012 Feb 07 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4591 |
Comment by Matthew Schumacher [ 2012 Feb 08 ] |
I would be happy to test, however, I don't see the changes in trunk. I downloaded version 25240 and can't find anything relevant in the changelog nor does the issue seem to be solved. |
Comment by Oleksii Zagorskyi [ 2012 Feb 08 ] |
Matthew, you have to wait status Closed and then you can take it from trunk branch. |
Comment by dimir [ 2012 Feb 09 ] |
Successfully tested. Please check small changes in r25276. Thanks! CLOSED |
Comment by Alexander Vladishev [ 2012 Feb 09 ] |
Fixed in version pre-1.9.10, revision 25286. |
Comment by Oleksii Zagorskyi [ 2012 Feb 11 ] |
Critical bug observed because of this commit: I mean the macro {#SNMPINDEX} doesn't substitute to the real numbers. Sasha, and I see typo in previous comment, actually merged revision is 25286 <Sasha> Many thanks! RESOLVED <zalex> heh, it was a just luck to hit in this bug so fast . Dev branch tested, works as expected, the bug gone. TESTED. |
Comment by Alexander Vladishev [ 2012 Feb 12 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4591 |
Comment by dimir [ 2012 Feb 13 ] |
Tested, works for snmp discovery now. Please review my small changes in r25348. <Sasha> I like it! REVIEWED |
Comment by Alexander Vladishev [ 2012 Feb 13 ] |
Processing of macros in SNMP OID has been fixed in r25351 (pre-1.9.10). |