Hi,
We have implemented Nagios Core 4.4.3 on RHEL 7.5. May i know what's the DB used by Nagios core. Does it has any embedded DB to store the events, nodes, etc ?
And does the NCPA agent on the monitored nodes uses any light weight DB ?
Thanks,
Ram.
Database used by Nagios Core
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Database used by Nagios Core
Hello Ram,
By default, Nagios Core does not use any database and the NCPA agent uses a SQLite database.
Let us know if you have any other questions.
By default, Nagios Core does not use any database and the NCPA agent uses a SQLite database.
Let us know if you have any other questions.
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: Database used by Nagios Core
Hi Benjaminsmith,
Thanks for the response. If the Nagios core does not use any database, where does the status change events and object definitions are stored in the backend ?
Can you please elaborate on this..
Thanks,
Ram.
Thanks for the response. If the Nagios core does not use any database, where does the status change events and object definitions are stored in the backend ?
Can you please elaborate on this..
Thanks,
Ram.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Database used by Nagios Core
Hello Ram,
You'll find this data in the following directory. The status.dat file is used to store the current status, comment, and downtime information. Historical data is found in the nagios.log file.
All of the configuration data is stored in text files in the following directory.
You'll find this data in the following directory. The status.dat file is used to store the current status, comment, and downtime information. Historical data is found in the nagios.log file.
Code: Select all
/usr/local/nagios/var
Code: Select all
/usr/local/nagios/etc
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: Database used by Nagios Core
Thanks, Does it mean Nagios core doesn't support any external database type of architecture for storage of configuration and events ?
Does Nagios maintains all data as flat files instead of having dedicated database. Please advise if my understanding is correct.
Thanks,
Ram.
Does Nagios maintains all data as flat files instead of having dedicated database. Please advise if my understanding is correct.
Thanks,
Ram.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Database used by Nagios Core
Hi Ram,
There are two addons for Nagios Core for external databases.
Ndoutils
This application will write event data to a MySQL database.
https://exchange.nagios.org/directory/A ... ls/details
https://assets.nagios.com/downloads/nag ... OUtils.pdf
NagiosQL
Used to manage configurations from the web interface. However, config files are still written out to text files and loaded into Nagios core memory.
https://exchange.nagios.org/directory/A ... QL/details
There are two addons for Nagios Core for external databases.
Ndoutils
This application will write event data to a MySQL database.
https://exchange.nagios.org/directory/A ... ls/details
https://assets.nagios.com/downloads/nag ... OUtils.pdf
NagiosQL
Used to manage configurations from the web interface. However, config files are still written out to text files and loaded into Nagios core memory.
https://exchange.nagios.org/directory/A ... QL/details
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!