Installation and Reference Guide HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 (5697-8001, March 2009)
• If 1 is selected, then 1 is logged.
• If 0 is selected, then logging is disabled for that item.
The log command includes the following:
• # spmgr log -l 0, 1..3
• # spmgr log -c 0,1..3
• # spmgr log -n 0, 3
• # spmgr log
# spmgr log -l 0, 1..3
This command sets the level of logging to the syslog of the server. When you select level 1…3,
messages of that severity and higher are written to the syslog file. The default setting is 2.
# spmgr log -c 0,1..3
This command sets the level of logging to the console. When you select level 1..3, messages of that
severity and higher are displayed on the console. The default setting is 1.
# spmgr log -n 0, 3
This command enables or disables logging to the notify function. This option has two values, 0
and 3. The default setting is 3. Level 0 is provided for disabling all notification messages.
# spmgr log
The spmgr log command displays the current logging settings.
Example:
# spmgr log
Server: hp.mydomain.com Report Created: Wed, Aug 15 15:42:37
2004
CurrentLog Options
= = = = = = = = = = = = = = = = = = = =
Syslog, enabled,level 2
Console, disabled,level 0
Notify, enabled,level 3
= = = = = = = = = = = = = = = = = = = =
notify command
The spmgr notify command lets you manage the distribution of the three classes of event reports
(critical, warning, and informational) using an e-mail address list.
Syntax:
#spmgr notify add
delete
(no argument)
This section describes the following:
• Severity levels
• # spmgr notify add
• # spmgr notify delete
HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 53