table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+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 4.22 | Ericsson AB |