nagios & windows 2008

OK so Windows 2008 isn’t the newest OS on the block, but I’m still learning it so here’s this morning’s lesson.

I installed nsclient++ 0.3.5 on a Win 2008 server, added it to nagios config files specifying various check_nt! services and restarted nagios. Nagios reported the host was DOWN and the services were unreachable due to socket failures.

On the server itself, no icon appeared in the system tray.

These problems turned out to be unrelated.

It turns out that Windows 2008’s firewall was blocking not only nagios’s default port, but (surprise!) the ECHO ICMP port as well. Once I unblocked those ports nagios’s display for this host turned green.

To get the icon in the system tray, I followed the (scary) advice in the nsclient++ FAQ for “modern windows”, editing the .ini file by commenting out sysTray.dll and adding shared_session=1.

Thank you and good night.

Leave a Reply