Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 stekol61
		
			stekol61
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi!
This is related to my earlier question "Exluding data in script".
What I need is an Action in the 'Warning & Uptime' button that excludes nodes that contain the name 'LAB'.
How can this be done?

/Stefan
 
					
				
		
 jonathandienst
		
			jonathandienst
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
stefan kollberg wrote:
The nodename is a dimention: Country&'-'&Hostname. Maybe that's why it doesn't work.
I assume that the "LAB" is in the hostname. So apply the logic outlined above to Hostname (select *LAB* (Hostname) and then select excluded (Hostname))
 
					
				
		
 m_woolf
		
			m_woolf
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Use 2 actions:
the first selects nodes that contains LAB
the second is Select Excluded
 stekol61
		
			stekol61
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		It doesnt work.
The nodename is a dimention: Country&'-'&Hostname. Maybe that's why it doesn't work.
Regarding ''Select Excluded' whet field should be excluded?
 
					
				
		
 m_woolf
		
			m_woolf
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I suggest that you create a field in script, something like:
Country & '-' & Hostname as NodeName,
Then Use NodeName in your chart and as the Field for the Actions
 stekol61
		
			stekol61
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I will try this.
Should i then use the action ''Select Excluded' for this new 'NodeName'?
 
					
				
		
 m_woolf
		
			m_woolf
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		For both actions
 stekol61
		
			stekol61
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		So:
The first Action selects NodeName that contains LAB (='*LAB*')
The second Action Select Excluded 'NodeName' ?
 
					
				
		
 jonathandienst
		
			jonathandienst
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
stefan kollberg wrote:
The nodename is a dimention: Country&'-'&Hostname. Maybe that's why it doesn't work.
I assume that the "LAB" is in the hostname. So apply the logic outlined above to Hostname (select *LAB* (Hostname) and then select excluded (Hostname))
 
					
				
		
 m_woolf
		
			m_woolf
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Yes - or use Jonathan's suggestion and Use Hostname for both actions
