Logging Power Supply Failure to system logs
Hi all.
I have used Solaris 8 for quite some time, and when using a machine with redundant power supplies, the failure of one would be immediately logged to to /var/adm/messages.
I have realized that now that when using Solaris 10, the power supply failures are no longed logged to the /var/adm/messages file, but can be retrieved via SC, using the command "showlogs".
However, I know no way to retrieve the logs into a file, and nothing is now written into /var/adm/messages
I have checked the syslog.conf file and found no major diferences from Solaris 8 to 10, but no PS failure messages are written, nevertheless.
So, what I need to achieve is the following:
1) have the PS failure logged into /var/adm/message (any new special conf in syslogconf)?
2) have a way to retrieve the SC logs into a file (even because the log entries are easily overwritten)
Any hints from you guys?
Thanks and regards,
Carlos Dourado
[983 byte] By [
douradoa] at [2007-11-27 6:21:30]

# 1
I doubt this is an operating system issue.
Its more likely that you've changed hardware between the time you were running solaris 8 and solaris 10.
On V210/V240 for example setting the ALOM variable sys_eventlevel to 3 like so
/usr/platform/`uname -i`/sbin/scadm set sys_eventlevel 3
will cause ALOM log entries to appear in /var/adm/messages
# 2
Hallo.
Yes, I did change the hardware, from a V240 to a Sun Fire T2000.
Is there any special characteristic which is preventing the PS failure events to be logged into /var/adm/messages?
Nevertheless, I will give it a try with the options in scadm.
Regards,
Carlos Dourado
# 3
Hi again.
I have checked the settings in the T2000. I am afraid that the T2000 has no scadm command, which leaves me with no choice. Even when telnetting to the SC, I found that that there is no such value (sys_eventlevel).
Is there anyother way to communicate with the SC in the T2000, or even better, is there any other way to send the PS failure events to the /var/adm/messages? :)
Thansk and regards,
Carlos Dourado