Operation history of the interface up/down in NIC switching mode can be output as a syslog message. Since this message is output at the INFO level, the following setting is needed:
/etc/syslog.conf
When enabling message output, add "*.info" information to the setting file. In this setting, messages are output to the /var/log/messages file.
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /var/log/maillog |
When disabling message output, delete "*.info" information from the setting file.
# Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! mail.none;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* /var/log/maillog |
After changing the setting file (/etc/syslog.conf), obtain the super-user rights and then restart to the syslog daemon (syslogd) as shown below:
# /etc/init.d/syslog restart |
For details about how to set the system log, see the system online manuals. Because line monitor error messages 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 (syslog 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.