Installing NSClient after import

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Installing NSClient after import

Post by jpipitone »

I've used the Nagios import prep tool to move our existing Nagios 2.9 config into NagiosXI with no issues, perfectly smooth.

After bringing the config into XI, I noticed that NagiosXI was able to perform service checks even though I haven't installed the new NSClient on any of our servers, it still was able to perform the service checks. I would imagine that the checks are still connecting to the existing legacy Nagios agent.

Moving forward, do you recommend installing the updated NSClient? I would imagine we should probably do so in order to support newer checking techniques used by NagiosXI.

Do you have any recommendations as far as remotely deploying the new NSClient while at the same time uninstalling the old one, or is it more of a manual process?

Thank you for an easy import tool.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Installing NSClient after import

Post by rdedon »

We would strongly recommend upgrading to the latest NSClient++ as some of the previous ones could be buggy intermittently.

Mostly it will be manual but there is one thing you could do to ease deployment is create and edit a "master nsc" file such as this snippet:

Code: Select all

[modules]
;# NSCLIENT++ MODULES
;# A list with DLLs to load at startup.
;  You will need to enable some of these for NSClient++ to work.
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
; *                                                               *
; * N O T I C E ! ! ! - Y O U   H A V E   T O   E D I T   T H I S *
; *                                                               *
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NSClientListener.dll
NRPEListener.dll
;SysTray.dll
CheckEventLog.dll
;CheckHelpers.dll
;CheckWMI.dll
And drop them onto each machine. Another note, systray "can" be problematic so you may want to avoid having that run altogether.

Hope this helps! :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Installing NSClient after import

Post by jpipitone »

OK - so even during installation of the agent where I choose which modules to enable, I still have to manually uncomment those things out within NSC.ini?

EDIT: just took another look at my NSC.ini file, those values are all uncommented at the top.

Thank you!
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Installing NSClient after import

Post by rdedon »

In my last testing I did have to edit but it was not the latest. You may want to push to one machine as a pre-deploy and go from there.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Installing NSClient after import

Post by rdedon »

jpipitone wrote:OK - so even during installation of the agent where I choose which modules to enable, I still have to manually uncomment those things out within NSC.ini?

EDIT: just took another look at my NSC.ini file, those values are all uncommented at the top.

Thank you!
Ah great! I saw this after my last post :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked