Plugin check not working

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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin check not working

Post by tgriep »

That could be the issue, when I change major versions of the NSClient++ agent, I make a copy if the scripts and ini file and after installing the client, I delete this folder to remove all of the leftover files.

Code: Select all

C:\Program Files\NSClient++
Try that and see if that helps out. Also, I would install the latest stable version 0.4.4 of the client.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Plugin check not working

Post by kwhogster »

I always delete the folder after I uninstall nsclient I have a network share that contains all my scripts.

After installing 4.4.23

C:\Windows\system32>cd /program files/nsclient++

C:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all
E core Failed to register plugin LUAScript: Could not load library: 126: T
he specified module could not be found.
: LUAScript.dll
c:\source\nscp\service\NSClient++.cpp:216

I have never seen this on any server I built could this be an underlying problem?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin check not working

Post by tgriep »

It could be an issue with the nscp options you are using to generate the nsclient.ini file.
I have never seen an ini file with the LUAScript.dll enabled in it.

Try starting small with the install and add the sections in to the ini file a little at a time.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked