Dear Bill,
Thanks for your reply.

I have tested it against InterMapper 5.4.3, and it appears the probe
trap value does not overwrite the non-trap probe value.

The probe value I am looking at is configure as follows in
<snmp-device-variables/>
        entPhySensorValue,           1.3.6.1.2.1.99.1.1.1.4.${Virtual
Port}, DEFAULT, "Sensor Value"

I have double check the event log and I am sure the VB is sent as part
of the probe. I have capture the event log entry and pasted it below
(not the relevant VB is the last entry):

05/03 12:41:36  TRAP  DCI Integrator Probes:D1339@1
DARTWARE-MIB::intermapperTrap (v2c) {
DARTWARE-MIB::intermapperTimestamp.0 : "05/03 12:41:35",
DARTWARE-MIB::intermapperMessage.0 : "Trap",
DARTWARE-MIB::intermapperDeviceName.0 : "RCKDOR00001340",
DARTWARE-MIB::intermapperCondition.0 : "true",
DARTWARE-MIB::intermapperDeviceAddress.0 : "127.0.0.1/8161",
DARTWARE-MIB::intermapperProbeType.0 : "dcii.truthvalue",
DARTWARE-MIB::intermapper.7.0 : "1", DARTWARE-MIB::intermapper.8.0 :
"2", SNMPv2-SMI::mib-2.99.1.1.1.4.2 : "1" }

Please note ${Virtual Port} is configured as "2" in the Probe settings.

Regards,
Leonard Siu

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Bill Fisher
Sent: April-29-11 9:08 AM
To: [email protected];
[email protected]
Subject: [IM-Talk] Re: A OID variable obtainable through polling and may
arrive as



lsiu wrote:
> Is it possible to have and OID which may be obtain through polling,
but
> may also be overwritten by a SNMP trap.  I have tried something like
the
> one below, but it doesn't seem to work:
> 
> <snmp-device-variables>
> value,  1.3.1.1.4.5.${index}, DEFAULT
> value,  1.3.1.1.4.5.${index}, TRAPVARIABLE
> </snmp-device-variables>
> 


I believe the second trap variable is unnecessary. It should cause an
error because it has the same variable name 'value'.  Ordinary
"non-trap" probe variables are updated by traps. The following should do
what you want:

<snmp-device-variables>
value,  1.3.1.1.4.5.${index}, DEFAULT
</snmp-device-variables>

Please let me know if this doesn't work.


-------------------- m2f --------------------

Read this topic online here:
http://forums.dartware.com/viewtopic.php?p=3400#3400





____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to