[ZBX-13649] LLD for PBX Agat doesn't work Created: 2018 Mar 24  Updated: 2018 Oct 12  Resolved: 2018 Oct 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 3.4.7
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Vladimir Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS Centos 7.4 x64, server Dell R210, two HDD as RAID


Attachments: File AGAT-SIP-CONTROL-MIB.MIB     PNG File Discovery rule.png     PNG File Item prototype.png     File mib-browser.pcap     Text File snmpwalk_dump.txt     Text File snmpwalk_dump.txt     File zabbix.pcap    

 Description   

We have PBX Agat UX which provides SNMP and vendor provided MIB also.
I made template with LLD but it doesn't discover any item. I can get the required SNMP info through MIB-browser but noy through Zabbix.
To my mind problem is connected with the quantity of asked variables in one request. If I make bulk request with MIB-browser it asks for 10 variables. But Zabbix asks only one, then PBX answers with value NULL. And such a sutiation repeats.
PCAP are attached.



 Comments   
Comment by Kaspars Mednis [ 2018 Mar 26 ]

Hello Vladimir,

please attach both the discovery rule screenshot and item prototype screenshot here. Now it seems like a wrong discovery rule configuration, not a Zabbix bug.

Regards,
Kaspras

Comment by Vladimir [ 2018 Mar 27 ]

Hello! I uploaded the required screenshots. The full string of discovery rule is

discovery[{#SIPPROXYDNS}, 1.3.6.1.4.1.369.1.1.1.1.3,{#SIPPROXYSTATUS},1.3.6.1.4.1.369.1.1.1.1.6]
Comment by Aigars Kadikis [ 2018 Mar 27 ]

Hello Vladimir,

The AGAT-SIP-CONTROL-MIB.MIB file does not include translation for Oid:
1.3.6.1.4.1.369.1.1.1.1.6

Nevertheless MIB file still contains information about 1.3.6.1.4.1.369.1.1.1.1.3 which matches sipProxyDNS.

Please try to create discovery rule only with:
discovery[

{#SIPPROXYDNS}

,.1.3.6.1.4.1.369.1.1.1.1.3]

Comment by Vladimir [ 2018 Mar 27 ]

Nothing has changed with the new rule.

Comment by Kaspars Mednis [ 2018 Mar 28 ]

If you can provide us with the snmpwalk dump file for 1.3.6.1.4.1.369 , we will be able to reproduce the issue. Is that possible ?

Comment by Vladimir [ 2018 Mar 28 ]

I attached it.

Comment by Kaspars Mednis [ 2018 Mar 28 ]

Thank you, we will try to reproduce the issue.

Regards,
Kaspars

Comment by Aigars Kadikis [ 2018 Mar 29 ]

Hello, Vladimir

Please send another snmpwalk dump for 1.3.6.1.4.1.369, but this time provide OIDs in numeric format.
This can be done by passing -On to snmpwalk.

Comment by Vladimir [ 2018 Mar 29 ]

Hello!
Done

Comment by Kaspars Mednis [ 2018 Apr 06 ]

Hello Vladimir,

The problem is, that every SNMP tree in your device begins with a NULL entry, like

SNMPv2-SMI::enterprises.369.1.3.1.1.17.0 = NULL
SNMPv2-SMI::enterprises.369.1.3.1.1.17.1 = INTEGER: 0
SNMPv2-SMI::enterprises.369.1.3.1.1.17.2 = INTEGER: 0
SNMPv2-SMI::enterprises.369.1.3.1.1.17.3 = INTEGER: 0
SNMPv2-SMI::enterprises.369.1.3.1.1.17.4 = INTEGER: 0

Zabbix gets NULL value at the start of the tree and stops walking the tree, no more discoveries are made

Regards,
Kaspars

Comment by Vladimir [ 2018 Apr 06 ]

Hello!
Yes, I wrote it while opening the issue.
>>But Zabbix asks only one, then PBX answers with value NULL
I suspected that this is the reason and you have confirmed.
And how to solve the issue? Is vendor guilty for such a SMNP realization?

Comment by Kaspars Mednis [ 2018 Apr 06 ]

There are very rare cases of such SNMP realization. We can not confirm that this a bug in Zabbix, because Zabbix works with "normal" SNMP trees as expected, and breaks only on such strange SNMP solutions. You can contact vendor for possible SNMP updates, or you can open a new Zabbix feature request to handle such situations

Regards,
Kaspars

Comment by Vladimir [ 2018 Apr 06 ]

Why should I open a new request?
Where is the standart of "normal" SNMP trees?
Who estimates the normality?

Comment by Vladimir [ 2018 Apr 11 ]

Hello!
Any news?

Comment by Vladimir [ 2018 Jul 24 ]

Hello!
Any news?

Comment by Aigars Kadikis [ 2018 Oct 12 ]

Hi,

Where is the standard of "normal" SNMP trees?

Every leaf inside OID must belong to some data type. It can be a string, integer, hex. This approach also applies to things like Object-oriented programming. Values must have a data type. In other words, we invent data types to easier classify and store values.

I will close this ticket as won't fix. Please open a feature request to handle such exception in Zabbix.

P.S. When I tried to reproduce your scenario with SNMP simulator. This guy even don't allow NULL to be stored inside a tree 

 

 

Generated at Fri Apr 26 18:20:48 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.