Registered member login:
Register Now
Altirigos » Altiris Administrators » Reports » Help by creating Report, Please

» Current Poll
Do you leave the Aclient enabled?
YES - 82.51%
217 Votes
NO - 17.49%
46 Votes
Total Votes: 263
You may not vote on this poll.
» Stats
Members: 10,101
Threads: 12,239
Posts: 57,349
Top Poster: Nick (4,991)
Welcome our newest member, Steve.OHalloran
» Online Users: 31
0 members and 31 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» September 2010
S M T W T F S
293031 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 12
Reply
Old 04-15-2009, 04:48 AM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 09-16-2005
Location: zwolle
Age: 40
Posts: 5


Help by creating Report, Please

Hello, i hope someone can help me to create a report.
building sql queries is not my thing.

all i want is a report that shows computers without "sophos anti-virus" showing up in "add remove programs"

I think this not to difficult for people with knowledge of sql syntax.

Thanks in advance,

Johnny
johnny07 is offline   Reply With Quote
Old 04-15-2009, 08:58 AM   #2 (permalink)
 
JeffreyJRiggs's Avatar
 
Status: Super Altiris Admin
Join Date: 02-22-2006
Location: Williamstown, NJ
Age: 37
Posts: 597


Quote:
Originally Posted by johnny07 View Post
Hello, i hope someone can help me to create a report.
building sql queries is not my thing.

all i want is a report that shows computers without "sophos anti-virus" showing up in "add remove programs"

I think this not to difficult for people with knowledge of sql syntax.

Thanks in advance,

Johnny

well here are some samples that you can play around with...

this will help you look for an app....
like adobe
Code:
-- code to look for a type of app
Select t0.Name, t0.version,Count(t0.name)
From [inv_aex_os_add_remove_programs] t0 
--Edit app looking for. keep it short for more apps
Where t0.[name] like'soph%'
Groupby t0.Name, t0.version
so just put a not like for sophos...
just test the one above to verify that it sees sophos first..

Code:
-- code to look for a type of app
Select t0.Name, t0.version,Count(t0.name)
From [inv_aex_os_add_remove_programs] t0 
--Edit app looking for. keep it short for more apps
Where t0.[name] notlike'sopho%'
Groupby t0.Name, t0.version

__________________
SQL Fundamentals 101:
SELECT * FROM dbo.User WHERE Clue > '0'
Query batch completed, 0 rows

Last edited by JeffreyJRiggs; 04-15-2009 at 09:02 AM..
JeffreyJRiggs is offline   Reply With Quote
Old 04-16-2009, 02:39 AM   #3 (permalink)
 
Status: Junior Altiris Admin
Join Date: 09-16-2005
Location: zwolle
Age: 40
Posts: 5


Solved!

Thank you Jeffrey for your support.
but your code returns all rows that do not contain sopho%, thats not what i want.
i nee to know wich computers (Names) do not have sophos installed.
Thanks anyway.

i just found the solution in another topic on this board.

search for "computers without specific application"

and the code is

select vc.name from vcomputer vc WHERE GUID NOT IN (select _resourceGuid from inv_aex_os_add_remove_programs t1 where t1.name LIKE '%Sophos%') AND vc.ismanaged=1
johnny07 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 01:49 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos