Can't integrate NSClient++ with Windows Server 2003 R2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Can't integrate NSClient++ with Windows Server 2003 R2

Post 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
Capture.JPG (16.44 KiB) Viewed 7697 times
Is there any other way to integrate windows server 2003 with nagios? So that i can get normal services like NSClient++ does offer:
Capture.JPG
For your information, Windows 2012 R2, Windows 7 & other servers are working fine.
Regards
Sazzad
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post by lsazzad »

I dont know suddenly becomes ok after consulting with a Nagios expert. :x :x :x

As far i remember before i had tried using 32/64 bit client & it did't work. But today i have tried it again & its working well. Strange!!!!!!

Anyway, Thanks a lot! :D :D :D :D
Regards
Sazzad
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post 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
Capture.JPG (20.25 KiB) Viewed 7683 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!
Regards
Sazzad
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post 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
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post by lsazzad »

Hello Guys,
I am back! This time with solution & problem :D :D . 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:
Capture.JPG
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?
Regards
Sazzad
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post by lmiltchev »

On the failing server, try rebuilding windows performance counters:

Code: Select all

cd\windows\system32
lodctr /R
then restart the NSClient++ service.

Let us know if this fixed your issue. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post by lsazzad »

Unfortunately not! :(
Capture.JPG
1.JPG
Regards
Sazzad
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post by lmiltchev »

Did you restart the NSClient++ service after rebuilding the windows performance counters?
Be sure to check out our Knowledgebase for helpful articles and solutions!
lsazzad
Posts: 72
Joined: Tue Apr 07, 2015 6:52 am
Location: ​Osnabrück, Deutschland
Contact:

Re: Can't integrate NSClient++ with Windows Server 2003 R2

Post 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.
Regards
Sazzad
Locked