Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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))
Use 2 actions:
the first selects nodes that contains LAB
the second is Select Excluded
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?
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
I will try this.
Should i then use the action ''Select Excluded' for this new 'NodeName'?
For both actions
So:
The first Action selects NodeName that contains LAB (='*LAB*')
The second Action Select Excluded 'NodeName' ?
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))
Yes - or use Jonathan's suggestion and Use Hostname for both actions