Owner manual

AM456-9026A HP VMA SAN Gateway Users Guide 245
Testing Traps
Use the snmp-server traps send-test command to test traps:
This will send a test trap to all configured trap sinks. This will be the 'testTrap' notification from the
TMS-MIB. This trap is only ever sent on request from the user; it is not triggered automatically.
This trap is not available for enable or disable through configuration; it is always enabled, meaning
it will always be sent when requested by the user.
Spare VIMMs
To query the spare VIMMs in the system:
Failed VIMMs
To query the failed VIMMs in the system:
gateway-a [hw-vmga: master] (config) # snmp-server traps ?
community Set the default community for traps sent to hosts
which do not have a custom community string set
event Specify which events will be sent as traps
send-test Send a test trap
gateway-a [hw-vmga: master] (config) # snmp-server traps send-test
[myvmem@ib-cn2 mibs]$ snmpwalk -Ou -M +. -m +./VIOLIN-MEMORY-MIB.txt -
v 2c -c public ib-srv1 violin-memory | grep spare | grep "Gauge32: 1"
enterprises.violin-
memory.products.memoryGateway.appliance.media.arrayVimmTable.arrayVimm
Entry.spare."vmem-array-098"."vimm30" = Gauge32: 1
enterprises.violin-
memory.products.memoryGateway.appliance.media.arrayVimmTable.arrayVimm
Entry.spare."vmem-array-098"."vimm31" = Gauge32: 1
enterprises.violin-
memory.products.memoryGateway.appliance.media.arrayVimmTable.arrayVimm
Entry.spare."vmem-array-098"."vimm32" = Gauge32: 1
enterprises.violin-
memory.products.memoryGateway.appliance.media.arrayVimmTable.arrayVimm
Entry.spare."vmem-array-098"."vimm52" = Gauge32: 1
snmpwalk -Ou -M +. -m +./VIOLIN-MEMORY-MIB.txt -v 2c -c public ib-srv1
violin-memory | grep fail | grep "Gauge32: 1"
[myvmem@ib-cn2 mibs]$ (none)