Page 1 of 1
Disable NCPA web gui on client.
Posted: Thu Jul 15, 2021 3:13 pm
by kuryakin
How do I disable the NCPA web gui on the clients? In the config, I'm only seeing an option to disable admin access, but not the whole webpage itself.
I checked the documentation and the configs, and couldn't find anything. Google came up with no results either, except for a thread on the same subject 7 years ago with no resolution.
Re: Disable NCPA web gui on client.
Posted: Thu Jul 15, 2021 4:34 pm
by benjaminsmith
HI
@kuryakin,
I looked over the documentation and main config file and that is correct, that's not currently supported. I would recommend opening an enhancement request on the GItHub account for NCPA.
https://github.com/NagiosEnterprises/ncpa
Another option here would be to just comment out the login form on the main login page, this would prevent access to the system. However, any updates would overwrite this file. The login is in the following directory.
Code: Select all
vi /usr/local/ncpa/listener/templates/login.html
Then put in HTML comments between lines after line 7 and 29, let me know if that works for you.
Benjamin
Re: Disable NCPA web gui on client.
Posted: Fri Jul 16, 2021 12:17 pm
by kuryakin
@benjaminsmith Thanks for your help! I submitted an issue onto the github page.
Re: Disable NCPA web gui on client.
Posted: Fri Jul 16, 2021 5:22 pm
by ssax
Let us know when we're okay to lock this up and mark it as resolved.
Thank you!