problems NSCP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tejanagios
Posts: 24
Joined: Wed Feb 03, 2016 6:45 am

problems NSCP

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: problems NSCP

Post 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!
Former Nagios Employee.
me.
tejanagios
Posts: 24
Joined: Wed Feb 03, 2016 6:45 am

Re: problems NSCP

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: problems NSCP

Post by hsmith »

Former Nagios Employee.
me.
Locked