Prototype-X / Zabbix-Template-Juniper-MX-BGP4-ipv4-ipv6

Zabbix Template for Juniper MX discovery BGP4 peers ipv4 and ipv6, RE, interfaces
GNU General Public License v3.0
36 stars 23 forks source link

* Fix "Value should be a JSON object." if snmpwalk reports OID readings errors that not affect SNMP readings. #5

Closed leleobhz closed 6 years ago

leleobhz commented 6 years ago

Hello!

I found a issue when using this template with Zabbix-Proxy Docker image. A clean install of "apt install snmp" results in successful SNMP readings but some erros in stderr that got merged with LLD.py output. So I'm ignoring stderr from subprocess allowing LLD.py to continue. Failures from readings itself may reflect in LLD.py outputs, so I think ignore stderr is not a big deal.

Can you validate and merge this patch?

Thanks!