change admin_gui_access = 1 to 0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Aritradey70
Posts: 13
Joined: Wed Feb 22, 2017 8:00 am

change admin_gui_access = 1 to 0

Post by Aritradey70 »

Hi Team,

I want to change the admin_gui_access = 1 to 0 at the time of command line installation of NCPA Agent 2.0.4 on windows host. Please let me know, how could I do this.
bolson

Re: change admin_gui_access = 1 to 0

Post by bolson »

This document should get you going in the right direction. Let me know if you have any other questions.

https://www.nagios.org/ncpa/help/2.0/configuration.html
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: change admin_gui_access = 1 to 0

Post by jomann »

As a side note, you currently cannot pass that option in through the command line. You can, however, edit it in the ncpa.cfg (which is the reference doc above) after you've installed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Aritradey70
Posts: 13
Joined: Wed Feb 22, 2017 8:00 am

Re: change admin_gui_access = 1 to 0

Post by Aritradey70 »

But we want to disable admin section for GUI for all servers where NCPA client is installed. I just cannot modify the ncpa.cfg file for every server. Is there any workaround, command or script to make it on windows servers.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: change admin_gui_access = 1 to 0

Post by jomann »

You could use a config management software to apply the config(s), but there is no way to modify that option from the command line in NCPA right now.
There will be more options to pass later on, but I am not sure that will be one of them.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked