![Compaq AlphaServer G160 User Manual Download Page 223](http://html1.mh-extra.com/html/compaq/alphaserver-g160/alphaserver-g160_user-manual_2646362223.webp)
Compaq-Supplied Configuration Files for ConsoleWorks
B-11
#+
# Parse PCI/BPM SysEvents
# The 3 line entries look something like this, with the last
# line changing
#
~E~ PCI3/PBM13 SysEvent
#
~E~ PBM13 Error:
#
~E~ FAN1 FAIL - POWEROFF IN 30 SECONDS
#-
if ( $ARGV[1] eq /GS_PCI_PBM_SYSEVENT/ ) {
open (SC, $ARGV[3]) ||
die "Can not open event context file - $ARGV[3] $!";
while (<SC>) {
if (/^CONTEXT_BEGIN:/) {last};
}
while (<SC>) {
if ($_ eq /^CONTEXT_END:/) {last};
if ($_ =~ /^~E~/) {
if ($_ =~ /^~E~ PCI.\/PBM.. SysEvent/) {next;}
if ($_ =~ /^~E~ PBM.. Error:/) {next;}
#+
# Here is the real parsing, you may take other than mail
# actions or add other events than listed...
#-
if ($_ =~ /^~E~ FAN. FAIL - POWEROFF IN 30 SECONDS/)
{next;}
if ($_ =~ /^~E~ LM80 . TEMP FAIL/) {next;}
if ($_ =~ /^~E~ PS. POK DEASSERTED/) {next;}
#
Other events are just ignored...
$domail = 0;
}
}
close(SC);
}
#+
# For other events we just mail the log file, no
# pre-processing.
#-
$subj = "Console $ARGV[0] has Encountered Event $ARGV[1]
(Sequence $ARGV[2])";
open (SC, $ARGV[3]) ||
die "Can not open event context file - $ARGV[3] $!";
while ($l=<SC>) {
push @msg, $l;
}
close(SC);
if ($domail) {
foreach $to (@tolist) {
smtpmail($to, $subj, $whoami, $mf, @msg);
}
}
Summary of Contents for AlphaServer G160
Page 4: ......
Page 12: ......
Page 16: ......
Page 34: ...2 6 System Management Console User s Guide Figure 2 5 SMC Utilities in Use...
Page 42: ......
Page 62: ...3 20 System Management Console User s Guide Figure 3 11 KEA Connection Window...
Page 70: ...3 28 System Management Console User s Guide Figure 3 15 TDI Certificate...
Page 76: ...3 34 System Management Console User s Guide Figure 3 20 console_name Configuration Screen...
Page 92: ...3 50 System Management Console User s Guide Figure 3 29 Services Dialog Box...
Page 96: ...3 54 System Management Console User s Guide Figure 3 32 Mail from ConsoleWorks...
Page 128: ......
Page 132: ...4 4 System Management Console User s Guide Figure 4 2 Error Selecting System...
Page 144: ...4 16 System Management Console User s Guide Figure 4 10 Create or Modify a Partition Map...
Page 170: ......
Page 180: ......
Page 192: ...6 12 System Management Console User s Guide Figure 6 3 Configuration Dialog Box...
Page 210: ......
Page 224: ......
Page 226: ......
Page 228: ......
Page 234: ......