NRDS Unconfigured object assistance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRDS Unconfigured object assistance

Post by QS1 »

The version of the .vbs script is R3.11 and the comma (by default) was not applied. All testing thus far has been made with no comma. When I added it the comma on line 24 i got an error on line 249 for open text file which I included in the screen shots..
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS Unconfigured object assistance

Post by yancy »

QS1,

Just to confirm, did you say the results DO post when update config and update plugins is disabled?

From that error message, it appears is if

Code: Select all

%temp%\output.txt
is not readable.

can you post the contents of %temp%\output.txt (and the file permissions).

Thanks,

-Yancy
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS Unconfigured object assistance

Post by yancy »

Created a new config called "TEST" and edited the NRDS_Win config accordingly (CONFIG_NAME=TEST). Tried with updates (1) and without updates (0)..same results.
With Updates turned ON I get the same out put as before:
After reviewing your information, it looks like in either case results aren't shown in unconfigured objects. curious.

I'll give this a test on a windows 8 machine.

-Yancy
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRDS Unconfigured object assistance

Post by QS1 »

Yancy,
The NRDS Log does record check data when CONFIG and UPDATE are OFF (0).

When these flags are set to ON (1)...check results are not displayed in the NRDS Log.

I've attached the output.txt file

I don't want to cloud the original problem but....I've also tried the same HOST and SERVICE checks on a Windows XP (32 Bit) machine. I created a separate NRD config and basically get the same results as the Win 8 64 bit OS..I do see 1 difference however... with WIN XP machine ..i see a cpuload.tmp file being created within C:\program files\nagios\nrds_win folder. either way no unconfigured object is appearing on the xi server. I am perfectly fine with trying to resolve the Windows XP OS if you are more familiar with this OS. If not we can contiue down the Win 8 path.
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS Unconfigured object assistance

Post by yancy »

QS1,

Thanks for testing this on your Windows XP machine as well. The fact the the CPU .tmp file is being created means the plugins are being succefully run which is good. Can you post the NRDS_Win log file? I'm curios to see if there are more details than your Windows 8 log.

Thanks,

-Yancy
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRDS Unconfigured object assistance

Post by QS1 »

attached is the XP NRdS LOG as requested
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS Unconfigured object assistance

Post by yancy »

QS1,

Can you post your current service definitions. Here are the defaults:

Code: Select all

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"
It looks like in your case, whatever the definition AFTER

Code: Select all

 command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90 
is causing a parsing error

Test creating a new config with only one definition in the config manager

Code: Select all

 command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90 
Thanks,

-Yancy
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRDS Unconfigured object assistance

Post by QS1 »

The config used for both machines Win 8 and XP were the following:
command[__HOST__] = $PLUGIN_DIR$\eventlog_nrpe_nt.exe -m 7200
command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90

Attached are new screenshots of the NRD CONFIG (TEST3) and host settings for the 32 bit OS XP machine:
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS Unconfigured object assistance

Post by yancy »

QS1,

I'm a bit at a loss for why the results aren't posting.

I've updated NRDS_Win to 3.2 and added a diagnostic mode which will send test results back to Nagios without running plugins.

I'll PM you the latest test version. To invoke the diagnostic mode simply run NRDS_Win.vbs with -diag flag.

start > cmd

Code: Select all

 cd \"program files"\Nagios\NRDS_win 

Code: Select all

 cscript NRDS_Win.vbs -diag 
also, set update plugins to off and update congis to off for testing

Code: Select all

UPDATE_CONFIG=0
UPDATE_PLUGINS=0
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRDS Unconfigured object assistance

Post by QS1 »

Yancy,

As requested. The log shows diag on with resume on Error. The error doc attachment was run with resume on error commented out.
You do not have the required permissions to view the files attached to this post.
Locked