• View or delete notifica tion 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 comma n d s
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 l ist of nodes in the VLS.
getNodeFault
Returns fault information for the specified node. Where
the options are:
-a <s> - Node name (Head_0, ...) (required)
-h - Displays command usage information (optional)
getNotifica
tionsCount
Returns the number of notification messages specified
counting ba
ck from the most recent. Where the options
are:
-n <n> - Maxi
mum number of notifications to return
(required
)
-h -Display
s 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 <s> - ID number of notification to delete
(required)
-h - Displays command usage information (optional)
addEmail
Server
Spec ifies an mail server with an SMTP gateway to
route not
ification alerts from the VLS. Where the
options
are:
-a <s> -E
-mail server address (required)
-c <s> -n
ode IP address (required)
-h -Displ
ays command usage information (optional)
getEmailServer
Returns the mail server configuration settin gs for
notification alerts.
deleteEmailServer
Deletes the specified mail server from the mail
notification 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