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

I still dont understand your question.

When you hit "Collect host data" -> triggers "Enhanced Discovery" check definiton-> record is in ecc_queue with source "on_demand_request", you received the input (again even in ecc_queue) -> input is process by Check Definition "Check type: "Enhanced Discovery" -> values are stored in CMDB.

 

 

 

Pratiksha
Mega Sage
Mega Sage

We added few more checks. Apart from enhanced discovery rest of the check not getting triggered. One of the example would be software usage check.  @Doci1 

And have you included those checks in Policies? Because Policy decides "when" and "where" will run checks, and checks contains "what".

Or you mean that you have included additional checks into "Collect host data"??

yes