Skip to main content
Question

Problem with Custom Script

  • November 13, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img+1

Hi everyone,

I just migrated some custom PowerShell scripts from an old infrastructure using NSClient++ to a new one based on CMA.

Basically, I'm having the problem that the script works intermittently in the new Infra.

 

The correct value is displayed in the Central Panel, but other times (or if I perform a Forced Check) Execute Command Failed is returned.

 

How can I solve this?

Thanks!

Ps. The connection Flow is: the Agenti contact the Poller

1 reply

fmattes
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • November 19, 2025

Hi, 

Can you indicate which version are you using ?  (platform, poller & agent)

About irregular results, it seems like timeout issue. Could you try with a very simple PS script and see if it occurs ? 

About forced check, it only works in 25.10.0 or >, so it depends on your version.