Santosh
 I don't think you can have 4*3 trap definitions.
Also, you don't require a Trap table for this.
 
You can have one trap definition for this
 
For ex:
  xxDslNotification NOTIFICATION-TYPE
     OBJECTS { ifName, ifAdminStatus, ifOperStatus }
You can add ;xxAlarmStatus' object if you want that will provide additional alarm status. Some of the standard MIBs(HC-ALARM-MIB) might be useful to refer for this.
 
Where same Notification can be sent for all the Interfaces :
(ofcourse same notification is sent 4 times but with different values)
for ex:
   ifName.1 = "local pair1"
   ifName.2="local pair2"
  ifName.3='remote pair1"
  ifName.4="remote pair2"
 
and other objects with appropriate status.
 
more comments inline. Look for [subrah1]
 
thx
Subra


santhosh <[EMAIL PROTECTED]> wrote:
Dear Mr Dave

Mistakenly I sent with out checking "CC" and I will take care that issue from now

My system is having 3 xDSL Interfaces, when ever an Alarm is genetrated
during the working of the xDSL Interface I should notify the manager with a
trap message that an alarm had occured

These are the alarms which I need to monitor "Local Pair 1", "Local Pair 2",
"Remote Pair 1" & "Remote Pair 2"

as I said I am having 3 xDSL Interfaces the above said 4 Alarms are
applicable to all the 3 Interfaces
[Subrah1] You can send the same notification multiple times with different values. Hence 4*3 trap definition is not required
 

So, My intention was rather than creating 4*3 Traps I tought to create table
and keep Traps as seperate Part

so this was the MIB's which I have created

-- xDSL Traps Table

xdsltrapTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF XDSLEntry
        MAX-ACCESS      not-accessible
        STATUS mandatory
        DESCRIPTION
                "A table of E1 switch port configuration information."
        ::= { xDSL 2 }

xdslEntry OBJECT-TYPE
        SYNTAX  XDSLEntry
        MAX-ACCESS      not-accessible
        STATUS mandatory
        DESCRIPTION
                "A table entry containing "
        INDEX   { interface1,interface2,interface3 }
        ::= { xdsltrapTable 1 }

XDSLEntry ::=
        SEQUENCE {
   InterfaceNo INTEGER,
   SystemType INTEGER,
   LocalPair1 INTEGER,
   LocalPair2 INTEGER,
   RemotePair1 INTEGER,
   RemotePair2 INTEGER
  }

TableCardNo OBJECT-TYPE
 SYNTAX INTEGER (1..3)
 ACCESS not-accessible
 STATUS mandatory
 DESCRIPTION
         " "
 ::= { xdslaEntry 1 }

SystemType OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS not-accessible
        STATUS mandatory
        DESCRIPTION
                " "
 ::= { xdslaEntry 2 }

LocalPair1 OBJECT-TYPE
 SYNTAX INTEGER
 ACCESS not-accessible
 STATUS mandatory
 DESCRIPTION
         " "
 ::= { xdslaEntry 3 }

LocalPair2 OBJECT-TYPE
 SYNTAX INTEGER
 ACCESS not-accessible
 STATUS mandatory
 DESCRIPTION
         " "
 ::= { xdslaEntry 4 }

RemotePair1 OBJECT-TYPE
 SYNTAX INTEGER
 ACCESS not-accessible
 STATUS mandatory
 DESCRIPTION
         " "
 ::= { xdslaEntry 5 }

RemotePair2 OBJECT-TYPE
 SYNTAX INTEGER
 ACCESS not-accessible
 STATUS mandatory
 DESCRIPTION
         " "
 ::= { xdslaEntry 6 }


when I started the code for this I got the confusion what OID i need to
Specify for particular entity

so to get the confirmation I asked you, which I am partially clear about

Now, I suppose  that I *cannot* do this way because I cannot define Index to
apply to the trap OID. which I came to know from your previous mail

>If you defined the MIB as a single table covering all four interfaces
>(so that the objects are the same in each case), then you would only
>need a single set of 6 traps.

how to I implement the above idea

thanks

santhosh
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to