[ZBXNEXT-4314] Missing index processing in SNMP LLD Created: 2018 Jan 05 Updated: 2021 May 19 Resolved: 2021 May 19 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | Olegs Vasiljevs (Inactive) | Assignee: | Andris Zeila |
Resolution: | Duplicate | Votes: | 3 |
Labels: | index, lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Hello! Say there is an array of network interfaces available on a networking device and these differ in it's nature:
Such devices may provide network interface info in both ifHCInOctets and ifInOctets counters, and provide interfaces with only ifInOctets counters. As a workaround, user requires to define two different discovery rules as can be observed in Template Module Interfaces Simple SNMPv2 and Template Module Interfaces SNMPv2 out of the box templates. Sample SNMP tree layout for a reference: IF-MIB::ifInOctets.1 = Counter32: 4266470707 IF-MIB::ifInOctets.2 = Counter32: 0 .3, .4, .5 ...... NO GAPs IF-MIB::ifInOctets.12 = Counter32: 0 IF-MIB::ifInOctets.13 = Counter32: 4217786513 IF-MIB::ifInOctets.14 = Counter32: 1162860867 <...> IF-MIB::ifHCInOctets.7 = Counter64: 0 IF-MIB::ifHCInOctets.8 = Counter64: 159481902502 GAP GAP........ IF-MIB::ifHCInOctets.11 = Counter64: 151918525828 IF-MIB::ifHCInOctets.12 = Counter64: 0 IF-MIB::ifHCInOctets.14 = Counter64: 1014752389343 |
Comments |
Comment by Alex [ 2018 Aug 07 ] |
I am having the same issue. What's the workaround?
I am trying to filter on IF-MIB::ifAlias but not all interfaces return data. I don't care if they return data or don't – I just need to check via reg ex if they contain a certain exclusion flag.
but I can't do this because they don't all have data. |
Comment by Leandro Rocha [ 2018 Oct 27 ] |
Same thing here. I have several LLD rules and some of them are suppose to not find the value if they don't exist in the host. But now its generating errors. Will be nice if we can "silence" in some parameter in the Zabbix. |
Comment by Oleksii Zagorskyi [ 2019 Apr 17 ] |
historically related - |
Comment by Oleksii Zagorskyi [ 2019 Apr 17 ] |
|
Comment by Oleksii Zagorskyi [ 2021 May 19 ] |
As I understand |