/build/static/layout/Breadcrumb_cap_w.png

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!

3 Comments   [ + ] Show comments
  • K1000 version is 6.2.109329 and agents are using 6.2.1025 - dtobias_keenan 9 years ago
  • Just to clarify, are you creating two smart labels?

    Exempt Systems - Smart label that matches machines with IP address in given range

    Patching Label - Smart label that matches machines with IP address in a given range but do not have Exempt Systems installed.

    Also, I'm assuming that the Exempt Systems IP range is within the Patching Label IP range, is that correct? - chucksteel 9 years ago
  • Correct, with a small tweak. The 'Exempt Systems' label currently only has one system specified in it by system name; not by any IP range. My patching label on the other hand references a Device Smart label that gathers all machines in a specific range (REGEX statement). I'm using an AND statement in the Device Smart label to incorporate my Exempt Systems label.

    Does anyone know if it's possible to add screen images to a post? I don't seem to see where/how to do it - dtobias_keenan 9 years ago

Answers (1)

Posted by: KevinG 3 years ago
Red Belt
0

If a Smart label is depends on the results of another Smart label you must set the labeling ordering option to make sure that the labels are evaluated in the correct order to get the expected results.  Device Smart label criteria is checked and applied to a device at inventory.  User Smart labels are applied at login.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ