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:
linggao 2010-11-17 18:45:47 +00:00
parent 6398d22f35
commit a765de7482
3 changed files with 41 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;