HP 12000 HP 12200 Gateway Virtual Library System User Guide (BW403-10001, June - Page 144

Table 19 CLI Monitoring Commands, options are

Page 144 highlights

Table 19 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. getNode Returns information on the node. Where the options are: -a - Node name (Head_0, ...) (required) -h - Displays command usage information (optional) getNodeNames getNodeFault Returns the list of nodes in the VLS. 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 E-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) -s - Sender email address (optional) -h - Displays command usage information (optional) getEmailServer deleteEmailServer Returns the E-mail server configuration settings for notification alerts. Deletes the specified E-mail server from the E-mail notification alerts settings. Where the options are: -a - E-mail server address (required) -c - VLS node IP address (required) -f - Force - This parameter is ignored and is present only for backward compatibility (optional) -h - Displays command usage information (optional) addEmail Adds an E-mail address and desired report formatting to the E-mail notification alert settings. Where the options are: -a - E-mail address (required) -c - VLS IP address (required) -s - Severity (1-Error, 2-Warning, 4-Info, or 8-Unknown) (optional) -y - E-mail type (1-Long with attachment, 2-Long, 4-Short, or 8-Reports) (optional) -h - Displays command usage information (optional) -f - Notification frequency (0-None, 1-Daily, 2-Weekly, 3-Bi-weekly, or 4-Monthly) (optional) 144 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
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205

Table 19 CLI Monitoring Commands
Usage
1
Command
Returns the VLS health status as a number (0-good, 1-degraded, 2-critical, 3-failed,
4-missing).
getHealth
Returns information about the VLS displayed on the Identity Tab window.
getChassis
Returns information on the node. Where the options are:
-a
<s>
- Node name (Head_0, ...) (required)
getNode
-h
- Displays command usage information (optional)
Returns the list of nodes in the VLS.
getNodeNames
Returns fault information for the specified node. Where the options are:
-a
<s>
- Node name (Head_0, ...) (required)
getNodeFault
-h
- Displays command usage information (optional)
Returns the number of notification messages specified counting back from the most recent.
Where the options are:
-n
<n>
- Maximum number of notifications to return (required)
getNotificationsCount
-h
- Displays command usage information (optional)
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)
getNotificationsDate
-h
- Displays command usage information (optional)
Deletes the specified notification alerts from the VLS. Where the options are:
deleteNotifications
-id
<s>
- ID number of notification to delete (required)
-h
- Displays command usage information (optional)
Specifies an E-mail server with an SMTP gateway to route notification alerts from the
VLS. Where the options are:
-a
<s>
- E-mail server address (required)
addEmailServer
-c
<s>
- node IP address (required)
-s
<s>
- Sender email address (optional)
-h
- Displays command usage information (optional)
Returns the E-mail server configuration settings for notification alerts.
getEmailServer
Deletes the specified E-mail server from the E-mail notification alerts settings. Where the
options are:
-a
<s>
- E-mail server address (required)
deleteEmailServer
-c
<s>
- VLS node IP address (required)
-f
- Force - This parameter is ignored and is present only for backward compatibility
(optional)
-h
- Displays command usage information (optional)
Adds an E-mail address and desired report formatting to the E-mail notification alert
settings. Where the options are:
-a
<s>
- E-mail address (required)
addEmail
-c
<s>
- VLS IP address (required)
-s
<n>
- Severity (1-Error, 2-Warning, 4-Info, or 8-Unknown) (optional)
-y
<n>
- E-mail type (1-Long with attachment, 2-Long, 4-Short, or 8-Reports) (optional)
-h
- Displays command usage information (optional)
-f
<n>
- Notification frequency (0-None, 1-Daily, 2-Weekly, 3-Bi-weekly, or 4-Monthly)
(optional)
144
CLI Command Set