HP-UX Mobile IPv4 A.03.01 Administrator's Guide

8GTKH[KPICPF6TQWDNGUJQQVKPI
U[UNQI'XGPV.QIIKPI
Chapter 8
88
syslog Event Logging
The HP-UX Mobile IPv4 daemons mipd and miprod send event log messages to the
HP-UX syslog utility. You can use mipadmin options to manage log levels and extract
Mobile IPv4 event log messages from syslog. For information on configuring operating
parameters for the syslog utility (such as the log file name), refer to the syslogd (1M)
man page.
Log Levels
HP-UX Mobile IPv4 has four event log levels. They are listed below in order, from
highest level to lowest.
alert
These messages include irrecoverable error conditions, such as fatal configuration
errors and daemon initialization errors. The mipd or miprod daemon will terminate
after an irrecoverable error.
error
These messages include recoverable error conditions, such as Mobile Node
registration failures. A recoverable error is an error that causes an operation may
fail (for example, a Mobile Node may not be able to register with the Home Agent
because of an authentication error), but the mipd or miprod daemon will continue to
operate.
warn
These messages include dropped packets due to unsupported features or no system
resources. For example, a Home Agent may log a warn level message if a Mobile Node
sends a Registration Request requesting a feature that the Home Agent does not
support.
info
These messages provide detailed event logging for debugging and troubleshooting,
including events for normal operation.
Setting Log Levels
Use the mipadmin -loglevel option to set the event log level. The syntax is as follows:
mipadmin -logl[evel] [-l[evel] a[lert] | e[rror] | w[arn] | i[nfo]]
When you set a log level, the level includes any log levels below it in the hierarchy. For
example, setting the log level to error includes the alert level.
The default log level is error.
If you do not specify the -level option, mipadmin will report the current log level.
Viewing Event Log Records with mipadmin
You can use the mipadmin utility to extract the HP-UX Mobile IPv4 entries from the
syslog file. The syntax is as follows:
mipadmin -loge[vents] [mipd | ma | miprod | cn] [-l[evel] level ...]