Calls a powershell script from MRPE path

Hi everybody,

I want to execute plug-ins via MRPE. I followed the steps The agent for Windows in detail under section “6.2. Executing plug-ins via MRPE”. I’ve done the configuration but doesn’t work.



image

Somebody know if I forgot to add any setup?

Cesar Valdez

If your PowerShell script outputs 1 - OK DNS is reachable it is not a Nagios Plugin and cannot be started via MRPE. A Nagios Plugin exits with the status code, where 0 is OK, 1 is WARN and 2 is CRIT.

It looks like it would be easier for you to just write a Local Check instead: Extending an agent is simple

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.