ncpa.db install location
ncpa.db install location
Hi all! Is there currently a way to specify the install/current location of the ncpa.db on the Linux agent side?
--
Griffin Wakem
Griffin Wakem
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: ncpa.db install location
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: ncpa.db install location
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
Griffin Wakem
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ncpa.db install location
Locking threadgwakem 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.