Nagios Core Database

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Nagios Core Database

Post by lafargeuser »

How do I check nagios core Database ?

Because I dont see nagios database when I run
SHOW DATABASES;


What is default nagios core database is it Mysql / Posgresql ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Core Database

Post by tmcdonald »

Nagios Core does not use a database; all config settings are stored on-disk in flat files.
Former Nagios employee
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Nagios Core Database

Post by lafargeuser »

Thanks. As I was not aware of that.

But is there any possibilities I can see those config settings which stored on-disk in flat files.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Core Database

Post by slansing »

Yes you can, it is shown in almost every document that requires you to edit nagios configs, take a look at this page...:

http://nagios.sourceforge.net/docs/3_0/toc.html

If you have set up any hosts, services, groups, contacts, etc, you would have been editing those files...
Locked