KACE 1000 - Report for software not installed on a machine
I am trying to write a report that would list machines that do not have our AV software installed. I do not have a lot of SQL experience, and this one is proving to be tougher than expected.
Answers (3)
I'm not a SQL person either, but I think it would be easier to create a smart label for "software titles > != > name of software"? To start you out.
Comments:
-
That's a good idea. Once you create the smart label you'll be able to copy the SQL code as a good place to start making the report. - chucksteel 12 years ago
Please use the below SQL Statment to display machines which have specific software installed , you can change " NOT Like " in the below query to get the report of systems which does not have below application.
OR
Create a smart label for machine which does not have specific software installed and create the report on the basis of this label.
select LABEL.NAME as LABEL_NAME,
MACHINE.NAME as MACHINE_NAME, IP, CLIENT_VERSION, MAC, REPLACE(MACHINE.USER_LOGGED,'\\','\\\\') as USER_LOGGED,
SOFTWARE.DISPLAY_NAME as SOFTWARE_NAME
from (SOFTWARE, MACHINE_SOFTWARE_JT, MACHINE,
MACHINE_LABEL_JT, LABEL)
where
MACHINE.ID = MACHINE_LABEL_JT.MACHINE_ID AND
MACHINE_LABEL_JT.LABEL_ID = LABEL.ID
AND
MACHINE.ID = MACHINE_SOFTWARE_JT.MACHINE_ID and
MACHINE_SOFTWARE_JT.SOFTWARE_ID = SOFTWARE.ID and
SOFTWARE.DISPLAY_NAME like
'KBOX Agent' and LABEL.TYPE !='hidden' order by LABEL_NAME