NCPA_AUTO_INSTALL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yybadrou
Posts: 12
Joined: Mon Jul 20, 2020 2:34 am

NCPA_AUTO_INSTALL

Post by yybadrou »

Hi,

I am using NAGIOS XI to monitor my network infrastructure ( more than 200 Windows Host) , I am planning to use The new NCPA Client.
Given that I will use a custom installation ( customized Bind IP, and customized Port, customized allowed host in the ncpa.cfg file). Is there any way to perform the installation using a command line in power-shell? I want to use a GPO for that so I wanna know of there is a way to do that using a command with arguments, so that I can perform the installation in my 200 equipments easily and quickly!

Thank you
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: NCPA_AUTO_INSTALL

Post by mbellerue »

Absolutely! Check out the NCPA Windows documentation on the Silent Installation method.
https://www.nagios.org/ncpa/getting-sta ... nt-install
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
yybadrou
Posts: 12
Joined: Mon Jul 20, 2020 2:34 am

Re: NCPA_AUTO_INSTALL

Post by yybadrou »

Hi,

Thank you for you answer, That's is clear, however I can't find the variable for the allowed host in order to accept the supervision only from the Nagios server. ANY HELP

Thank you
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: NCPA_AUTO_INSTALL

Post by mbellerue »

Ah, I missed the allowed hosts part. It looks like that configuration isn't part of the silent install. One thing you could do is just have a standard ncpa.cfg file out on the network share along size the script that installs NCPA. Once NCPA is installed, the script could copy the standard config to the server, and restart the NCPA Listener service.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
yybadrou
Posts: 12
Joined: Mon Jul 20, 2020 2:34 am

Re: NCPA_AUTO_INSTALL

Post by yybadrou »

Yes, I have thught about that solution, I can prepare a standard ncpa.cfg file with the desired allowed host inside, but when i will dispatch it to my infrastructure, it will replace the last ncpa.cfg file that was built thanks to the silent install. so It is a little bit complicated :/
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA_AUTO_INSTALL

Post by ssax »

You'll need to Install first, then replace the ncpa.cfg, then restart the services.

I have submitted a feature request on your behalf for this:

https://github.com/NagiosEnterprises/ncpa/issues/667

Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.

Thank you!
Locked