checks are not writing in the ecc_queue of the agent based discovery - Agent Host Collection

SK Chand Basha
Giga Sage

Hello Everyone,

 

When i run the agent on demand by using collect host data , only enhanced discovery check is running and getting in ECC queue, Other software installed & Usage checks are not running what could be reason, these all are default checks.

 

I tested with test check we are geting payload, after i have tried to process via script include AgentNowHandler it's not working.

var payloadSysId = 'sys_id of software usage ecc queue';
var eccRecord = new GlideRecord('ecc_queue');

if (eccRecord.get(payloadSysId)) {
var anh = new AgentNowHandler();
anh.processEccRecord(eccRecord);
} else {
gs.info('ECC Queue record not found for sys_id: ' + payloadSysId);
}

 

Thank you!

15 REPLIES 15

Enhanced discovery check is triggered by the Policy, or by hitting "Collect host data". About what case are you speaking?