

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.net-snmp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SNMP_notification_processing</id>
		<title>SNMP notification processing - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.net-snmp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SNMP_notification_processing"/>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.org/wiki/index.php?title=SNMP_notification_processing&amp;action=history"/>
		<updated>2026-04-30T16:51:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.net-snmp.org/wiki/index.php?title=SNMP_notification_processing&amp;diff=4206&amp;oldid=prev</id>
		<title>Rstory at 16:20, 9 March 2010</title>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.org/wiki/index.php?title=SNMP_notification_processing&amp;diff=4206&amp;oldid=prev"/>
				<updated>2010-03-09T16:20:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SNMP notification processing is defined in RFC 3413, and the data tables&lt;br /&gt;
are defined in the SNMP-NOTIFICATION-MIB, the SNMP-TARGET-MIB and the&lt;br /&gt;
NOTIFICATION-LOG-MIB.&lt;br /&gt;
&lt;br /&gt;
== Defining Targets ==&lt;br /&gt;
&lt;br /&gt;
The SNMP-TARGET-MIB contains tables for defining transport addresses and&lt;br /&gt;
parameters to be used for generating and sending SNMP messages. The&lt;br /&gt;
SNMP-TARGET-MIB::snmpTargetAddrTable defines the basic parameters for&lt;br /&gt;
sending a SNMP message to a host: the address, the timeout and the&lt;br /&gt;
number of times to retry a message. The detailed parameters, such as the&lt;br /&gt;
message processing model (e.g. SNMPv1, SNMPv3) and security parameters,&lt;br /&gt;
are found by using the snmpTargetAddrParams column to index into the&lt;br /&gt;
SNMP-TARGET-MIB::snmpTargetParamsTable.&lt;br /&gt;
&lt;br /&gt;
The target address table is indexed by an administrative name, which&lt;br /&gt;
means that the same host may appear in the table multiple times, with&lt;br /&gt;
different parameters. Other tables that reference the target&lt;br /&gt;
table generally do so by specifying a SnmpTagValue to search for in the&lt;br /&gt;
snmpTargetAddrTagList column.&lt;br /&gt;
&lt;br /&gt;
SnmpTagValue and SnmpTagList objects are simply administrative names&lt;br /&gt;
used to establish relationships between tables. A tag could be an&lt;br /&gt;
indication of a device type (e.g. &amp;#039;router&amp;#039;), an organization (e.g.&lt;br /&gt;
&amp;#039;IT-department&amp;#039;), a physical location (e.g. &amp;#039;headquarters&amp;#039;) or any other&lt;br /&gt;
value that helps you establish the relationships you need.&lt;br /&gt;
&lt;br /&gt;
Tags do not need to be unique, so a single tag may select multiple rows&lt;br /&gt;
in the target table, which may be different hosts, or even the same host&lt;br /&gt;
with different parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notification Destinations ==&lt;br /&gt;
&lt;br /&gt;
The SNMP-NOTIFICATION-MIB::snmpNotifyTable is used to select the targets&lt;br /&gt;
for a notification and identifies the type of notification to be sent (a&lt;br /&gt;
trap or an inform). The snmpNotifyTag column is used to select targets&lt;br /&gt;
from the snmpTargetAddrTable, which contains a SnmpTagList for each row. A&lt;br /&gt;
snmpNotifyTag may selected multiple destinations.&lt;br /&gt;
&lt;br /&gt;
== Notification Filtering ==&lt;br /&gt;
&lt;br /&gt;
Before a notification is sent to a particular target, the device must&lt;br /&gt;
check the notification filter tables,&lt;br /&gt;
SNMP-NOTIFICATION-MIB::snmpNotifyFilterProfileTable and&lt;br /&gt;
SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable, to determine if the&lt;br /&gt;
notification may be sent to the target.&lt;br /&gt;
&lt;br /&gt;
The snmpNotifyFilterProfileTable table is indexed by the&lt;br /&gt;
snmpTargetParamsName from the SNMP-TARGET-MIB::snmpTargetParamsTable,&lt;br /&gt;
and the snmpNotifyFilterProfileName column is used as the first index&lt;br /&gt;
into the snmpNotifyFilterTable. The second table index,&lt;br /&gt;
snmpNotifyFilterSubtree, is an OID that identifies an object or a&lt;br /&gt;
subtree that will be included or excluded. The snmpNotifyFilterMask, if&lt;br /&gt;
it is not a zero length string, must be applied to the filter subtree&lt;br /&gt;
OID (as specified in its description clause) before the subtree is&lt;br /&gt;
compared with the current notification.&lt;br /&gt;
&lt;br /&gt;
Note that all rows matching the snmpNotifyFilterProfileName should be&lt;br /&gt;
checked, as a subtree that is excluded by one row may have a subtree or&lt;br /&gt;
object lower in the tree explicitly included (or vice-versa).&lt;br /&gt;
&lt;br /&gt;
== Notification Log Processing ==&lt;br /&gt;
&lt;br /&gt;
The NOTIFICATION-LOG-MIB is used to maintain one or more logs of&lt;br /&gt;
notifications that have been sent or received by a device. A device that&lt;br /&gt;
supports multiple logs will have a unique name for each log. A device&lt;br /&gt;
the only supports a single name will use a zero length string as the log&lt;br /&gt;
name.&lt;br /&gt;
&lt;br /&gt;
The SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable is used to include and&lt;br /&gt;
exclude notifications from a particular log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Log Configuration ===&lt;br /&gt;
==== Global Configuration ====&lt;br /&gt;
&lt;br /&gt;
There are two global configuration variables in the notification log&lt;br /&gt;
mib, in addition to the individual log configuration variables.&lt;br /&gt;
&lt;br /&gt;
The nlmConfigGlobalEntryLimit object defines the maximum number of&lt;br /&gt;
entries that all combined logs may potentially contain. Limited system&lt;br /&gt;
resources may prevent the maximum number of entries from being stored,&lt;br /&gt;
but in no event should the total number of entries exceed this limit.&lt;br /&gt;
When new notifications are received, the oldest notifications must be&lt;br /&gt;
discarded to make space for the new log entries.&lt;br /&gt;
&lt;br /&gt;
The nlmConfigGlobalAgeOut defines the time (in minutes) that a log entry&lt;br /&gt;
should be kept before it is automatically removed. Limited system&lt;br /&gt;
resources, the global entry limit or an individual named log entry limit&lt;br /&gt;
may result in older entried being dropped before the age out value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Named Log Configuration ===&lt;br /&gt;
&lt;br /&gt;
The NOTIFICATION-LOG-MIB::nlmConfigLogTable is used to configure the&lt;br /&gt;
named logs for a device. The table is indexed by the log name (which&lt;br /&gt;
will be a zero length string for devices which do not support named logs).&lt;br /&gt;
&lt;br /&gt;
The nlmConfigLogFilterName column specifies the filter profile name to&lt;br /&gt;
be used as the primary index into the&lt;br /&gt;
SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable.&lt;br /&gt;
&lt;br /&gt;
The nlmConfigLogEntryLimit column specifies the maximum number of&lt;br /&gt;
entires that the named log may contain. System resources or the&lt;br /&gt;
nlmConfigGlobalEntryLimit may limit the table to fewer entries.&lt;br /&gt;
&lt;br /&gt;
The nlmConfigLogAdminStatus column allows a log to be disabled without&lt;br /&gt;
deleting the row. No new entries in the log will be created while the&lt;br /&gt;
row is disabled.&lt;br /&gt;
&lt;br /&gt;
=== Log Entries ===&lt;br /&gt;
&lt;br /&gt;
Log entries are contained in two tables. The&lt;br /&gt;
NOTIFICATION-LOG-MIB::nlmLogTable contains the notification ID (OID),&lt;br /&gt;
time, engine and context information. The&lt;br /&gt;
NOTIFICATION-LOG-MIB::nlmLogVariableTable contains the varbinds included&lt;br /&gt;
with a notification. These tables are pretty self- explanitory, so I&lt;br /&gt;
won&amp;#039;t cover them in detail. Consult the MIB for detailed descriptions of&lt;br /&gt;
each object.&lt;/div&gt;</summary>
		<author><name>Rstory</name></author>	</entry>

	</feed>