xcat-core/xCAT-rmc/resources/mn/IBM.Sensor/CFMRootModTime.pm
linggao 11053b07e6 code in RMC mo nitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-13 14:57:51 +00:00

14 lines
266 B
Perl

#!/usr/bin/perl
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
}
$RES::Sensor{'CFMRootModTime'} = {
Name => q(CFMRootModTime),
Command => "$::XCATROOT/sbin/rmcmon/mtime /cfmroot",
UserName => q(root),
RefreshInterval => q(60),
};
1;