Hi Debabrata,
"But couldn't find the trap name and OID value for stack"
If you mean OIDs to monitor stacking information like stacking topology, status of stacking etc. you can check the
hpStackMIB (1.3.6.1.4.1.11.2.14.11.5.1.69) and it's sub-mibs.
For example:
hpStackOperStatus - 1.3.6.1.4.1.11.2.14.11.5.1.69.1.1.2 will give you information about the operational status of the stack, the meaning of the integer result is:
unAvailable(0), disabled(1), active(2), fragmentInactive(3), fragmentActive(4)
Similarly you can also get the stacking topology using:
hpStackTopology - 1.3.6.1.4.1.11.2.14.11.5.1.69.1.1.4
unKnown(0), chain(1), ring(2), mesh(3), partialMesh(4)
An example below:
stacking# walkMIB 1.3.6.1.4.1.11.2.14.11.5.1.69.1.1.2
hpStackOperStatus.0 = 2
stacking# walkMIB 1.3.6.1.4.1.11.2.14.11.5.1.69.1.1.4
hpStackTopology.0 = 2
stacking# sh stacking
Stack ID : 00037010-6f8cc480
MAC Address : 70106f-******
Stack Topology : Ring
Stack Status : Active
Split Policy : One-Fragment-Up
Uptime : 64d 0h 26m
Software Version : KB.16.11.0003
Mbr
ID Mac Address Model Pri Status
--- ----------------- ------------------------------------- --- ---------------
1 70106f-****** Aruba JL071A 3810M-24G-1-slot Switch 255 Commander
2 70106f-****** Aruba JL072A 3810M-48G-1-slot Switch 200 Member
*3 70106f-****** Aruba JL071A 3810M-24G-1-slot Switch 128 Standby
On the linked page for hpStackMIB you can also find other OIDs which you might find useful. (for stack member status, id, uptime etc.)
HTH
Toni
------------------------------
Toni Andreev
------------------------------