Page 1 of 1

NCPA Question

Posted: Fri Feb 17, 2017 3:41 pm
by jimhoffmann
Is there a way to disable the Web GUI for the NCPA agent?

Re: NCPA Question

Posted: Mon Feb 20, 2017 10:24 am
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

Re: NCPA Question

Posted: Mon Feb 20, 2017 3:02 pm
by jimhoffmann
So, disabling the listener service would not disable the GUI?

Re: NCPA Question

Posted: Mon Feb 20, 2017 3:33 pm
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.