On 2011-07-18 14:56, Francisco Martinez wrote:
Hello,
I was wondering if there's a simple interface to provision new hosts
to icinga. I'm completely new to icinga but I have some experience
with Nagios, and I guess configuration is just the same (cfg files). I
have an asset management tool that holds most of the info needed for
icinga configuration, and I'd like to know if it's easy to inject that
data into the configuration files (i.e, there's an API for it) or if
I'd need to do an script that reads the asset management database and
generates the required configuration files for icinga. Maybe icinga
doesn't have that included, but might there be some piece of software
for icinga/nagios that allows you to manipulate the cfg files *and*
provides a simple API for it?
hmmm such a config manipulation api ist not yet there, mainly for the
reason of an ideal backend. it's still the config files like you know
from nagios, and pretty much the same on the config editors and their
api. you could look into nconf or nagiosql for importing the configs
once and how they do it.
but i'd rather create a custom script merging your data and satisfying
your exact needs. we are also having our own backend for various data,
which then gets generated. if you like, take a look at checkmk and it's
meta config capabilities in python. it might be wort a shot in "not
having to generate each and everything N times".
kind regards,
michael
Thanks in advance,
Paco
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: [email protected]
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Icinga Core& IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users