Page 1 of 1

problems NSCP

Posted: Mon May 16, 2016 9:41 am
by tejanagios
HI,

Cannot run external scripts from the console using nrpe:

here is my configuration file nsclient +=(X64) 0.4.3.143

the output i get now is unknown command when i am trying to run external commands using nrpe. please mark where my config file needs editing.

thanks for the feedback.

Re: problems NSCP

Posted: Mon May 16, 2016 11:21 am
by hsmith
Can you try to change

Code: Select all

; CheckExternalScripts - Execute external scripts
CheckExternalScripts = 1
to

Code: Select all

; CheckExternalScripts - Execute external scripts
CheckExternalScripts=enabled
and issue the following command in the Windows command prompt

Code: Select all

net stop nscp
net start nscp
Let me know if this works for you.

Thanks!

Re: problems NSCP

Posted: Mon May 16, 2016 2:42 pm
by tejanagios
HI,

No that doesn't work either, the same configuration file settings is working with nsclient 0.3 version.

here is the updated version, i don't want all the clutter in the config, i just need NRPE module, check_nt, external scripts enabled and a section to add those scripts.

the sample nsclient.ini file doesn't include the external scripts powershell example as it did in 0.3 version.

Re: problems NSCP

Posted: Mon May 16, 2016 4:54 pm
by hsmith