Ad Widget

Collapse

Zabbix DOCSIS3 modem template question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ADonecky
    Junior Member
    • Dec 2021
    • 8

    #1

    Zabbix DOCSIS3 modem template question

    Hello everyone

    I'm trying to modify a template for DOCSIS 3 modems. Currently I'm stuck with this problem:


    I use LLD discovery for modem downstream channels. As a discovery query I use

    Code:
     discovery[{#IFFREQ},.1.3.6.1.2.1.10.127.1.1.1.1.2, {#IFDESCR},.1.3.6.1.2.1.2.2.1.2, {#IFTYPE},.1.3.6.1.2.1.2.2.1.3]

    The JSON I get after discovery process looks like
    Code:
    [{"{#SNMPINDEX}":"3","{#IFFREQ}":"386000000","{#IFD ESCR}":"RF Downstream Interface","{#IFTYPE}":"128"},
    {"{#SNMPINDEX}":"48","{#IFFREQ}":"442000000","{#IF DESCR}":"RF Downstream Interface 1","{#IFTYPE}":"128"},
    {"{#SNMPINDEX}":"49","{#IFFREQ}":"434000000","{#IF DESCR}":"RF Downstream Interface 2","{#IFTYPE}":"128"},
    ...]
    I create items like "SNR at {#IFFREQ}" with SNMP OID .1.3.6.1.2.1.10.127.1.1.4.1.5.{#SNMPINDEX}.

    Everything is great till the moment when CMTS moves the modem to another frequency. In this case at the same OID you get SNR from another frequency, but zabbix thinks that it's still the same item. Yes zabbix creates new item with new SNR and collects current values there, but at the same time it collects data to "old" item.

    There is an option to change parameter "Keep lost resources", but in this case you would encounter data loss.


    So my intention is to organize everything this way: zabbix collects SNR value for frequency A till it changes. After a frequency change, zabbix doesn't write anything to the old SNR item, it should create a new SNR item and write data there

    Any chances to do it that way?
    Thanks in advance.
Working...