What is the difference between Agent 'Last Run' and 'Last executed' time?

book

Article ID: 50031

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

What is the difference between Agent 'Last Run' and 'Last executed' time? For most of the agents these values are same but for some agents they differ.

Solution:

The difference between these two values is that one is picked up from the ca_agent table and the other from the ca_discovered_hardware table.

The 'Last executed' value is from the ca_discovered_hardware table and this will be updated only during registration calls. Agent 'Last Run' is from the ca_agent table and this is modified during every inventory collection or anything that is sent from the agent, is received by the agent and when the Engine updates this information.

This is the reason why sometimes the Agent 'Last Run' and the 'Last executed' values are the same since the inventory collection and registration are done at same time. For the others there is only agent run but not any registration messages so the 'Last executed' value would be different.

Environment

Release: UASIT.99000-11.2-Asset Intelligence
Component: