OPS/MVS

 View Only

How to send 1 SNMP trap with multiple pieces of info. 

  • 1.  How to send 1 SNMP trap with multiple pieces of info. 

    Posted Oct 10, 2017 09:53 AM

    We interface with Ionix, which is used to parse out SNMP traps and forward the information to our ticketing system.  The old process sent a one line trap with delimited data using Netview.  I am trying to concert from Netview to OPS and at the same time they would like to standardize the way Ionix processes the traps.  The other devices that send SNMP traps to Ionix send one trap with multiple pieces of info(varbinds) that are delineated using the OID suffix. 

     

    I need to find a way to send one trap with multiple varbinds, if anyone has an alternative way of sending the traps in the format that is requested, please point me in that direction.

     

    Here is how Ionix support stated it. "the snmp traps from ops/mvs are each sent with only one varbind. So instead of sending 1 trap with 6 pieces of info (varbinds) you are sending 6 traps each with a single piece of info from the overall “alert”. Most other senders send 1 trap per 1 alert, so 1 trap with several varbinds. OPS/MVS is sending 10 traps per 1 alert. "

     

    Example of one trap multiple variables:

    Agent:           10.92.146.118
    Enterprise OID:  .1.3.6.1.4.1.789.5.1
    Generic Type:    6
    Specific Type:   14712
    Processing Time: 0 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.789.5.1.1.0 --> x####x##-###-#***-####-######x##x##
                    .1.3.6.1.4.1.789.5.1.2.1.0 --> Volume Space Full
                    .1.3.6.1.4.1.789.5.1.2.2.0 --> 4
                    .1.3.6.1.4.1.789.5.1.2.3.0 --> 2
                    .1.3.6.1.4.1.789.5.1.2.4.0 --> 1503158250
                    .1.3.6.1.4.1.789.5.1.2.5.0 --> error event on ECM-prod:/xxxxxxx_ipm (Volume Space Full)
                    .1.3.6.1.4.1.789.5.1.2.6.0 --> The volume is 90.69% full (using 21.54 GB of 23.75 GB).
                    .1.3.6.1.4.1.789.5.1.2.7.0 --> x##x####-***#-##x#-xx#x-##x####x#***:type=volume,uuid=####***#-####-#x#x-###x-##xxxxxxxxxx
                    .1.3.6.1.4.1.789.5.1.2.8.0 --> ECM-prod:/******_ipm
                    .1.3.6.1.4.1.789.5.1.2.9.0 --> 6
                    .1.3.6.1.4.1.789.5.1.2.10.0 --> 3
                    .1.3.6.1.4.1.789.5.1.2.11.0 --> x##x###x-***#-##x#-xx#x-##x####x#***:type=vserver,uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
                    .1.3.6.1.4.1.789.5.1.2.12.0 --> ECM-prod
                    .1.3.6.1.4.1.789.5.1.2.13.0 --> x##x###x-***#-##x#-xx#x-##x####x#***:type=cluster,uuid=xxxxxxxx-xxxx-xxxx-xxxx-xx####x#***

                    .1.3.6.1.4.1.789.5.1.2.14.0 --> nasprod01-cl
                    .1.3.6.1.4.1.789.5.1.2.15.0 --> 1

     

    When I use OPSCAWTO I can only send one piece of data(varbind) per trap with the OID suffix.

     

     

    Example of OPS:

     

     

    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.3 --> SYSG


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.5 --> 10/09/17 10:30:56


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.7 --> TEST for OPSMVS SNMP to TCIS Alert


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.4 --> CSXTSYSG


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.2 --> CREATE


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.6 --> OPSMVS


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]
                    .1.3.6.1.4.1.791.2.4.2.2.4.2.99.8 --> IN_PRIORTY


    Agent:           10.87.20.127
    Enterprise OID:  .1.3.6.1.4.1.791.2.4.2
    Generic Type:    6
    Specific Type:   1
    Processing Time: 1 secs
    Varbinds:        [oid] --> [varbind]

     

    Thank you for any assistance.

    Chris A.