====== cat ./includes/definitions/discovery/parks.yaml === mib: PARKS-SFP-MIB modules: sensors: pre-cache: data: - oid: - ifDescr - ifAdminStatus - ifType - pkSfpVendorName - pkSfpVendorPN - pkSfpVendorSN temperature: data: - oid: pkSfpTable value: pkSfpDiagTemperature num_oid: '.1.3.6.1.4.1.3893.1.21.1.1.1.14.{{ $index }}' descr: '{{ $ifDescr }} - {{ $pkSfpVendorName }} pn:{{ $pkSfpVendorPN }} sn:{{ $pkSfpVendorSN }}' divisor: 100 group: '{{ $pkSfpVendorName }}' high_limit: 65 low_limit: 30 skip_values: - oid: ifAdminStatus op: '!=' value: 1 - oid: ifType op: '!=' value: 1 dbm: data: - oid: pkSfpTable value: pkSfpDiagTXOutputPower descr: '{{ $ifDescr }} - {{ $pkSfpVendorName }} pn:{{ $pkSfpVendorPN }} sn:{{ $pkSfpVendorSN }}' divisor: 100 group: '{{ $pkSfpVendorName }}' low_limit: 2.9 high_limit: 5.5 skip_values: - oid: ifAdminStatus op: '!=' value: 1 - oid: ifType op: '!=' value: 1 ======eof=== ====== cat ./includes/definitions/discovery/mempools/parks.yaml === mempools: data: - total: PARKS-CPUMEM-STATS-MIB::pkMemoryTotal.0 used: PARKS-CPUMEM-STATS-MIB::pkMemoryUsed.0 free: PARKS-CPUMEM-STATS-MIB::pkMemoryFree.0 ======eof=== ====== cat ./includes/definitions/parks.yaml === os: parks text: 'PARKS Fiberlink' type: optical icon: parks group: gpon mib_dir: - parks over: - { graph: device_bits, text: 'Device Traffic' } - { graph: device_processor, text: 'CPU Usage' } - { graph: device_mempool, text: 'Memory Usage' } discovery: - sysDescr_regex: - '/PARKS/' ======eof===