/build/static/layout/Breadcrumb_cap_w.png

Nested Labels Not Populating Properly

Hi All,

I've noticed a few times, and more frequently now, that smart labels haven't been working very well when nesting labels.

For instance, I have a "Win Workstations" LDAP Label containing all windows workstations, then built a smart label based on the LDAP label that contains all machines with Acrobat Pro for updating. The Smart Label will display every workstation with the software, but when I assign it to an acrobat pro patch schedule, the schedule won't see any machines on the label. Anyone else seen this issues?

4 Comments   [ + ] Show comments
  • Have you verified that the patch schedule configuration applies to the correct OS versions, etc.? - chucksteel 8 years ago
    • The issue occurs even before the patch schedule. Looking at the Acrobat Pro Label in editing mode will show ~80 Machines. When I look at it in the details screen of the label it doesn't list any machines.

      All that's listed is below.

      Labeled Items
      [Expand All]
      + Smart Labels (1)
      + Patch Schedules (1) - Drave 8 years ago
      • Can you post the SQL for your label? - chucksteel 8 years ago
      • This is the generated SQL.

        MACHINE.IP, MACHINE.MAC, MACHINE.ID as TOPIC_ID FROM MACHINE WHERE ((( exists (select 1 from LABEL, MACHINE_LABEL_JT where MACHINE.ID = MACHINE_LABEL_JT.MACHINE_ID AND MACHINE_LABEL_JT.LABEL_ID = LABEL.ID AND LABEL.TYPE <> 'hidden' and LABEL.NAME = 'Win Workstations')) ) AND (( exists (select 1 from SOFTWARE, MACHINE_SOFTWARE_JT where MACHINE_SOFTWARE_JT.MACHINE_ID = MACHINE.ID AND SOFTWARE.ID = MACHINE_SOFTWARE_JT.SOFTWARE_ID and SOFTWARE.DISPLAY_NAME like '%Acrobat Pro%')) )) - Drave 8 years ago
  • Very weird. Try removing this line:
    AND LABEL.TYPE <> 'hidden'
    Perhaps LDAP labels count as hidden? My other idea is to increase the evaluation order of the smart label, though LDAP labels should all apply before smart labels do. - JasonEgg 8 years ago
    • to change eval order, go to Label Management > Smart Labels > Choose Action > Order Labels > Device Smart Labels - JasonEgg 8 years ago
      • the labels were created using the smart label tool, not using sql. So I don't know that that should matter. - Drave 8 years ago
  • BTW what KACE version are you on? - JasonEgg 8 years ago
    • 6.4.120822 - Drave 8 years ago
  • Version 7.0 and the issue is still occurring. - Drave 7 years ago

Answers (2)

Answer Summary:
Posted by: SMal.tmcc 8 years ago
Red Belt
0
the inventory is not current on the machines.

Comments:
  • Nope, I did a force inventory on all of them and none of them show up still. This smart label is also months old so it should be populated by now regardless. Old labels that used to work have actually had this occur.

    Personally, if the devices show up when i go to edit the smart label, I feel like they should populate the patch schedules. - Drave 8 years ago
    • are any of the restrict label usage to boxes checked? - SMal.tmcc 8 years ago
      • Even after removing the restrictions no machines will show up in the nested label. This is after probably 12 hours. Many of the machines should have checked in and given an inventory by now. - Drave 8 years ago
Posted by: Drave 8 years ago
Purple Belt
0

Top Answer

Cause has yet to be determined. I ended up recreating all of the labels as it was the faster route. At this point I'm guessing that the labels were corrupted during an update to a newer version of KACE.

Again I just made labels matching the same exact logic. With a short period of time for the computers to get inventoried the new labels quickly populated themselves.

Just for further information, these were smart labels created using the smart label tool, not using SQL.
 
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