mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			15 lines
		
	
	
		
			788 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			788 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
#!/usr/bin/perl
 | 
						|
 | 
						|
$RES::Condition{'CheckFTPonSN'} = {
 | 
						|
	Name => q(CheckFTPonSN),
 | 
						|
	ResourceClass => q(IBM.Program),
 | 
						|
	EventExpression => q(Processes.CurPidCount == 0),
 | 
						|
	EventDescription => q(An event will be generated when the FTP server is down on the service node. There may be other nodes in this management domain such as HMCs. To exclude them, just change the SelectionString to: "ProgramName=='vsftpd' && NodeNameList >< {'hmc1','hmc2}" where hmc1 and hmc2 are the names for the nodes that you want to exclude.),
 | 
						|
        RearmExpression => q(Processes.CurPidCount != 0),
 | 
						|
        RearmDescription => q(A rearm event will be generated when the FTP server is up on the service node.),
 | 
						|
        SelectionString => q(ProgramName=='vsftpd'),
 | 
						|
	ManagementScope => q(4),
 | 
						|
	Severity => q(1),
 | 
						|
};
 | 
						|
1;
 |