The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Agent client collector - Getting error while testing checking for check definitions

suryaogeti1
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

exec: "cmd": cannot run executable found relative to current directory

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

3 REPLIES 3

Doci1
Kilo Sage

Instead of the error send what you have in the check itself... 😉 

Peter Delf
Tera Contributor

I'm seeing the same Alerts being raised for multiple Check definitions.  The one I'm looking at now is "os.windows.check-free-virtual-memory" where the command is:
winchecks check-windows-free-virtual-memory -w {{.labels.params_warning}} -c {{.labels.params_critical}}

 

I suspect that this is a permissions issue on the server.  The 'Exec mode' on the check definition is set to 'Shell'.

Runs fine against another Windows server (the MID server) but testing the check against the server that is causing the Alert

 

Check failed to run. Response code: 3

exec: "cmd": cannot run executable found relative to current directory