mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			14 lines
		
	
	
		
			283 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			283 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
#!/usr/bin/perl
 | 
						|
BEGIN
 | 
						|
{
 | 
						|
  $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
 | 
						|
}
 | 
						|
 | 
						|
$RES::Sensor{'CFMRootModTime'} = {
 | 
						|
	Name => q(CFMRootModTime),
 | 
						|
	Command => "$::XCATROOT/lib/perl/xCAT_monitoring/rmc/mtime /cfmroot",
 | 
						|
	UserName => q(root),
 | 
						|
	RefreshInterval => q(60),
 | 
						|
};
 | 
						|
1;
 |