Failed to find plugin: check_ping in C:\Program Files\NSClie

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
ahiya
Posts: 11
Joined: Wed Nov 20, 2019 1:04 am

Failed to find plugin: check_ping in C:\Program Files\NSClie

Post by ahiya »

hi all

i have a nagios core 4.4.3 with NRPE configured and working well.
i have some site with on-site win10 agents and i wanted to use them as NRPE agents.
ive installed NSClient++ (05.2.35).
at first, I hade some SSL issues but that solved.
now im trying to apply some check_ping services but it won't work.
it seems that the NRPS win agent looking for check_ping dll under modules folder, but its not their.
i can see a check_ping_bat under scripts folder and ive tried using the bellow syntax, but still the same issue.so for now these commands are marked out in the configuration.

Code: Select all

; Undocumented key
;check_ping = enabled

[/settings/external scripts/scripts]
check_ping = cmd /c echo scripts\check_ping.bat; exit($LastExitCode) | powershell.exe -command -
on my Nagios server, I see this error:

Code: Select all

(No output on stdout) stderr: connect to address 192.168.1.10 port 5666: Connection refused
but I think that the root cause is the check_ping plugin issue.

I've attached config file of my agent, NRPE commands of the Nagios side, and the logs from the agent side.

hope someone could help with this.
ill appreciate ant idea, comment, or advice.

thanks
Attachments
core_conf.txt
(1.2 KiB) Downloaded 119 times
client_log.txt
(1.47 KiB) Downloaded 113 times
client_conf.txt
(5.09 KiB) Downloaded 129 times
ahiya
Posts: 11
Joined: Wed Nov 20, 2019 1:04 am

Re: Failed to find plugin: check_ping in C:\Program Files\NS

Post by ahiya »

the issue was with ssl version.
the client is using sslv3 but my nrpe server uses TSLv1
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Failed to find plugin: check_ping in C:\Program Files\NS

Post by benjaminsmith »

Hi,
the issue was with ssl version.
the client is using sslv3 but my nrpe server uses TSLv
Happy to hear you got it fixed and a big thanks for sharing the solution.

We'll go ahead and mark this as resolved.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked