NRPE not working on One Server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

NRPE not working on One Server

Post by kwhogster »

Hello

Nagios 4.1 Core
NSCLIENT 1.4.3
Windows 2008 R2 Server 64 bit


I posted an early issue where this server had a few services not working and the person on here no names suggested I upgrade the NSCLIENT I did that and then nothing worked.
I uninstalled that version restarted the server deleted the entire folder of nsclient++
After reinstalling nsclient 1.4.3 now the folder does not contain all the files I had in there now.
So when I reinstalled for the third time I try to do this

[codeC:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all
e rvice\NSClient++.cpp:347 Failed to register plugin: Could not load library: 1
4001: The application has failed to start because its side-by-side configuration
is incorrect. Please see the application event log or use the command-line sxst
race.exe tool for more detail.
: C:\Program Files\NSClient++\\modules\DotnetPlugins.dll in file: DotnetPlugins
e rvice\NSClient++.cpp:347 Failed to register plugin: Could not load library: 1
26: The specified module could not be found.
: C:\Program Files\NSClient++\\modules\PythonScript.dll in file: PythonScript
Adding default values][/code]

On my other servers I have this file python27.dll

What am I missing


on the Nagios gui I see this






Check All Service

Notifications for this service have been disabled

UNKNOWN 01-23-2017 21:04:00 0d 0h 14m 30s 3/3 Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).


Check Disk Usage

Notifications for this service have been disabled

UNKNOWN 01-23-2017 21:04:10 0d 0h 14m 20s 3/3 Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).


Check OS Version

Notifications for this service have been disabled

UNKNOWN 01-23-2017 21:04:02 0d 0h 14m 28s 3/3 Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).


Windows Users

Notifications for this service have been disabled

UNKNOWN 01-23-2017 21:03:59 0d 0h 14m 31s 3/3 Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).


Whats missing
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NRPE not working on One Server

Post by dwhitfield »

Is it possible you installed Python 3 instead of Python 2?

Also, could you clarify the version of NSClient you are running? I'm assuming it's 0.4.1.3 rather than 1.4.3 but maybe you mean 0.4.3?
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: NRPE not working on One Server

Post by kwhogster »

I figured it out.

I had to modify the nsclient.ini file

Now all working.

Please lock this now as resolved
Locked