mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-06-18 17:40:44 +00:00
more conditons for monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'AnyNodeRealMemFree'} = {
|
||||
Name => q(AnyNodeRealMemFree),
|
||||
ResourceClass => q(IBM.Host),
|
||||
EventExpression => q(PctRealMemFree < 5),
|
||||
EventDescription => q(An event is generated when the percentage of real memory that are free falls below 5 percent.),
|
||||
RearmExpression => q(PctRealMemFree > 10),
|
||||
RearmDescription => q(The event will be rearmed to be generated again after the percentage of the real free memory exceeds 10 percent.),
|
||||
ManagementScope => q(4),
|
||||
Severity => q(1),
|
||||
};
|
||||
1;
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'AnyNodeRealMemFree_H'} = {
|
||||
Name => q(AnyNodeRealMemFree_H),
|
||||
ResourceClass => q(IBM.Condition),
|
||||
EventExpression => q(LastEvent.Occurred==1 && LastEvent.ErrNum==0 && (LastEvent.EventFlags & 0x0233) == 0),
|
||||
RearmExpression => q(LastEvent.Occurred==1 && LastEvent.ErrNum==0 && (LastEvent.EventFlags & 3) ==1),
|
||||
EventDescription => q(This condition collects all the events from the condition AnyNodeRealMemFree on the service nodes. The AnyNodeRealMemFree condition monitors the compute nodes. An event is generated when the percentage of real memory that are free falls below 5 percent),
|
||||
RearmDescription => q(An rearm event will be generated after the percentage of the real free memory on the compute nodes exceeds 10 percent.),
|
||||
SelectionString => q(Name="AnyNodeRealMemFree"),
|
||||
ManagementScope => q(4),
|
||||
Severity => q(1),
|
||||
NoToggleExprFlag => q(1),
|
||||
};
|
||||
1;
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
$RES::Condition{'AnyNodeRealMemFree'} = {
|
||||
Name => q(AnyNodeRealMemFree),
|
||||
ResourceClass => q(IBM.Host),
|
||||
EventExpression => q(PctRealMemFree < 5),
|
||||
EventDescription => q(An event is generated when the percentage of real memory that are free falls below 5 percent.),
|
||||
RearmExpression => q(PctRealMemFree > 10),
|
||||
RearmDescription => q(The event will be rearmed to be generated again after the percentage of the real free memory exceeds 10 percent.),
|
||||
ManagementScope => q(4),
|
||||
Severity => q(1),
|
||||
};
|
||||
1;
|
||||
Reference in New Issue
Block a user