Page 1 of 1

Nagios Core Database

Posted: Wed Apr 23, 2014 5:36 am
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 ?

Re: Nagios Core Database

Posted: Wed Apr 23, 2014 9:33 am
by tmcdonald
Nagios Core does not use a database; all config settings are stored on-disk in flat files.

Re: Nagios Core Database

Posted: Fri Apr 25, 2014 1:30 am
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.

Re: Nagios Core Database

Posted: Fri Apr 25, 2014 9:20 am
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...