NRDS Unconfigured object assistance
Re: NRDS Unconfigured object assistance
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.
Re: NRDS Unconfigured object assistance
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 is not readable.
can you post the contents of %temp%\output.txt (and the file permissions).
Thanks,
-Yancy
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.txtcan you post the contents of %temp%\output.txt (and the file permissions).
Thanks,
-Yancy
Re: NRDS Unconfigured object assistance
After reviewing your information, it looks like in either case results aren't shown in unconfigured objects. curious.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:
I'll give this a test on a windows 8 machine.
-Yancy
Re: NRDS Unconfigured object assistance
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.
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.
Re: NRDS Unconfigured object assistance
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
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
Re: NRDS Unconfigured object assistance
attached is the XP NRdS LOG as requested
You do not have the required permissions to view the files attached to this post.
Re: NRDS Unconfigured object assistance
QS1,
Can you post your current service definitions. Here are the defaults:
It looks like in your case, whatever the definition AFTER
is causing a parsing error
Test creating a new config with only one definition in the config manager
Thanks,
-Yancy
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"
Code: Select all
command[nrpe_process] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90 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 -Yancy
Re: NRDS Unconfigured object assistance
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:
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.
Re: NRDS Unconfigured object assistance
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
also, set update plugins to off and update congis to off for testing
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 Code: Select all
UPDATE_CONFIG=0
UPDATE_PLUGINS=0
Re: NRDS Unconfigured object assistance
Yancy,
As requested. The log shows diag on with resume on Error. The error doc attachment was run with resume on error commented out.
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.