NRDS_win and Unconfigured objects
NRDS_win and Unconfigured objects
Hello,
Couple weeks ago we upgraded to Nagios XI 2012R1.1. I'm trying to setup NRDS_win on a 2003 server (32 bit). NRDS_win was configured properly (token, urls) from the set of instructions read. We've gotten NRDS work fine on Linux boxes, but this is a first for Windows. I've noticed that in the Monitoring Config -> Uncofigured objects, we only see up to date updates (Last Seen) for Linux boxes configured before the Nagios XI 2012R1.1 upgrade. I don't see my host nor services for the new Windows 2003 that I want to monitor.
1. Could the Unconfigured objects module have broken due to the Nagios XI 2012R1.1 upgrade?
2. Or did I miss a step when configuring NRDS_WinR2-32.exe and that is why is not showing up at all in Unconfigured objects?
Thank you,
Juana
Developer at NPS.edu
Couple weeks ago we upgraded to Nagios XI 2012R1.1. I'm trying to setup NRDS_win on a 2003 server (32 bit). NRDS_win was configured properly (token, urls) from the set of instructions read. We've gotten NRDS work fine on Linux boxes, but this is a first for Windows. I've noticed that in the Monitoring Config -> Uncofigured objects, we only see up to date updates (Last Seen) for Linux boxes configured before the Nagios XI 2012R1.1 upgrade. I don't see my host nor services for the new Windows 2003 that I want to monitor.
1. Could the Unconfigured objects module have broken due to the Nagios XI 2012R1.1 upgrade?
2. Or did I miss a step when configuring NRDS_WinR2-32.exe and that is why is not showing up at all in Unconfigured objects?
Thank you,
Juana
Developer at NPS.edu
Re: NRDS_win and Unconfigured objects
Open the Task Scheduler on the windows box, click on the "Task Scheduler Library", and see if you have a "new" scheduled task (with the same name as the hostname).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRDS_win and Unconfigured objects
Yes, the scheduled task (same as hostname) is there and it has been manually ran multiple times, but I still don't see any activity in the Unconfingured objects.
Re: NRDS_win and Unconfigured objects
Run the following command on the Nagios server:
Check to see if you are getting anything in the unconfigured objects.
Code: Select all
service xinetd restartBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRDS_win and Unconfigured objects
I restarted xinetd, remote into Windows 2003 server to force scheduled task to run, checked Unconfigured objects couple minutes later, but nothing appears from that host or its services.
Re: NRDS_win and Unconfigured objects
Could this be a bug introduced within the R1.1 upgrade? I ask because if I try to delete a service within Unconfigured objects from a different host configured before the upgrade, I get a message saying "Objects deleted." even though the object remains in the Unconfigured objects within its corresponding host.
Re: NRDS_win and Unconfigured objects
What is the output of the following command?
Code: Select all
ll /usr/local/nagiosxi/var/corelog.newobjectsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRDS_win and Unconfigured objects
-rwxrwxr-x. 1 nagios users 763 Nov 14 11:35 /usr/local/nagiosxi/var/corelog.newobjects
Should I 'chown nagios:nagios /usr/local/nagiosxi/var/corelog.newobjects' ?
/usr/local/nagiosxi/var/ is nagios:nagio, but the files are mixtures of nagios:nagios and nagios:users.
Should I 'chown nagios:nagios /usr/local/nagiosxi/var/corelog.newobjects' ?
/usr/local/nagiosxi/var/ is nagios:nagio, but the files are mixtures of nagios:nagios and nagios:users.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRDS_win and Unconfigured objects
This is normaljuana wrote:/usr/local/nagiosxi/var/ is nagios:nagio, but the files are mixtures of nagios:nagios and nagios:users.
On the remote machine, can you post the C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log
Re: NRDS_win and Unconfigured objects
Code: Select all
11/9/2012 11:37:41 AM base NRDP address locked and loaded : https://nagios.nps.edu/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=
11/9/2012 11:37:41 AM XML being passed to check for updates : https://nagios.nps.edu/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>win.host.edu</name><version>0</version></config></configs>
11/9/2012 11:37:42 AM NRDP response to update query : <?xml version="1.0" encoding="utf-8"?>
<result>
<status>1</status>
<message>Version 0.3 available</message>
<meta>
<output></output>
</meta>
<config>
CONFIG_VERSION=0.3
CONFIG_OS=Windows (32-bit)
CONFIG_NAME=win.host.edu
URL=https://nagios.nps.edu/nrdp/
TOKEN=xxxxxxxxxxxxxxxxxxxxxxx
HOSTNAME=win.host.edu
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
UPDATE_CONFIG=1
UPDATE_PLUGINS=1
command[__HOST__] = $PLUGIN_DIR$\check_winping.exe -H localhost --warning 200,40% --critical 400.0,80%
command[ProcessCount] = $PLUGIN_DIR$\check_winprocess.exe --warning 40 --critical 50
command[CPULoad] = $PLUGIN_DIR$\cpuload_nrpe_nt.exe 70 90
command[DiskSpaceC] = $PLUGIN_DIR$\diskspace_nrpe_nt.exe c: 85 90
command[DiskSpaceD] = $PLUGIN_DIR$\diskspace_nrpe_nt.exe d: 85 90
command[EventLog] = $PLUGIN_DIR$\eventlog_nrpe_nt.exe -m 7200
command[MemoryLoad] = $PLUGIN_DIR$\memload_nrpe_nt.exe 70 90
</config>
</result>
11/9/2012 11:37:42 AM Config update availability : True
11/9/2012 11:37:43 AM downloading new config : https://nagios.nps.edu/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=getconfig&configname=win.host.edu&os=Windows&os_ver=5.2.3790&arch=x86
11/9/2012 11:37:43 AM downloading new file : https://nagios.nps.edu/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=getconfig&configname=win.host.edu&os=Windows&os_ver=5.2.3790&arch=x86
11/9/2012 11:39:58 AM base NRDP address locked and loaded : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=
11/9/2012 11:39:58 AM XML being passed to check for updates : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>win.host.edu</name><version>0.3</version></config></configs>
11/9/2012 11:40:00 AM base NRDP address locked and loaded : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=
.
.
.
11/14/2012 1:19:18 PM base NRDP address locked and loaded : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=
11/14/2012 1:19:19 PM XML being passed to check for updates : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>win.host.edu</name><version>0.3</version></config></configs>
11/14/2012 1:22:09 PM base NRDP address locked and loaded : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=
11/14/2012 1:22:09 PM XML being passed to check for updates : https://172.20.21.241/nrdp//?token=xxxxxxxxxxxxxxxxxxxxxxx&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>win.host.edu</name><version>0.3</version></config></configs>