19 October 2008

Nagios Client on Server Core 2008

Getting Nagios client to run on Server 2008 core isn't too difficult. But it doesn't seem to be posted anywhere yet. Maybe I'll try to submit it to the Nagios Wiki.

Copy NSClient++-x64-0.3.5.zip to C:_data and unzipped. I edited the .ini file. Then I ran the following commands:

C:\nagios\NSClient++-x64-0.3.5>NSClient++.exe /install

NSClient++.cpp(193) Service installed!

C:\nagios\NSClient++-x64-0.3.5>NSClient++ /start

Starting NSClientpp

C:\_data\NSClient++-x64-0.3.5> netsh firewall set icmpsetting 8

C:\nagios\NSClient++-x64-0.3.5>netsh firewall add allowedprogram "C:\_data\NSClient++-x64-0.3.5\NSClient++.exe" "NSClientListener" ENABLE

Here is a good site for firewall configuration on the command line: http://support.microsoft.com/kb/947709

2 comments:

Anonymous said...

yeah, that's what I thought

Anonymous said...

Thanks man. I was looking for this for a while.