/build/static/layout/Breadcrumb_cap_w.png
10/27/2016 738 views
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?
Answer Summary:
4 Comments   [ + ] Show comments

Comments

  • Have you verified that the patch schedule configuration applies to the correct OS versions, etc.?
    • 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)
      • Can you post the SQL for your label?
      • 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%')) ))
  • 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.
    • to change eval order, go to Label Management > Smart Labels > Choose Action > Order Labels > Device Smart Labels
      • the labels were created using the smart label tool, not using sql. So I don't know that that should matter.
  • BTW what KACE version are you on?
    • 6.4.120822
  • Version 7.0 and the issue is still occurring.

Answer Chosen by the Author

0
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.
Answered 11/16/2016 by: Drave
Orange Senior Belt

All Answers

0
the inventory is not current on the machines.
Answered 10/27/2016 by: SMal.tmcc
Red Belt

  • 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.
    • are any of the restrict label usage to boxes checked?
      • 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.