Hi Ludo, thanks.  Yes, 1.3.6.1.4.1.311.1.1.3.1.1 can also translate to 
Windows-NT-Perfomance if i use WINDOWS-NT-PERFORMANCE.mib.  And 
1.3.6.1.4.1.311.1.1.3.1.1.4 translates to  (pdiskphysicalDiskTable).  So 
the same OID can be translated differently by different MIBs.

I've done another test, here's the Wireshark trace.  Note, this trap is 
captured whenever i restart Windows SNMP Service - I've added the trap 
destination which i run the trap receiver daemon.

No.     Time        Source                Destination           Protocol 
Info
   2421 99.726171   192.168.0.3           192.168.0.10          SNMP     
trap SNMPv2-SMI::enterprises.311.1.1.3.1.1

Frame 2421 (88 bytes on wire, 88 bytes captured)
Ethernet II, Src: IntelCor_0b:d9:b8 (00:24:d7:0b:d9:b8), Dst: 
HewlettP_48:5c:54 (00:23:7d:48:5c:54)
Internet Protocol, Src: 192.168.0.3 (192.168.0.3), Dst: 192.168.0.10 
(192.168.0.10)
User Datagram Protocol, Src Port: 61925 (61925), Dst Port: snmptrap (162)
Simple Network Management Protocol
    version: version-1 (0)
    community: public
    data: trap (4)
        trap
            enterprise: 1.3.6.1.4.1.311.1.1.3.1.1 
(SNMPv2-SMI::enterprises.311.1.1.3.1.1)
            agent-addr: 192.168.0.3 (192.168.0.3)
            generic-trap: coldStart (0)
            specific-trap: 0
            time-stamp: 0
            variable-bindings: 0 items





Ludo Brands wrote:
> Strange. 1.3.6.1.4.1.311.1.1.3.1.1 is the Windows-NT-Perfomance root oid:
> http://www.oidview.com/mibs/311/WINDOWS-NT-PERFORMANCE.html and not a trap.
> 1.3.6.1.4.1.311.1.1.3.1.1.4 is
> WINDOWS-NT-PERFORMANCE::pdiskphysicalDiskTable. Do you have any additional
> parameters.
>
> The conversion between v1 and v2 notifications is defined in rfc2576:
> http://tools.ietf.org/html/rfc2576#page-12 However it seems that the
> translation for non enterpriseSpecific is working rarely:
> 1.3.6.1.6.3.1.1.5=SNMPv2-MIB::snmpTraps
> 1.3.6.1.6.3.1.1.5.1=SNMPv2-MIB::coldStart
> 1.3.6.1.6.3.1.1.5.2=SNMPv2-MIB::warmStart
> Etc 
> But 
> 1.3.6.1.4.1.2021.251=UCD-SNMP-MIB::ucdTraps
> 1.3.6.1.4.1.2021.251.1=UCD-SNMP-MIB::ucdStart
> 1.3.6.1.4.1.2021.251.2=UCD-SNMP-MIB::ucdShutdown
>
> On the other hand the Generic Trap Names are static and can be translated
> directly. 
>
> Ludo
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn 
> about Cisco certifications, training, and career opportunities. 
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> synalist-public mailing list
> synalist-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
>
>   


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to