HP StorageWorks 300 HP StorageWorks 300 Virtual Library System user guide (AH1 - Page 116

Table 9 CLI monitoring commands, View or delete noti

Page 116 highlights

• View or delete notification alerts • Add, view, or delete mail servers to route notification alerts • Add, view, or delete mail addresses for notification alerts • Add, view, or delete SNMP management consoles to receive notification alerts Table 9 CLI monitoring commands Command Usage 1 getHealth Returns the VLS health status as a number (0-good, 1-degraded, 2-critical, 3-failed, 4-missing). getChassis Returns information about the VLS displayed on the Identity Tab window. getNodeNames Returns the list of nodes in the VLS. getNodeFault Returns fault information for the specified node. Where the options are: -a - Node name (Head_0, ...) (required) -h - Displays command usage information (optional) getNotificationsCount Returns the number of notification messages specified counting back from the most recent. Where the options are: -n - Maximum number of notifications to return (required) -h - Displays command usage information (optional) getNotificationsDate Returns all the notification alert messages that occurred starting with the specified date. Where the options are: -d - mm/dd/yy on or after this date (required) -h - Displays command usage information (optional) deleteNotifications Deletes the specified notification alerts from the VLS. Where the options are: -id - ID number of notification to delete (required) -h - Displays command usage information (optional) addEmailServer Specifies an mail server with an SMTP gateway to route notification alerts from the VLS. Where the options are: -a - E-mail server address (required) -c - node IP address (required) -h - Displays command usage information (optional) getEmailServer Returns the mail server configuration settings for notification alerts. deleteEmailServer Deletes the specified mail server from the mail notification alerts settings. Where the options are: -a - E-mail server address (required) -c - VLS node IP address (required) -f - Force - Do the delete without a prompt (optional) -h - Displays command usage information (optional) 116 CLI command set

  • 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

View or delete noti
cation alerts
Add, view, or delete mail servers to route noti
cation alerts
Add, view, or delete mail addresses for noti
cation alerts
Add, view, or delete SNMP management consoles to receive noti
cation alerts
Table 9 CLI monitoring commands
Command
Usage
1
getHealth
Returns the VLS health status as a number (0-good,
1-degraded, 2-critical, 3-failed, 4-missing).
getChassis
Returns information about the VLS displayed on the
Identity Tab window.
getNodeNames
Returns the list of nodes in the VLS.
getNodeFault
Returns fault information for the speci
ed node. Where
the options are:
-a
<s>
- Node name (Head_0, ...) (required)
-h
- Displays command usage information (optional)
getNotificationsCount
Returns the number of noti
cation messages speci
ed
counting back from the most recent. Where the options
are:
-n
<n>
- Maximum number of noti
cations to return
(required)
-h
- Displays command usage information (optional)
getNotificationsDate
Returns all the noti
cation alert messages that occurred
starting with the speci
ed date. Where the options
are:
-d
- mm/dd/yy on or after this date (required)
-h
- Displays command usage information (optional)
deleteNotifications
Deletes the speci
ed noti
cation alerts from the VLS.
Where the options are:
-id
<s>
- ID number of noti
cation to delete
(required)
-h
- Displays command usage information (optional)
addEmailServer
Speci
es an mail server with an SMTP gateway to
route noti
cation alerts from the VLS. Where the
options are:
-a
<s>
- E-mail server address (required)
-c
<s>
- node IP address (required)
-h
- Displays command usage information (optional)
getEmailServer
Returns the mail server con
guration settings for
noti
cation alerts.
deleteEmailServer
Deletes the speci
ed mail server from the mail
noti
cation alerts settings. Where the options are:
-a
<s>
- E-mail server address (required)
-c
<s>
- VLS node IP address (required)
-f
- Force - Do the delete without a prompt (optional)
-h
- Displays command usage information (optional)
116
CLI command set