How is Criteria Evaluated in Labels?
Can someone better educate me on how criteria is evaluated in labels on the K1000. Below is an example that I used today but don't understand why it's working this way. As an example, say I'm trying to ensure a system (referred to as TestComputer) is not part of a particular patching schedule. I created a Smart Label called
Exempt Systems (System Name = TestComputer)
I have a device smart label that is a RegEx statement for an IP range. The TestSystem falls into that IP range but when I target the device label in a patch schedule, I don't want the exempted system to show up. I updated my Device Label with my new exemption label as seen below
IP Address matches REGEX <ip range> AND
Label Names != Exempt Systems
When I test this label, I get the expected results. My label contains all systems that fall into that IP range with the exception of the one system that I have exempted. Here's where it gets confusing to me. When I target this device label in a patching schedule, the exempted system shows up along with the rest of the systems.
If I reorder my device label so it's
Label Names != Exempt Systems AND
IP Address matches REGEX <ip range>
Then, my patching schedule reports correctly and the exempted system is NOT present.
So my question is, how come in the testing of the device label (in the first configuration), it evaluates correctly but not when it comes to the patching schedule.
Please feel free to ask me for any clarification if the above written isn't clear.
Thank you all!
There are no answers at this time