NCPA Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jimhoffmann
Posts: 50
Joined: Fri May 03, 2013 1:38 pm

NCPA Question

Post by jimhoffmann »

Is there a way to disable the Web GUI for the NCPA agent?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: NCPA Question

Post by mcapra »

Not, to my knowledge, via the configuration files. However, renaming the templates path is enough to cause the GUI to error out on every request.

In Linux, this path: /usr/local/ncpa/listener/templates
In Windows, this path: C:\Program Files (x86)\Nagios\NCPA\listener\templates
Former Nagios employee
https://www.mcapra.com/
jimhoffmann
Posts: 50
Joined: Fri May 03, 2013 1:38 pm

Re: NCPA Question

Post by jimhoffmann »

So, disabling the listener service would not disable the GUI?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: NCPA Question

Post by mcapra »

It would, but it would also disable the "active checks" portion of NCPA. From here:
https://www.nagios.org/ncpa/help.php
The NCPA Listener service does the following:
  • Serves and handles connections to the web GUI
  • Handles external API requests (including those for active checks)
  • Provides API for live graphing and top processes
  • Provides and "offline" internal API for the NCPA Passive service
If your NCPA setup is only doing passive checks, it would be fine to disable the listener in this case.
Former Nagios employee
https://www.mcapra.com/
Locked