Page 1 of 1

NRDS Plugins missing from host plugins directory

Posted: Mon Feb 03, 2014 4:27 pm
by bmarler
Working with Nagios XI trying to get NRDS Passive checks working for servers not part of the local network. I can get it to work but only in cases where I place the NRDS plugins in the exptected location on the monitored hosts manually.

From what I've read in this doc http://assets.nagios.com/downloads/nagi ... DS_Win.pdf, it seems as if the NRDS_Win.vbs which is run via the task scheduler after installing NRDS_Win_64.exe, will cause missing plugins to be downloaded from the Nagios XI server to the monitored host as long as they exist in /usr/local/nrdp/plugins/Windows/ on the Nagios XI server. Have I misunderstood? After I install NRDS_Win_64.exe to the host I intend to monitor and run the first check, there are still no plugins in c:\program files\nagios\nrds_win\plugins\ (also not in the x86 path). If I manually download the plugins to the monitored host from exchange.nagios.com, all is well. Is there some other way to get these plugins bundled with he NRDS_WIN_64.exe created when I use NRDS Config manager to create a config?

Many thanks to any attention to this matter!

Re: NRDS Plugins missing from host plugins directory

Posted: Mon Feb 03, 2014 4:39 pm
by tmcdonald
That is odd. Can you post your (sanitized) NRDS config from your Windows machine?

Re: NRDS Plugins missing from host plugins directory

Posted: Tue Feb 04, 2014 9:01 am
by bmarler
Thanks for looking at this!

Code: Select all

[settings]
CONFIG_VERSION=0.4
CONFIG_OS=Windows (64-bit)
CONFIG_NAME=nagiosconfig1
URL=https://server1.mynagios.invalid/nrdp
TOKEN=xxxxxxxx
PLUGIN_DIR=C:\Program Files\Nagios\NRDS_Win\plugins
SEND_NRDP=
TMPDIR=
COMMAND_PREFIX=
LOG_FILE=C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log
IGNORE_SSL_CERTIFICATE_ERRORS=1
UPDATE_CONFIG=1
UPDATE_PLUGINS=1


[services]
command[__HOST__] = $PLUGIN_DIR$\check_winping.exe -H 127.0.0.1 --warning 200,40% --critical 400,80%
command[nrpe_winprocess] = $PLUGIN_DIR$\check_winprocess.exe --warning 40 --critical 50
command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90
command[nrpe_diskspace] = $PLUGIN_DIR$\check_pdm.exe --disk --drive C: -w 97.5 -c 99.5
command[nrpe_diskspace] = $PLUGIN_DIR$\check_pdm.exe --disk --drive E: -w 88 -c 90
command[nrpe_eventlog] = $PLUGIN_DIR$\eventlog_nrpe_nt.exe -m 7200
command[nrpe_memload] = $PLUGIN_DIR$\check_pdm.exe --memory -w 90 -c 99
command[nrpe_physical_mem] = $PLUGIN_DIR$\check_pdm.exe --memory pagefile -w 80 -c 95
command[nrpe_service] = $PLUGIN_DIR$\service_nrpe_nt.exe "DNS Client"


[extensions]
vbs = cscript //nologo $CHECK_COMMAND$
ps1 = powershell -ExecutionPolicy Bypass -File $CHECK_COMMAND$

Re: NRDS Plugins missing from host plugins directory

Posted: Tue Feb 04, 2014 9:42 am
by bmarler
I just noticed in the NRDS_Debug.log on a Windows host:

Code: Select all

2/4/2014 9:05:00 AM Config update availability : False
I did change the address in the config of the Nagios server from the IP to the FQDN but noticed the config on the Windows host did not reflect the change.

On another windows host, the NRDS_debug.log is not updating which is also strange.

Re: NRDS Plugins missing from host plugins directory

Posted: Tue Feb 04, 2014 2:21 pm
by slansing
I believe you will need to change the address in the nrds config file on the remote host as it must still be able to contact the NRDS server "XI" to pull down config changes, and plugin changes.