Skip to main content
Question

Issues using JSON commands

  • September 9, 2025
  • 2 replies
  • 40 views

Forum|alt.badge.img+1

Hello everyone,

I hope you’re doing well. I’ve installed the latest Windows agent (24.10.10), while my poller is running version 24.10.11.

Some JSON commands are working fine, such as uptime and storages, but others aren’t, such as memory and CPU.

I’ve noticed the following message in the centengine logs:
Error: Service check command execution failed: could not create process '{check:memory}': No such file or directory

Do you have any ideas? Thank you in advance.

Have a great day!

2 replies

fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • 136 replies
  • September 10, 2025

Hi,

Could you copy/paste the command lines you have for : 

  • Uptime
  • Memory or CPU

Did you do any change on these commands ? 

Was it working before or is it a first CMA setup ?


Forum|alt.badge.img+1
  • Author
  • Steward *
  • 1 reply
  • November 13, 2025

Hi Florian,

I’m really really sorry for this late answer.

I haven’t changed theses commands. It’s a first CMA setup.

This is my command lines :

  • Uptime : {"check":"uptime", "args":{ "warning-uptime" : "$_SERVICEWARNINGUPTIME$", "critical-uptime" : "$_SERVICECRITICALUPTIME$"}}
  • Memory : {"check":"memory", "args":{ "swap": false, "warning-usage" : "$_SERVICEWARNINGUSAGE$", "critical-usage" : "$_SERVICECRITICALUSAGE$", "warning-usage-free" : "$_SERVICEWARNINGUSAGEFREE$", "critical-usage-free" : "$_SERVICECRITICALUSAGEFREE$", "warning-usage-prct" : "$_SERVICEWARNINGUSAGEPRCT$", "critical-usage-prct" : "$_SERVICECRITICALUSAGEPRCT$", "warning-usage-free-prct" : "$_SERVICEWARNINGUSAGEFREEPRCT$", "critical-usage-free-prct" : "$_SERVICECRITICALUSAGEFREEPRCT$"}}

Thanks,