I'm trying to configure Nagios command for checking status of physical memory on a remote Windows host using NRPE plugin. I'm using Nagios v3.0.6 on Ubuntu Server v14.10, and latest stable version of NSClient++ 0.4.3. Here are the snippets from the config files:
define command {
command_name check_ph_mem
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAl$
}
and
define service{
host_name remote-win-host
service_description Check Memory NRPE
check_command check_ph_mem
use generic-service
}
Nagios could not retrieve any information from this command because when I execute
/usr/lib/nagios/plugins/check_nrpe -H 192.168.1.150
it gives back following error:
CHECK_NRPE: Error - Could not complete SSL handshake.
I've tried with reconfiguring part of C:\Program Files\NSClient++\nsclient.ini
in following way:
[/settings/NRPE/server]
allow arguments = true
allowed hosts = 192.168.1.15
port = 5666
but it gives back the same error. I've already read dozens similar topics and tried different advices, but I still have the same issue.
Do you have any idea how to fix this?