policyRule
POLICY-TRAP ·
.1.3.6.1.4.1.42359.2.2.2.2.6.1.8
Object
scalar OctetString
policy rule name
Context
- MIB
- POLICY-TRAP
- OID
.1.3.6.1.4.1.42359.2.2.2.2.6.1.8- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- policyEntities
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'POLICY-TRAP' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'POLICY-TRAP::policyRule.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'POLICY-TRAP' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'POLICY-TRAP::policyRule'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.