Agent Health is not working correctly for any computers
search cancel

Agent Health is not working correctly for any computers

book

Article ID: 163171

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite Server Management Suite Asset Management Suite

Issue/Introduction

All computers show a grey icon for the Health Status and they show up as Untracked in "vac_agenthealth" view table. 

Environment

ITMS 8.7.x, 8.8.x

Cause

This can happen if the AC_AgentHealthSettings table is empty. You can check for this condition by running the following query:

select * from AC_AgentHealthSettings

If this returns no rows, then your agent health status will not work correctly. 

Resolution

Restore the default row with the following SQL. The statement adds the row only if it is missing.

 
IF NOT EXISTS (SELECT 1 FROM AC_AgentHealthSettings
               WHERE PolicyGuid = '88AA67FA-A787-4F82-993A-E103E9530292')
INSERT INTO AC_AgentHealthSettings
       (PolicyGuid,
        CommunicationHealthEnabled,  CommunicationHealthThreshold,
        ConfigurationHealthEnabled,  ConfigurationHealthThreshold,
        BasicInventoryHealthEnabled, BasicInventoryHealthThreshold,
        FullInventoryHealthEnabled,  FullInventoryHealthThreshold,
        StabilityHealthEnabled,      StabilityHealthThreshold,
        AgentVersionHealthEnabled,
        CommunicationHealthThresholdMinutes,
        ConfigurationHealthThresholdMinutes,
        BasicInventoryHealthThresholdMinutes)
VALUES ('88AA67FA-A787-4F82-993A-E103E9530292',
        1, 'DAY,1', 1, 'DAY,1', 1, 'DAY,1',
        1, 'DAY,10', 1, 'DAY,30', 1,
        1440, 1440, 1440);

This will populate the default values in that table and allow your agents health data to work correctly.

If SQL Server reports an invalid column name for any of the three ThresholdMinutes columns, your release does not have them. Remove those three columns from the column list and the last three values from the VALUES list, then run the statement again.

Note: As always, make sure you have a current backup of your database before making any manual changes. 

 

Verification:

Run
SELECT * FROM AC_AgentHealthSettings
WHERE PolicyGuid = '88AA67FA-A787-4F82-993A-E103E9530292'
.

It returns one row. Open a computer’s Agent Health page in the Symantec Management Console and confirm the status is no longer Untracked.