Configuring notification filters
SNMP
1-99
iMG/RG Software Reference Manual (System Configuration)
1.6.4
Configuring notification filters
After the SNMP entity has been properly configured to send notifications, the SNMP engine will dutifully send
SNMPv1, SNMPv2c, and SNMPv3 notification messages on behalf of the notification generator application.
Depending upon the nature of the specific notification generator application, this may result in the sending of
few or many notifications.
A well-designed notification generator application will send enough notifications to be useful to a notification
receiver application, but not too many notifications that it produces “noise”.
The SNMPv3 administration framework allows an SNMP entity which contains both a notification receiver appli-
cation and a command generator application to “turn down the noise” by filtering notifications at the source.
In the SNMP entity containing the notification originator, there are two MIB tables which control notification fil-
tering: the
snmpNotifyFilterProfileTable
and the
snmpNotifyFilterTable
. By sending SNMP
Set requests to create new rows in these tables, the SNMP entity with the notification receiver application can
specify what kinds of notifications should not be sent to it.
This section describes the
snmpNotifyFilterProfileTable
and the
snmpNotifyFilterTable
in
terms of the corresponding entries in the
snmpd.cnf
file. Using this information, some notification filters can
be pre-configured before the
AGENT
entity is launched.
Configuring a notification filter is a process that requires two steps:
•
Create a notification filter.
•
Associate the notification filter with one or more notification parameters.
1.6.4.1 Creating a notification filter
To create a notification filter, add one or more
snmpNotifyFilterEntry
definition in the
snmpd.cnf
file
accordingly the following syntax:
snmpNotifyFilterEntry.<snmpNotifyFilterProfileName> <snmpNotifyFil-
terSubtree> <snmpNotifyFilterMask> <snmpNotifyFilterType> <snmpNoti-
fyFilterStorageType>
snmpNotifyFilterProfileName
is a human readable string representing the name of this notification filter.
snmpNotifyFilterSubtree
is an OID which specifies the MIB sub-tree containing notifications objects to be filtered. The value of this OID
may be specified in dotted-decimal format or by the English name.
snmpNotifyFilterMask
modifies the set of notifications and objects identified by
snmpNotifyFilterSubtree
(a detailed explana-
tion follows).This object is an
OctetString
represented as a sequence of hexadecimal numbers separated by