Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Vista?
Staying on XP until Windows 7 - 71.74%
99 Votes
Already on Vista - 10.87%
15 Votes
Planning an upgrade to Vista soon - 10.14%
14 Votes
Other (please explain) - 7.25%
10 Votes
Total Votes: 138
You may not vote on this poll.
» Stats
Members: 6,826
Threads: 9,759
Posts: 47,766
Top Poster: Nick (4,800)
Welcome our newest member, Burken
» Online Users: 19
0 members and 19 guests
No Members online
Most users online at once 294, 06-30-2007 at 01:24 PM.
» January 2009
S M T W T F S
28293031 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 31
View Single Post
Old 03-16-2008, 02:13 PM   #1 (permalink)
Mike
 
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
 
Powered by vBadvanced CMPS v3.0 RC2

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


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos