LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   SC message string location (https://www.linuxquestions.org/questions/solaris-opensolaris-20/sc-message-string-location-860972/)

2buck56 02-06-2011 12:06 AM

SC message string location
 
I have a T2000 running Solaris 8. I don't know a lot about Sun as I mainly work with Linux. This is a server I inherited and am having to maintain.

Every hour it is sending this message:
Customer Info: "srvr2 - T2000 in local data center"
SC IP Address: "172.31.1.100"
Message: "CRITICAL: BATTERY at SC/BAT/V_BAT has exceeded low warning threshold."

How do I modify that message when I am at the sc> prompt? I want to change it because the server name is really srvr1. I know this because of the IP address. There is another T2000 server that is actually srvr2 with the IP 172.31.1.101.

I want to change the Customer Info string and then replace the battery on the controller card. If I do a showsc I see the string but I do not know how to modify it.

jlliagre 02-06-2011 01:23 AM

That should be something like:
Code:

sc> setsc sc_customerinfo "srvr1 - T2000 in local data center"

2buck56 02-06-2011 10:47 AM

That did it! Thanks jlliagre.


All times are GMT -5. The time now is 08:19 PM.