1snmpa_notification_filter(3)Erlang Module Definitionsnmpa_notification_filter(3)
2
3
4

NAME

6       snmpa_notification_filter - Behaviour module for the SNMP agent notifi‐
7       cation filters.
8

DESCRIPTION

10       This module defines the behaviour of the agent notification filters.  A
11       snmpa_notification_filter  compliant  module  must export the following
12       functions:
13
14         * handle_notification/2
15
16       The semantics of them and their exact signatures are explained below.
17
18       The purpose of notification filters is to allow for modification and/or
19       suppression of a notification.
20
21       A misbehaving filter will be removed.
22

EXPORTS

24       handle_notification(Notif, Data) -> Reply
25
26              Types:
27
28                 Reply = send | {send, NewNotif} | dont_send
29                 Notif = NewNotif = notification() | trap()
30                 Data = term()
31
32              Handle  a  notification to be sent. The filter can either accept
33              the notification as is, return send,  modify  the  notification,
34              return  {send,  NewNotif}  or  suppress the notification, return
35              dont_send.
36
37              Data is supplied at filter registration time, see register_noti‐
38              fication_filter.
39
40
41
42Ericsson AB                        snmp 5.15      snmpa_notification_filter(3)
Impressum