NCPA API Method of Data Collection

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

NCPA API Method of Data Collection

Post by meganwilliford »

For remote windows servers with NCPA, how is the data in the API populated? What exactly is the data collection method at the lowest level on the remote server?
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

Re: NCPA API Method of Data Collection

Post by meganwilliford »

One more related question, if the NCPA Listener and NCPA Passive services are disabled on the remote server would any sort of data collection still be running?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NCPA API Method of Data Collection

Post by benjaminsmith »

Hi Megan,

NCPA is an open-source program, if you'd like, you can review the source code on the GitHub page:

https://github.com/NagiosEnterprises/ncpa

The NCPA API uses python modules like psutil to query system information and run the appropriate checks on. The data is saved in a sqlite data for 30 days by default (can be changed in the main ncpa config file).

If you were to stop both the NCPA Listener and NCPA Passive services, nothing would happen and the backend GUI (Flask App) would shutdown.

Hope that helps, let me know if you need clarification on anything.

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!
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

Re: NCPA API Method of Data Collection

Post by meganwilliford »

Thank you! That is all I was looking for. You can close this thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA API Method of Data Collection

Post by scottwilkerson »

meganwilliford wrote:Thank you! That is all I was looking for. You can close this thread.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked