I’ve added this to the docs

 

https://docs.observium.org/device_juniper/

 

From: observium <observium-bounces@observium.org> On Behalf Of Milton Ngan via observium
Sent: 17 December 2020 20:54
To: Observium <observium@observium.org>
Cc: Milton Ngan <milton@valvesoftware.com>
Subject: Re: [Observium] Juniper polling performance tip

 

We include a few others, but it looks like we are missing the sxe-.* pattern which is present on some of our higher end gear. 

 

set snmp filter-interfaces interfaces lsi.*

set snmp filter-interfaces interfaces cbp.*

set snmp filter-interfaces interfaces demux*

set snmp filter-interfaces interfaces pime*

set snmp filter-interfaces interfaces pimd*

set snmp filter-interfaces interfaces pip*

set snmp filter-interfaces interfaces tap*

set snmp filter-interfaces interfaces lo0.16384

set snmp filter-interfaces interfaces "[g|x|a]e.*\.32767"

set snmp filter-interfaces interfaces "et.*\.32767"

set snmp filter-interfaces interfaces jsrv*

set snmp filter-interfaces interfaces lo0.16385

 


From: observium <observium-bounces@observium.org> on behalf of Markus Klock via observium <observium@observium.org>
Sent: Thursday, December 17, 2020 12:43:19 PM
To: Observium Network Observation System
Cc: Markus Klock
Subject: [Observium] Juniper polling performance tip

 

Hey guys!

Just wanted to share a little tip on how to increase Observium polling performance on juniper boxes.

This might be old news for some but I just found it.

You can create a filter on junos-device that filters out certain interfaces from SNMP view.

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/snmp-filter-interfaces-configuring-junos-nm.html

 

I can recommend using:

set snmp filter-interfaces all-internal-interfaces

set snmp filter-interfaces interfaces "^sxe-.*"

 

This will filter out all useless internal interfaces from polling and discovery by Observium.

Especially when you have large juniper switch stacks the total number of internal interfaces are a lot which slows down polling.

Filtering them out actually makes a big difference.

 

If you got a lot of juniper gear, try it out and please share the speedup in pollingtime!

 

/Markus