Page 1 of 3

NRDS windows problems

Posted: Thu Mar 22, 2018 7:02 am
by morabanc
Hi Nagios,

We are having problems with NRDS.

Client is installed successfully with this paramethers:

config.ini
[settings]
CONFIG_VERSION=1.3
CONFIG_OS=Windows (64-bit)
CONFIG_NAME=Windows_64b_Group
URL=http://nagiosxi/nrdp/
TOKEN=0c5hu2uurp9l
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_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"


host.ini
[settings]
HOSTNAME=LOCALHOST
CONFIG=config.ini


All seems to be ok but we don't receive the host and service at unconfigured objects section.


Regards

Re: NRDS windows problems

Posted: Thu Mar 22, 2018 4:32 pm
by lmiltchev
Can you post the "C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log" from the Windows machine on the forum?

Also, open the Windows Task Scheduler, and show us a screenshot of the NRDS task that was created. We need to be able to see the status, triggers, nest/last run time, and last run result fields. Thank you!

Re: NRDS windows problems

Posted: Fri Mar 23, 2018 2:43 am
by morabanc
Hi lmiltchev,

Thanks for your answer, I attach you the Debug file.

Also I check the task manager and don't see any NRDS task created, how we can solve it ?


Thanks

Re: NRDS windows problems

Posted: Fri Mar 23, 2018 4:04 am
by morabanc
Hi lmiltchev,

I login session with administrator account and I check task manager, it's running every 1 minut but there are an error.

Please see attach files.


Thanks

Re: NRDS windows problems

Posted: Fri Mar 23, 2018 4:07 pm
by npolovenko
@morabanc, This error code 0x8004131F on your screenshot shows some kind of instance conflict. It could be caused due to the very short interval between NRDS jobs. Please remove the existing job and create a new one that runs with at least 5-minute interval.
Also, please send us the nagios.log file.

Re: NRDS windows problems

Posted: Mon Mar 26, 2018 10:07 am
by morabanc
Hi team,

I install the NRDS in another computer that I'm the administrator.

In this PC works find without any error, it execute every 5 minutes indefinetly.

The problem it's the same as always, we don't receive NRDS traffic in server and in "unconfigured objects" section.

Please see pics below.


Thanks

Re: NRDS windows problems

Posted: Mon Mar 26, 2018 3:31 pm
by scottwilkerson
Out of curiosity, does this Windows server have a hostname that has chars that are not ASCII?

Re: NRDS windows problems

Posted: Tue Mar 27, 2018 1:55 am
by morabanc
No, hostname is v001p001.

Thanks

Re: NRDS windows problems

Posted: Tue Mar 27, 2018 9:10 am
by scottwilkerson
morabanc wrote:Hi team,

I install the NRDS in another computer that I'm the administrator.

In this PC works find without any error, it execute every 5 minutes indefinetly.

The problem it's the same as always, we don't receive NRDS traffic in server and in "unconfigured objects" section.

Please see pics below.


Thanks
when you installed on the other computer that works, did you use the same NRDS configuration? Could it be a firewall on this computer? Also, this computer has a "error de inicio" which is a "Boot Error" in the event log displaying every minute, that could be an issue that may need to be resolved before the plugins could be run.

Re: NRDS windows problems

Posted: Wed Mar 28, 2018 2:36 am
by morabanc
Hi scottwilkerson,

Yes, we use the same NRDS config.

Firwall in this computer (v001p001) it's disabled.

The "boot error" you see it's for another computer.

The last update I send was about new test with a new computer (v001p001), in this casuistic there aren't any problem/errors.

I attach you once again the last screenshots I did.

Sorry for any posible confusion about machines.


Thanks a lot ! :)