added predefined conditions and sensors for HFI monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5b953f5ad5
commit
e24c7b862c
15
xCAT-rmc/resources/mn/IBM.Condition/Drawer_not_configured.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Condition/Drawer_not_configured.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'Drawer_not_configured'} = {
|
||||
Name => q(Drawer_not_configured),
|
||||
ResourceClass => q(IBM.Sensor),
|
||||
EventExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32>0),
|
||||
RearmExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32<0),
|
||||
EventDescription => q(Drawer (FSP) has not been populated with its server-specific configuration data.),
|
||||
RearmDescription => q(Drawer (FSP) is configured.),
|
||||
SelectionString => q(Name="Drawer_configuration"),
|
||||
ManagementScope => q(1),
|
||||
Severity => q(1),
|
||||
NoToggleExprFlag => q(1),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Condition/HFI_down.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Condition/HFI_down.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'HFI_down'} = {
|
||||
Name => q(HFI_down),
|
||||
ResourceClass => q(IBM.Sensor),
|
||||
EventExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32>0),
|
||||
RearmExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32<0),
|
||||
EventDescription => q(HFI is unavailable for use due to severe HFI or ISR hardware error.),
|
||||
RearmDescription => q(HFI is back to normal.),
|
||||
SelectionString => q(Name="HFI_status"),
|
||||
ManagementScope => q(1),
|
||||
Severity => q(1),
|
||||
NoToggleExprFlag => q(1),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Condition/HFI_not_configured.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Condition/HFI_not_configured.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'HFI_not_configured'} = {
|
||||
Name => q(HFI_not_configured),
|
||||
ResourceClass => q(IBM.Sensor),
|
||||
EventExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32>0),
|
||||
RearmExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32<0),
|
||||
EventDescription => q(HFI did not get configured during server power-on.),
|
||||
RearmDescription => q(HFI is configured.),
|
||||
SelectionString => q(Name="HFI_configuration"),
|
||||
ManagementScope => q(1),
|
||||
Severity => q(1),
|
||||
NoToggleExprFlag => q(1),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Condition/ISR_down.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Condition/ISR_down.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'ISR_down'} = {
|
||||
Name => q(ISR_down),
|
||||
ResourceClass => q(IBM.Sensor),
|
||||
EventExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32>0),
|
||||
RearmExpression => q(SD.Uint32 != SD@P.Uint32 && SD.Int32<0),
|
||||
EventDescription => q(ISR is unavailable for use due to severe hardware error.),
|
||||
RearmDescription => q(ISR is back to normal.),
|
||||
SelectionString => q(Name="ISR_status"),
|
||||
ManagementScope => q(1),
|
||||
Severity => q(1),
|
||||
NoToggleExprFlag => q(1),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Sensor/Drawer_configuration.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Sensor/Drawer_configuration.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
BEGIN
|
||||
{
|
||||
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
|
||||
}
|
||||
|
||||
$RES::Sensor{'Drawer_configuration'} = {
|
||||
Name => q(Drawer_configuration),
|
||||
Command => "/tmp/fake",
|
||||
UserName => q(root),
|
||||
RefreshInterval => q(0),
|
||||
ControlFlags => q(0),#change to 8 for rsct 2.5.3.0 and greater
|
||||
Description => q(This sensor is refreshed when a drawer (FSP) has not been populated with its server-specific configuration data. It is also refreshed when the drawer is back to normal.),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Sensor/HFI_configuration.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Sensor/HFI_configuration.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
BEGIN
|
||||
{
|
||||
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
|
||||
}
|
||||
|
||||
$RES::Sensor{'HFI_configuration'} = {
|
||||
Name => q(HFI_configuration),
|
||||
Command => "/tmp/fake",
|
||||
UserName => q(root),
|
||||
RefreshInterval => q(0),
|
||||
ControlFlags => q(0), #change to 8 for rsct 2.5.3.0 and greater
|
||||
Description => q(This sensor is refreshed when an HFI did not get configured during server power-on. It is also refreshed when the HFI is configured.),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Sensor/HFI_status.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Sensor/HFI_status.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
BEGIN
|
||||
{
|
||||
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
|
||||
}
|
||||
|
||||
$RES::Sensor{'HFI_status'} = {
|
||||
Name => q(HFI_status),
|
||||
Command => "/tmp/fake",
|
||||
UserName => q(root),
|
||||
RefreshInterval => q(0),
|
||||
ControlFlags => q(0), #change to 8 for rsct 2.5.3.0 and greater
|
||||
Description => q(This sensor is refreshed when an HFI is unavailable for use due to severe HFI or ISR hardware error. It is also refreshed when the HFI is back to normal.),
|
||||
};
|
||||
1;
|
15
xCAT-rmc/resources/mn/IBM.Sensor/ISR_status.pm
Normal file
15
xCAT-rmc/resources/mn/IBM.Sensor/ISR_status.pm
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
BEGIN
|
||||
{
|
||||
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
|
||||
}
|
||||
|
||||
$RES::Sensor{'ISR_status'} = {
|
||||
Name => q(ISR_status),
|
||||
Command => "/tmp/fake",
|
||||
UserName => q(root),
|
||||
RefreshInterval => q(0),
|
||||
ControlFlags => q(0), #change to 8 for rsct 2.5.3.0 and greater
|
||||
Description => q(This sensor is refreshed when an ISR is unavailable for use due to severe hardware error. It is also refreshed when ISR is back to normal.),
|
||||
};
|
||||
1;
|
Loading…
x
Reference in New Issue
Block a user