Hi,
I’m using Zabbix 2.4.3 to monitor a few Juniper SRX firewalls with SNMP. It’s been working great so far. :-)
There is just one thing that I haven’t solved. I’m trying to monitor the version of Junos running on these boxes and the only available OID which seems to contain this info is:
sysDescr.0 = Juniper Networks, Inc. srx210he internet router, kernel JUNOS 12.1X44-D35.5 #0: 2014-05-19 21:36:43 UTC [email protected]:/volume/build/junos/12.1/service/12.1X44-D35.5/obj-octeon/junos/bsd/kernels/JSRXNLE/kernel Build date: 2014-05-19 23:0
As you can see, sysDescr.0 is a long string containing lots of info, but the only thing I want is the ”12.1X44-D35.5” part.
Is there some kind of regexp magic I can perform on items collected with SNMP? I’ve read some of the documentation and I found a few references to using regexps, but I think I need a helping hand on where to start.
Thanks,
I’m using Zabbix 2.4.3 to monitor a few Juniper SRX firewalls with SNMP. It’s been working great so far. :-)
There is just one thing that I haven’t solved. I’m trying to monitor the version of Junos running on these boxes and the only available OID which seems to contain this info is:
sysDescr.0 = Juniper Networks, Inc. srx210he internet router, kernel JUNOS 12.1X44-D35.5 #0: 2014-05-19 21:36:43 UTC [email protected]:/volume/build/junos/12.1/service/12.1X44-D35.5/obj-octeon/junos/bsd/kernels/JSRXNLE/kernel Build date: 2014-05-19 23:0
As you can see, sysDescr.0 is a long string containing lots of info, but the only thing I want is the ”12.1X44-D35.5” part.
Is there some kind of regexp magic I can perform on items collected with SNMP? I’ve read some of the documentation and I found a few references to using regexps, but I think I need a helping hand on where to start.
Thanks,
Comment