Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Tables in Altiris Database

Created: 26 Oct 2010 | 2 comments
Kristanto Hendardi's picture
0 0 Votes
Login to vote

hello,

Currently, I am creating customize report for client inventory.
In Altiris database for Inventory Solution modules, what are the tables for (see my attachment below),
a. First discovered
b. Last Configuration Request
c. Last Inventory Received
d. Last Event Received

Thanks & rgds,
Hendardi

 

Comments

ludovic_ferre's picture
26
Oct
2010
0 Votes 0
Login to vote

Here are the SQL query

These queries are from the 6.0 SP2 version (I wrote a detailed document on this back in February 2005) but shouldn't have changed much since then:

Method: GetAltirisAgentDetailsSection

SELECT vi.CreatedDate 
FROM vResource vr
INNER JOIN vItem vi ON vi.Guid = vr.Guid 
WHERE vr.Guid=@Guid

SELECT MAX(StartTime) as MaxRequestTime 
FROM Evt_NS_Client_Config_Request 
WHERE ResourceGuid = @Guid"

SELECT MAX(w.ModifiedDate) as MaxModifiedDate 
FROM ResourceUpdateSummary w 
INNER JOIN vResource r ON w.ResourceGuid = r.Guid 
WHERE r.Guid=@Guid

SELECT MAX(StartTime) as MaxStartTime 
FROM Evt_NS_Event_History 
WHERE ResourceGuid=@Guid

SELECT * 
FROM Inv_AeX_AC_Client_Connectivity 
WHERE _ResourceGuid=@Guid

SELECT ca.[Agent Name], ca.[Product Version]
FROM Inv_AeX_AC_Client_Agent ca 
JOIN vResource r ON ca._ResourceGuid = r.Guid
WHERE r.Guid = @Guid

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec 

1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect

ludovic_ferre's picture
26
Oct
2010
0 Votes 0
Login to vote

A couple more details on mapping the above...

... to the Resource Manager View (to be crystal clear):

  • vi.CreatedDate = "First Discovered"
  • MaxRequestTime = "Last Configuration Request"
  • MaxModifiedDate = "Last Inventory Received"
  • MaxStartTime = "Last Event Received"

The last two query return multiple results for the "Connectivity" and "Agents" sections.

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec 

1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect