0

Am trying to see if there is a way to get the output of "show security policies hit-count descending" via SNMP,

it has the following o/p like so,

show security policies hit-count descending 
node0:
--------------------------------------------------------------------------

Logical system: root-logical-system
 Index   From zone        To zone           Name           Policy count
 1       WIFI-DEVICETEST  UNTRUST           allow-internet-traffic-only 284046       
 2       USERS            UNTRUST           allow-all      273438       
 3       AV               UNTRUST           allow-media-to-internet 187757

The closest MIB i came to where info related to security policies were is "jnxJsSecPolicyMIB" but Iam unable to figure out how to get the hit count using the MIB.

3
  • Router vendors have their technical support channels. This is not programming related.
    – Lex Li
    Oct 28, 2022 at 7:03
  • It can be programming related, and is snmp and juniper related; Policy Objects MIB maybe?
    – Andrew
    Nov 2, 2022 at 21:45
  • maybe juniPolicyReferenceCount or something at mibs.observium.org/mib/Juniper-POLICY-MIB/…; it's a mess--call Support 2x per week for 8 weeks (good luck, the good guys are mostly gone)
    – Andrew
    Nov 2, 2022 at 21:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.