Management
Highlighted
Management

SNMP ObjectsTable per logical-system

‎07-14-2016 03:55 AM

Hi everybody!

I have an SRX divided in 3 logical systems: I would like to grab the SNMP values of the string jnxJsSPUMonitoringObjectsTable for each of the logical system I have configured.

If I walk that string I can just get the result per node

 

show snmp mib walk jnxJsSPUMonitoringObjectsTable

jnxJsSPUMonitoringFPCIndex.1 = 1
jnxJsSPUMonitoringFPCIndex.9 = 1
jnxJsSPUMonitoringSPUIndex.1 = 0
jnxJsSPUMonitoringSPUIndex.9 = 0
jnxJsSPUMonitoringCPUUsage.1 = 0
jnxJsSPUMonitoringCPUUsage.9 = 0
jnxJsSPUMonitoringMemoryUsage.1 = 66
jnxJsSPUMonitoringMemoryUsage.9 = 66
jnxJsSPUMonitoringCurrentFlowSession.1 = 421
jnxJsSPUMonitoringCurrentFlowSession.9 = 244
jnxJsSPUMonitoringMaxFlowSession.1 = 819200
jnxJsSPUMonitoringMaxFlowSession.9 = 819200
jnxJsSPUMonitoringCurrentCPSession.1 = 284
jnxJsSPUMonitoringCurrentCPSession.9 = 242
jnxJsSPUMonitoringMaxCPSession.1 = 1048576
jnxJsSPUMonitoringMaxCPSession.9 = 1048576
jnxJsSPUMonitoringNodeIndex.1 = 0
jnxJsSPUMonitoringNodeIndex.9 = 1
jnxJsSPUMonitoringNodeDescr.1 = node0
jnxJsSPUMonitoringNodeDescr.9 = node1
jnxJsSPUMonitoringFlowSessIPv4.1 = 418
jnxJsSPUMonitoringFlowSessIPv4.9 = 241
jnxJsSPUMonitoringFlowSessIPv6.1 = 3
jnxJsSPUMonitoringFlowSessIPv6.9 = 3
jnxJsSPUMonitoringCPSessIPv4.1 = 281
jnxJsSPUMonitoringCPSessIPv4.9 = 238
jnxJsSPUMonitoringCPSessIPv6.1 = 3
jnxJsSPUMonitoringCPSessIPv6.9 = 4

 

As "Best Practice" suggests I can also run jnxJsSPUMonitoringCurrentTotalSession but that will give only for the system-level total session. The correspondig CLI for the trap I'm looking for is:

 

show security flow session summary logical-system ls-application
node0:
--------------------------------------------------------------------------

Flow Sessions on FPC1 PIC0:
Unicast-sessions: 93
Multicast-sessions: 0
Services-offload-sessions: 0
Failed-sessions: 0
Sessions-in-use: 290
Valid sessions: 93
Pending sessions: 0
Invalidated sessions: 197
Sessions in other states: 0
Maximum-sessions: 819200

node1:
--------------------------------------------------------------------------

Flow Sessions on FPC1 PIC0:
Unicast-sessions: 95
Multicast-sessions: 0
Services-offload-sessions: 0
Failed-sessions: 0
Sessions-in-use: 106
Valid sessions: 95
Pending sessions: 0
Invalidated sessions: 11
Sessions in other states: 0
Maximum-sessions: 819200

 

Any suggestion? 🙂

1 REPLY 1
Highlighted
Management

Re: SNMP ObjectsTable per logical-system

‎07-15-2016 07:00 AM

You didn't say if or how you had your snmp communities setup for you logical systems.

Please check this link below:

 

http://forums.juniper.net/t5/Routing/Logical-Systems-Management-SNMP/td-p/42846

 

By the final reply of that thread, I think you'll have found your answer.

HTH

/doug

 

--
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." --HST
Feedback