Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Works. Creates filter profile */
- notificationMIB.getNotifyFilterProfileTable().addRow(
- notificationMIB.getNotifyFilterProfileTable().createRow(
- new OctetString("v2c").toSubIndex(true), // true - implied length
- new Variable[]{
- new OctetString("onlyDefault"),
- new Integer32(StorageType.permanent),
- new Integer32(RowStatus.active)}));
- /* Fails. Matches nothing, blocks everything */
- notificationMIB.getNotifyFilterTable().addRow(
- notificationMIB.getNotifyFilterTable().createRow(
- // false - Not implied length true - Implied length
- new OctetString("onlyDefault").toSubIndex(false).append(new OID(new int[]{1,3,6}).toSubIndex(true)),
- new Variable[]{
- new OID(new int[]{1,3,6}),
- new OctetString(),
- new Integer32(1), // Included
- new Integer32(StorageType.permanent),
- new Integer32(RowStatus.active)}));
- 109 [LexBeanRunInterruptable(LexLocalHostBean):Thread-15] INFO org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl - Notification 1.3.6.1.6.3.1.1.5.1 reported with [] for context
- 109 [LexBeanRunInterruptable(LexLocalHostBean):Thread-15] INFO org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl - Notification 1.3.6.1.6.3.1.1.5.1 did not pass filter 118.50.99
- 109 [LexBeanRunInterruptable(LexLocalHostBean):Thread-15] WARN org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl - Access denied by VACM for 1.3.6.1.6.3.1.1.5.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement