Page 1 of 1
change admin_gui_access = 1 to 0
Posted: Wed Aug 09, 2017 9:07 am
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.
Re: change admin_gui_access = 1 to 0
Posted: Wed Aug 09, 2017 1:05 pm
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
Re: change admin_gui_access = 1 to 0
Posted: Wed Aug 09, 2017 3:01 pm
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.
Re: change admin_gui_access = 1 to 0
Posted: Thu Aug 10, 2017 2:53 am
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.
Re: change admin_gui_access = 1 to 0
Posted: Thu Aug 10, 2017 1:03 pm
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.