table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.5+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0~rc1+dfsg-1
snmpa_notification_filter(3erl) | Erlang Module Definition | snmpa_notification_filter(3erl) |
NAME¶
snmpa_notification_filter - Behaviour module for the SNMP agent notification filters.DESCRIPTION¶
This module defines the behaviour of the agent notification filters. A snmpa_notification_filter compliant module must export the following functions:- *
- handle_notification/2
EXPORTS¶
handle_notification(Notif, Data) -> Reply
Types:
Reply = send | {send, NewNotif} | dont_send
Notif = NewNotif = notification() | trap()
Data = term()
Handle a notification to be sent. The filter can either accept the notification
as is, return send, modify the notification, return {send,
NewNotif} or suppress the notification, return dont_send.
Data is supplied at filter registration time, see
register_notification_filter.
snmp 5.1 | Ericsson AB |