Operation history of the interface up/down in NIC switching mode can be output as a system log message. Since this message is output at the INFO level, the following setting is needed:
For RHEL5
/etc/syslog.conf
For RHEL6
/etc/rsyslog.conf
When enabling message output, add "*.info" information to the setting file.
In this setting, messages are output to the system log.
# 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 of the system log, obtain the super-user rights and then restart the system log daemon as shown below:
For RHEL5
# /etc/init.d/syslog restart |
For RHEL6
# /etc/init.d/rsyslog 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 (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.
INFO: 91080: link up detected: the physical interface link is up.
WARNING: 91180: link down detected: the physical interface link is down.
INFO: 91280: link up detected: the virtual interface link is up.
INFO: 91480: the physical interface of the virtual interface was switched.