Page 2 of 4

Re: NRDS Unconfigured object assistance

Posted: Mon Apr 22, 2013 8:27 am
by QS1
The NRDS Config Manager ver is 1.2 dated 02/27/2012 with type USER..should it be CORE?

Re: NRDS Unconfigured object assistance

Posted: Mon Apr 22, 2013 10:53 am
by scottwilkerson
By any chance have you implimented a RAMDisk on the XI server?

If so you will need to be sure you have your correct check_results_dir in
/usr/local/nrdp/server/config.inc.php

change

Code: Select all

$cfg["check_results_dir"]="/usr/local/nagios/var/spool/checkresults";
To something like this

Code: Select all

$cfg["check_results_dir"]="/var/nagiosramdisk/spool/checkresults";

Re: NRDS Unconfigured object assistance

Posted: Mon Apr 22, 2013 2:13 pm
by QS1
RAM Disk has not been set up on this server and the default path for check results is valid. The "/var/nagiosramdisk/spool/checkresults" is not a valid path on my system. Attached are config.inc.php along with other screen shots for any other setting required.

Would uninstalling version NRDS 1.2 and re-installing serve any purpose at this point?

Re: NRDS Unconfigured object assistance

Posted: Mon Apr 22, 2013 7:25 pm
by yancy
QS1,

Can you post the NRDS_Debug.log once enabling config and plugin distribution.

-Yancy

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 8:19 am
by QS1
I did not mention the following:
the NRDS_Win was installed on a Windows 8 Enterprise (build 9200)

Attached is the information you have requested. Thank you.

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 9:53 am
by yancy
QS1,

Thanks for the log. What is the folder permissions in "C:\Program Files\Nagios" ?

If the script is unable to write new plugins and configs because it doesn't have permission, that would cause it to fail.

Thanks,

-Yancy

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 11:23 am
by QS1
The Nagios folder on the NRDS_Win remote machine has full control for Users, System and Admin accounts. I am able to run the plugins manually and receive no error on the Windows OS. I've even changed compatability options to run as XP Service Pack 3..but no luck.

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 11:51 am
by yancy
QS1,

Can you try generating a new config using the config manager, and then changing the config name on the NRDS_Win side to point to the new config name.


Thanks,

-Yancy

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 1:07 pm
by QS1
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:


"base NRDP address locked and loaded : https://xx.xx.xx.59/nrdp//?token=1234567890&cmd="

"XML being passed to check for updates : https://xx.xx.xx.59/nrdp//?token=123456 ... DATA=<?xml version='1.0' ?><configs><config><name>TEST</name><version>0.1</version></config></configs>"

With Updates turned OFF I get the same out put as before..checks look valid as the log is noted:

4/23/2013 1:51:00 PM ---Starting NRDS Transaction--- :
4/23/2013 1:51:00 PM base NRDP address locked and loaded : https://xxx.xxx.xxx.59/nrdp//?token=1234567890&cmd=
4/23/2013 1:51:00 PM command to be run : C:\PROGRA~1\Nagios\NRDS_Win\plugins\eventlog_nrpe_nt.exe -m 7200
4/23/2013 1:51:00 PM command line executing : cmd /c C:\PROGRA~1\Nagios\NRDS_Win\plugins\eventlog_nrpe_nt.exe -m 7200 > %temp%\output.txt
4/23/2013 1:51:01 PM check results pre-encoded : EventLog(6008): Err=2 Warn=0 Instances=2 Microsoft-Windows-Kernel-PnP(219): Err=0 Warn=6 Instances=6 Microsoft-Windows-Kernel-Processor-Power(37): Err=0 Warn=2 Instances=2 SCardSvr(620): Err=0 Warn=2 Instances=2 WudfUsbccidDriver(7): Err=41854 Warn=0 Instances=41854 Microsoft-Windows-DNS-Client(1014): Err=0 Warn=8 Instances=8 Software Protection Platform Service(8198): Err=1 Warn=0 Instances=1 SideBySide(33): Err=11 Warn=0 Instances=11
4/23/2013 1:51:01 PM check results post encoded. This will be sent to Nagios : EventLog%286008%29%3A+Err%3D2+Warn%3D0+Instances%3D2+Microsoft%2DWindows%2DKernel%2DPnP%28219%29%3A+Err%3D0+Warn%3D6+Instances%3D6+Microsoft%2DWindows%2DKernel%2DProcessor%2DPower%2837%29%3A+Err%3D0+Warn%3D2+Instances%3D2+SCardSvr%28620%29%3A+Err%3D0+Warn%3D2+Instances%3D2+WudfUsbccidDriver%287%29%3A+Err%3D41854+Warn%3D0+Instances%3D41854+Microsoft%2DWindows%2DDNS%2DClient%281014%29%3A+Err%3D0+Warn%3D8+Instances%3D8+Software+Protection+Platform+Service%288198%29%3A+Err%3D1+Warn%3D0+Instances%3D1+SideBySide%2833%29%3A+Err%3D11+Warn%3D0+Instances%3D11+
4/23/2013 1:51:01 PM return code from plugin : 2
4/23/2013 1:51:01 PM command to be run : C:\PROGRA~1\Nagios\NRDS_Win\plugins\cpuload_nrpe_nt.exe 70 90
4/23/2013 1:51:01 PM command line executing : cmd /c C:\PROGRA~1\Nagios\NRDS_Win\plugins\cpuload_nrpe_nt.exe 70 90 > %temp%\output.txt
4/23/2013 1:51:03 PM check results pre-encoded : NOW: Mean:3.571429% Variance: 1.015510% CUMULATIVE: Mean:2.789474% Variance: 1.435822%

4/23/2013 1:51:03 PM check results post encoded. This will be sent to Nagios : NOW%3A+Mean%3A3%2E571429%25+Variance%3A+1%2E015510%25+CUMULATIVE%3A+Mean%3A2%2E789474%25+Variance%3A+1%2E435822%25%0D%0A
4/23/2013 1:51:03 PM return code from plugin : 0


Still no unconfigured object appearing

Re: NRDS Unconfigured object assistance

Posted: Tue Apr 23, 2013 11:45 pm
by yancy
QS1,

Can you open NRDS_Win.vbs and confirm the version number at the top is 3.1

If you are using 3.1, Change line #24 from

Code: Select all

'On Error Resume Next 
to this:

Code: Select all

On Error Resume Next 
After removing the apostrophe, try double clicking NRDS_Win.vbs and see what line it's halting at.

I'll also take a look at a Windows 8 machine and see if I can duplicate your issue.

Thanks,

-Yancy