Set the following to output the interface up/down operation history through the redundant line control as syslog messages.
/etc/syslog.conf
When enabling message output
Add "*.info" information to the setting file. In this setting, messages are output to the /var/adm/messages file.
# #ident "@(#)syslog.conf 1.4 96/10/11 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1993, by Sun Microsystems, Inc.
#
# syslog configuration file.
#
#
*.err;kern.notice;auth.notice /dev/console
*.err;kern.debug;daemon.notice;mail.crit;*.info /var/adm/messages |
When disabling message output
Delete "*.info" information from the setting file.
# #ident "@(#)syslog.conf 1.4 96/10/11 SMI" /* SunOS 5.0 */ # # Copyright (c) 1991-1993, by Sun Microsystems, Inc. # # syslog configuration file. # # *.err;kern.notice;auth.notice /dev/console *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages |
After changing the setting file (/etc/syslog.conf), obtain the super-user rights and then issue a reread notification of the definition file to the syslog daemon (syslogd) as shown below:
In the following case, 234 becomes the process ID.
# ps -ef | grep syslogd root 234 1 0 17:19:04 ? 0:00 /usr/sbin/syslogd |
Send SIGHUP to the process (process ID=234 in the above example) obtained in (1).
# kill -HUP 234 |
For details about how to set the system log, see the system online manuals. Because error messages of transfer path monitoring are output to the log at the ERROR level, there is no need to make any special settings.
Information
Messages that users need are displayed in err (system log priority), even if the message type is WARNING or INFO. Shown below are examples of messages displayed in err. For details on messages, see "Appendix A Messages and corrective actions".
WARNING: 87500: standby interface failed. INFO: 88500: standby interface recovered. INFO: 88600: recover from route error is noticed. INFO: 88700: recover from route error is detected. INFO: 89600: path to standby interface is established. INFO: 89700: immediate exchange to primary interface is canceled. WARNING: 89900: route to polling address is inconsistent. WARNING: 92400: physical interface is not running. WARNING: 92500: exchange interface is canceled. |