Agent client collector - test check on check definition

navya4
Tera Contributor

HI All,

I have tried to create a custom check definition for the Agent Client Collector.

Iam getting error while testing the Test check it is throwing error

Check failed to run. Response code: 3

check command denied by the agent allow list

Could you please help on this issue , below shared screenshots for the same error

 

placing this command in agent check-allow-list from check definition:

{
    "args":[  
      ""
    ],
    "exec":" systeminfo | find /i \"install date\"",
    "skip_arguments":false
  },

 

1 REPLY 1

Howard Elton
Tera Contributor

Did you find an answer for this. I am getting the same error using the osqueryi example from the documentation.