>
> Sorry for asking a simple SNMP newbie question, I just want
> to clarify my understanding of SNMP in OpenSAF.
>
> According to
> http://net-snmp.sourceforge.net/tutorial/tutorial-4/snmp/terms.html,
> SNMP notifications can be either of type trap or inform.
>
> Are OpenSAF SNMP notifications traps or informs?
>
[MATHI]
OpenSAF SNMP "Notifications" are SNMP "traps".
> The MIBS for OpenSAF specifies e.g. From SAF-AMF-MIB:
>
> IMPORTS
> <snip>
> NOTIFICATION-GROUP
> FROM SNMPv2-CONF
>
> saAmfNotificationsGroup NOTIFICATION-GROUP
> NOTIFICATIONS {
> saAmfAlarmCompInstantiationFailed,
>
> How is trap/inform determined in the MIB?
>
[MATHI]
All MIB objects of type "NOTIFICATION-TYPE" qualify to be implemented as
SNMP traps.
For e.g.:-
The following is a definition of an object that is sent as an SNMP trap.
Here the SNMP trap saAmfStateChgNodeAdmin shall carry information about
saAmfNodeName & saAmfNodeAdminState in this trap.
saAmfStateChgNodeAdmin NOTIFICATION-TYPE
OBJECTS {
saAmfNodeName,
saAmfNodeAdminState
}
STATUS current
DESCRIPTION
"Triggered when the administrative state of a Node
'saAmfNodeName'
changes. This Notification also contains the current
administrative state
of the Node designated by 'saAmfNodeAdminState'."
::= { saAmfTraps 7 }
The GROUPS clause ("NOTIFICATION GROUPS or OBJECT GROUPS") are for SMIv2
conformance group containment
and can generally be ignored while browsing a MIB.
> Regards,
> Hans
> _______________________________________________
> Users mailing list
> [email protected]
> http://list.opensaf.org/maillist/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users