Page 1 of 2
Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Wed May 06, 2015 5:35 am
by lsazzad
While i am trying to install NSClient++ in Windows Server 2003 R2 it shows that that this package is not compatible with this server.

- Capture.JPG (16.44 KiB) Viewed 9626 times
Is there any other way to integrate windows server 2003 with nagios? So that i can get normal services like NSClient++ does offer:
For your information, Windows 2012 R2, Windows 7 & other servers are working fine.
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Wed May 06, 2015 10:23 am
by tgriep
Are you are trying to install the 64 bit version of the NSClient++ on 32 bit Windows Server?
Try installing the 32 bit version of NSClient++ instead.
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Thu May 07, 2015 1:19 am
by lsazzad
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Thu May 07, 2015 8:30 am
by lsazzad
A little update. Just now i have tried with one of my windows server using 32/64 Bit. Its not working. Have a look on the bellow error. Translation is i need to install a specific service pack package for this.

- Capture.JPG (20.25 KiB) Viewed 9612 times
Its little bit depressing. For linux host there is nothing to do. So, for Windows why its becoming necessary to configure in client end?
Is it possible to configure in Nagios end without anything configuring in Windows(Client) side? Same what we do for Linux Host!
It will ease a lots of hard work. Expecting your kind help!
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Thu May 07, 2015 9:31 am
by jdalrymple
lsazzad wrote:Its little bit depressing. For linux host there is nothing to do. So, for Windows why its becoming necessary to configure in client end? Is it possible to configure in Nagios end without anything configuring in Windows(Client) side? Same what we do for Linux Host!
It will ease a lots of hard work. Expecting your kind help!
You must have some agent on Linux also - NRPE or SNMPD maybe?
The easiest solution with Windows if you don't want to install packages is to use WMI. Here is a document we publish for our commercial product NagiosXI, but with a little interpretation it should work for Core just the same. It's intended to be used with the plugin
check_wmi_plus.pl
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Tue Jun 09, 2015 6:49 am
by lsazzad
Hello Guys,
I am back! This time with solution & problem

. Really i appreciate Nagios forum's cordial support.
I have tried
NSCLIENT-0.4.2.88 version & worked for 4 Windows server. After that for few server i have tried
NSCLIENT-0.4.0.169 version & it works!
But for
two server(Windows 2000) facing strange problem:
Please note that same version of NSCLIENT++(NSCLIENT-0.4.0.169) is working for windows 2003 Server. So, i guess its happening due to OS platform.
Any idea or should i try older versions?
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Tue Jun 09, 2015 10:44 am
by lmiltchev
On the failing server, try rebuilding windows performance counters:
then restart the NSClient++ service.
Let us know if this fixed your issue. Thanks!
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Wed Jun 10, 2015 1:23 am
by lsazzad
Unfortunately not!
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Wed Jun 10, 2015 9:49 am
by lmiltchev
Did you restart the NSClient++ service after rebuilding the windows performance counters?
Re: Can't integrate NSClient++ with Windows Server 2003 R2
Posted: Thu Jun 11, 2015 12:12 am
by lsazzad
Forgot to mention. After rebuilding windows performance counters i have restarted as you said.
Please note that, i have done this process twice.