mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			551 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			551 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| #!/usr/bin/perl
 | |
| BEGIN
 | |
| {
 | |
|     $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
 | |
| }
 | |
| use lib "$::XCATROOT/lib/perl";
 | |
| use xCAT::Utils;
 | |
| 
 | |
| if (exists($ENV{RSCT_VER})) {
 | |
|     my $rsct_ver = $ENV{RSCT_VER};
 | |
|     if (xCAT::Utils->CheckVersion($rsct_ver, "2.3.5.0") < 0) { exit 0; }
 | |
| }
 | |
| 
 | |
| $RES::EventResponse{'LogEventToTealEvenetLog_B'} = {
 | |
|     Name          => q(LogEventToTealEvenetLog_B),
 | |
|     Locked        => q(0),
 | |
|     EventBatching => q(1),
 | |
|     Actions => q({[logToTeal,{127},{0},{86400},/opt/xcat/sbin/rmcmon/logeventtoteal,3,0,0,0,{},0]}),
 | |
| };
 | |
| 1;
 |