Registered member login:
Register Now
Altirigos » Altiris Administrators » SQL » Monitoring Altiris for Inactive Computers

» Current Poll
Vista?
Staying on XP until Windows 7 - 67.44%
29 Votes
Already on Vista - 6.98%
3 Votes
Planning an upgrade to Vista soon - 18.60%
8 Votes
Other (please explain) - 6.98%
3 Votes
Total Votes: 43
You may not vote on this poll.
» Stats
Members: 6,597
Threads: 9,558
Posts: 46,998
Top Poster: Nick (4,763)
Welcome our newest member, bhill
» Online Users: 18
0 members and 18 guests
No Members online
Most users online at once 294, 06-30-2007 at 01:24 PM.
» November 2008
S M T W T F S
262728293031 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 123456
Reply
Old 03-16-2008, 02:13 PM   #1 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,195


Monitoring Altiris for Inactive Computers

Something that most people are interested in doing, but the best way to do this is often not clear is monitor altiris for inactive computers.

I have used a variety of techniques to do this from Monitoring Agent Request Activity, Inventory activity and Basic Inventory activity.

Something that has always puzzled me is in relationship to Active Directory Import. When you do an AD Import, none of the dataclasses showing the "last inventory recieved" or Discovery Date ever changed, yet the Resource Manager Summary Showing "last inventory recieved" does. I wanted to know where this was coming from and monitor the activity from potentially stale records in Active Directory.

After running a trace on SQL using profiler, I found that the query is not retrieving non-specific data from vResourceUpdateSummary.

I decided to approach this in two steps: Create a view that gathers the same info the resource manager is displaying as "last Inventory recieved" and then be able to create reports based on my custom view.

Code for custom view:
Code:
--View Details
/*SELECT     i.Name AS 'Computer Name', MAX(u.ModifiedDate) AS 'Last Inventory Received'
FROM         dbo.ResourceUpdateSummary AS u INNER JOIN
                     dbo.Inv_AeX_AC_Identification AS i ON u.ResourceGuid = i._ResourceGuid
GROUP BY i.Name*/
Sample code for a report (assuming you name your view _mikes_inventory_monitor :
Code:
Select i.[Computer Name], i.[Last Inventory Received]
from _mikes_inventory_monitor i
where datediff(dd,i.[Last Inventory Received], getdate()) < 30
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 03-16-2008, 07:36 PM   #2 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 52
Posts: 3,282


Excellent
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique 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 07:37 PM.


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