HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 167

Using the HP 3PAR SNMP Infrastructure, Overview, The HP 3PAR SNMP Agent, Locating the HP 3PAR MIB

Page 167 highlights

16 Using the HP 3PAR SNMP Infrastructure Overview In addition to managing the system with the HP 3PAR CLI, the HP 3PAR OS includes an SNMP agent that allows you to perform some basic management functions via network management software running on a management station. These SNMP management functions require that you have SNMP management software not provided by HP. For information about SNMP, see the HP 3PAR StoreServ Storage Concepts Guide. The HP 3PAR SNMP Agent The HP 3PAR SNMP agent runs on the system and provides a management interface to enable other software products to manage HP hardware using SNMP. The HP 3PAR SNMP agent responds to GET, SET, GETNEXT, and GETBULK SNMP requests and also generates notification messages (traps) for critical events (alerts) and alert state changes (for information about requests and traps, see the HP 3PAR StoreServ Storage Concepts Guide). These traps include the same information as the alerts described in the HP 3PAR OS Messages and Operator's Guide. The HP 3PAR SNMP agent supports SNMPv3, SNMPv2c, SMI-v2 standards, and the SNMPv2-MIB and a proprietary HP 3PAR MIB. For detailed information about these standards and MIBs, see the HP 3PAR StoreServ Storage Concepts Guide. Locating the HP 3PAR MIB The HP 3PAR MIB is located on the HP 3PAR CLI and SNMP CD. alertNotify Traps All alerts generated by the system, as well as all alert status change events, are translated into alertNotify traps. For information about system alerts, go to http://www.hp.com/support/ hpgt/3par and select your server platform. NOTE: If you receive a trap with messageCode == 1245186, this is to notify you that an alert has changed state. In order to find out which alert has changed state, you must extract the alert ID from the id trap field. See the HP 3PAR StoreServ Storage Concepts Guide for additional information about alertNotify traps. Registering an SNMP Manager For detailed information about all HP 3PAR CLI commands described in this section, see the HP 3PAR Command Line Interface Reference for additional information and examples. To register the SNMP manager with the agent, use the setsnmpmgr command followed by the manager's IP address. If you need to use one of the following options, enter it after the command and before the IP address: • -p -Specifies the port number where the manager receives traps. The default port is 162. • -pw -Specifies the manager's access password, if the manager has one. • -r -Specifies the number of times the system will attempt to resend the trap if the manager is not available. You can specify from 1 to 15 retries. The default is 2. • -t -Specifies the number of seconds to wait between retries. You can set this timeout interval from 1 to 300 seconds. The default is 200. NOTE: The HP 3PAR OS supports a maximum of 10 registered SNMP managers. Overview 167

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

16 Using the HP 3PAR SNMP Infrastructure
Overview
In addition to managing the system with the HP 3PAR CLI, the HP 3PAR OS includes an SNMP
agent that allows you to perform some basic management functions via network management
software running on a management station. These SNMP management functions require that you
have SNMP management software not provided by HP. For information about SNMP, see the
HP
3PAR StoreServ Storage Concepts Guide
.
The HP 3PAR SNMP Agent
The HP 3PAR SNMP agent runs on the system and provides a management interface to enable
other software products to manage HP hardware using SNMP. The HP 3PAR SNMP agent responds
to GET, SET, GETNEXT, and GETBULK SNMP requests and also generates notification messages
(
traps
) for critical events (
alerts
) and alert state changes (for information about requests and traps,
see the
HP 3PAR StoreServ Storage Concepts Guide
). These traps include the same information
as the alerts described in the
HP 3PAR OS Messages and Operator’s Guide
.
The HP 3PAR SNMP agent supports SNMPv3, SNMPv2c, SMI-v2 standards, and the SNMPv2-MIB
and a proprietary HP 3PAR MIB. For detailed information about these standards and MIBs, see
the
HP 3PAR StoreServ Storage Concepts Guide
.
Locating the HP 3PAR MIB
The HP 3PAR MIB is located on the
HP 3PAR CLI and SNMP
CD.
alertNotify Traps
All alerts generated by the system, as well as all alert status change events, are translated into
alertNotify
traps. For information about system alerts, go to
h
t
tp://w
w
w
.hp
.co
m/su
ppo
r
t/
hpgt/3par
and select your server platform.
NOTE:
If you receive a trap with
messageCode == 1245186
, this is to notify you that an alert
has changed state. In order to find out which alert has changed state, you must extract the alert
ID from the
id
trap field.
See the
HP 3PAR StoreServ Storage Concepts Guide
for additional information about
alertNotify
traps.
Registering an SNMP Manager
For detailed information about all HP 3PAR CLI commands described in this section, see the
HP
3PAR Command Line Interface Reference
for additional information and examples.
To register the SNMP manager with the agent, use the
setsnmpmgr
command followed by the
manager’s IP address. If you need to use one of the following options, enter it after the command
and before the IP address:
-p <port_number>
—Specifies the port number where the manager receives traps. The
default port is 162.
-pw <password>
—Specifies the manager’s access password, if the manager has one.
-r <number>
—Specifies the number of times the system will attempt to resend the trap if
the manager is not available. You can specify from 1 to 15 retries. The default is 2.
-t <seconds>
—Specifies the number of seconds to wait between retries. You can set this
timeout interval from 1 to 300 seconds. The default is 200.
NOTE:
The HP 3PAR OS supports a maximum of 10 registered SNMP managers.
Overview
167