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

Doci1
Kilo Sage

as OOTB when you hit "collect host data", only the "enhanced discovery check" is running, not other checks. You will find it in the UI Action itself.

 

I dont understand your question. Can you reformulate it?

 

 

Hi @Doci1 

 

When I hit the collect host data only enhanced discovery check is showing in ECC queue other software install, software usage checks are not getting trigged. 

 

What may be the reason? 

@SK Chand Basha yes, this is correct behavior! Out of the box.

 

Hi @Doci1 

 

If the ECC queue record is not created how the payload will be processed to the respective tables with AgentNowHandler BR ?