ncpa.db install location

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

ncpa.db install location

Post by gwakem »

Hi all! Is there currently a way to specify the install/current location of the ncpa.db on the Linux agent side?
--
Griffin Wakem
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: ncpa.db install location

Post by benjaminsmith »

Hi,

There isn't an option to specify a different path in the main configuration file (ncpa.cfg), the path is hard coded in the database.py script. A couple of options:

1. Submit an enhancement request on th GitHub site for NCPA
https://github.com/NagiosEnterprises/ncpa

2. Try modifying the path in the source code, and build it on your system.
https://github.com/NagiosEnterprises/nc ... g-on-linux

Also, just curious, what are the requirements for moving the file?

Let us know if you have any questions or need further assistance.

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!
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Re: ncpa.db install location

Post by gwakem »

This question stemmed from an inquiry from one of my engineers after the ncpa.db ballooned to 2.1GB, even with the default 30 day retention. I did adjust it to 7 days, but the engineer in question is passionate about where specific items are placed in accordance with LSB. The change of retention should keep this off his radar and in effect keep him happy, so thank you for the information. This can be locked.
--
Griffin Wakem
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ncpa.db install location

Post by scottwilkerson »

gwakem wrote:This question stemmed from an inquiry from one of my engineers after the ncpa.db ballooned to 2.1GB, even with the default 30 day retention. I did adjust it to 7 days, but the engineer in question is passionate about where specific items are placed in accordance with LSB. The change of retention should keep this off his radar and in effect keep him happy, so thank you for the information. This can be locked.
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked