xcat-core/xCAT-rmc/resources/mn/IBM.Condition/VarSpaceUsed.pm
linggao 6398d22f35 more on monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-17 16:41:12 +00:00

14 lines
593 B
Perl

#!/usr/bin/perl
$RES::Condition{'VarSpaceUsed'} = {
Name => q(VarSpaceUsed),
ResourceClass => q(IBM.FileSystem),
EventExpression => q(PercentTotUsed>90),
EventDescription => q(An event will be generated when more than 90 percent of the total space in the /var file system is in use on the local node.),
RearmExpression => q(PercentTotUsed<75),
RearmDescription => q(A rearm event will be generated when the percentage of the space used in the /var file system falls below 75 percent on the local node.),
SelectionString => q(Name="/var"),
Severity => q(2),
};
1;