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
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
SMal.tmcc
8 years ago
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
Posted by:
Drave
8 years ago
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.
All that's listed is below.
Labeled Items
[Expand All]
+ Smart Labels (1)
+ Patch Schedules (1) - Drave 8 years ago
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
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