Hi,
        

I attempted to contact  "hardaker" at his sourceforge address regarding this
question, as I believe he was involved in the original implementation of the
DISMAN-EVENT-MIB in net-snmp, but I haven't received any response.  Hoping
others on this list might be able to help.



I have searched online for answers but am unable to find any details.

I am configuring a notification in net-snmp by way of the monitor directive.


The entries in my snmpd.conf file are as follows:

iquerySecName timculhane
rouser timculhane
trap2sink 10.128.19.86 public
monitor -r 30 messageQueueIsZero razorgateSCMessagesQueued > 0

the user timculhane is already created.

When the notification is fired I get a response like the below in snmptrapd:

2015-03-19 08:23:49 devcrown28.es.cpth.ie [UDP:
[10.128.19.86]:51285->[10.128.19.86]:162]: sysUpTimeInstance =

Timeticks: (21) 0:00:00.21  snmpTrapOID.0 = OID: mteTriggerFired

mteHotTrigger.0 = STRING: messageQueueIsGreaterZero 
mteHotTargetName.0 = STRING:
mteHotContextName.0 = STRING:   

mteHotOID.0 = OID: razorgateSCMessagesQueued."10.128.19.86"     

mteHotValue.0 = INTEGER: 1

As you can see the following fields have no values:

mteHotTargetName.0 = STRING:
mteHotContextName.0 = STRING: 

I've been unable to find out what these fields are supposed to be used for.
I have read the entries in the DISMAN-EVENT-MIB file, but it isn't really
any
clearer:

mteHotTargetName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The SNMP Target MIB's snmpTargetAddrName related to the
notification."
::= { dismanEventMIBNotificationObjects 2 }

mteHotContextName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The context name related to the notification. This MUST be as
fully-qualified as possible, including filling in wildcard
information determined in processing."
::= { dismanEventMIBNotificationObjects 3 }

Is it possible for values to be added to these fields? Ideally I would like
to add additional information on the notification and thought that the
targetName
and context might be the place to do it.

What is the snmpTargetAddrName referred to? What contexts are being referred
to?

If you could provide any additional information on the purpose and use of
these fields I would appreciate it.

Many thanks,

Tim


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to