HP StorageWorks XPath OS 7.4.X System Error Messages Reference Guide (AA-RVHGC-TE, September 2005)
18 Introduction to system error messages
Modifying the default action for an event
XPath OS can respond to an event with one of the following actions:
• none: The event is not logged.
• log: The event is logged in the event log.
• snmptrap: The event is reported to the SNMP process.
• logandtrap: The event is logged in the event log and reported to the SNMP process.
• persist: The event is logged in both RAM and NVRAM (nonvolatile RAM). The event is preserved over
reboots and power cycles.
To modify the default action for an event:
1. Log in to the MP Router as admin.
2. Issue the eventActionShow command to display the current list of events, event IDs, and the default
action assigned to those events.
3. Issue the eventActionSet command with the following options:
eventActionSet eventid actiontype
where eventid is the ID number of the event to be modified, and actiontype is one of the
following: none, log, snmptrap, logandtrap, or persist. Action types must be entered exactly
as shown.
The following command sets event ID 13 (Fan down) action to log:
Configuring the syslog daemon
The XPath OS can be configured to use a UNIX
®
-style syslog daemon (syslogd) process to read system
errors, forward messages to users, and write the events to log files on a remote UNIX host system.
syslogd overview
XPath OS can be configured to send error log messages to a UNIX host system that supports syslogd. This
host system can be configured to receive error messages from the MP Router and store them in files on the
computer hard drive. This enables the storage of MP Router error log messages on a host system and
overcomes the size limitations of the internal log buffers.
The syslogd is a process that runs on UNIX or Linux
®
systems that reads and logs messages to the system
console, log files, other machines, and users as specified by its configuration file. See the manual pages
and related documentation for your particular UNIX host system for more information on the syslogd
process and its capabilities.
Note that the host system can be running UNIX, Linux, or any other operating system as long as it supports
standard syslogd functionality.
XPath OS syslogd CLI commands
Table 7 provides a list of commands related to the syslogd configuration. See the help pages of these
commands or the HP StorageWorks XPath OS 7.4.x command reference guide for more details.
fabricAP:admin> eventActionSet 13 log
Event Action for eventId 13 is set to: log
Table 7 Syslogd configuration commands
Command Summary
syslogdipAdd Adds the IP address of the remote syslogd host.
syslogdipRemove Removes the IP address of the remote syslogd daemon.
syslogdipShow Shows the list of configured syslogd IP addresses.
eventShow Displays messages from the event log.