Disable NCPA web gui on client.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kuryakin
Posts: 2
Joined: Thu Jul 15, 2021 1:42 pm

Disable NCPA web gui on client.

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Disable NCPA web gui on client.

Post 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
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!
kuryakin
Posts: 2
Joined: Thu Jul 15, 2021 1:42 pm

Re: Disable NCPA web gui on client.

Post by kuryakin »

@benjaminsmith Thanks for your help! I submitted an issue onto the github page.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Disable NCPA web gui on client.

Post by ssax »

Let us know when we're okay to lock this up and mark it as resolved.

Thank you!
Locked