Saving nagios configuration to the 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
ankur.trapasiya
Posts: 2
Joined: Wed May 09, 2012 4:59 am

Saving nagios configuration to the database.

Post by ankur.trapasiya »

I have been using nagious to monitor my servers. So to make configuration easy i want to make a GUI app in which i can set the configuration parameters and save them in the database. So my configuration files will be generated from this database by the custom logic written by me for it. Which configuration management database is most suitable for my application ? I used oneCMDB but it is not a standard database which i can use for my GUI app so i am looking for the alternatives which can serve my purpose.

Thanks in advance.....
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Saving nagios configuration to the database.

Post by mguthrie »

Why not just use nconf or nagiosql? These projects have been around for several years and already do what you're looking for.

http://exchange.nagios.org/directory/Ad ... nf/details
http://exchange.nagios.org/directory/Ad ... QL/details

I've also been working on the Nagios CCM, which is a fork of NagiosQL.
http://labs.nagios.com/2012/04/13/nagio ... full-beta/
Believe me when I tell you that you don't want to start from scratch on this project. Use someone elses unless you absolutely need to write your own.
ankur.trapasiya
Posts: 2
Joined: Wed May 09, 2012 4:59 am

Re: Saving nagios configuration to the database.

Post by ankur.trapasiya »

Thanks for reply. I am using NConf for my requirements. :-)
Locked