"Fossies" - the Fresh Open Source Software Archive

Member "man/man3/snmpa_notification_filter.3" (17 Sep 2019, 1181 Bytes) of package /linux/misc/otp_doc_man_22.1.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "snmpa_notification_filter.3": 22.0_vs_22.1.

snmpa_notification_filter

NAME
DESCRIPTION
EXPORTS

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

The semantics of them and their exact signatures are explained below.

The purpose of notification filters is to allow for modification and/or suppression of a notification.

A misbehaving filter will be removed.

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.