Thread: [Shinken-devel] The first arbiter module : import hosts from GLPI !!!!
Status: Beta
Brought to you by:
naparuba
From: nap <nap...@gm...> - 2010-09-23 12:04:39
|
Hi again all :) I just push the first version of the first arbiter module : import hosts from GLPI !!! (cf http://shinken.git.sourceforge.net/git/gitweb.cgi?p=shinken/shinken;a=commitdiff;h=95504f41c52451fc91fc59400db071ffe60d6ef7) For thom who don't know GLPI, it's a web app to manage all IT equipement like servers, routers, printers or what you want in fact. It's also a helpdesk tool (will be very interesting for future features this one ;) ). And GLPI got a plugin that is very interesting for us : webservices in xmlprc :) The arbiter module allow the administrator to get hosts from GLPI if he want to, and all theses hosts will be added to the ones in the flat files. So you can still have flat files AND GLPI if you want. Such GLPI hosts will be treated as standard hosts from flat file (inheritance, groups, etc). In fact in this first version the module only take the host_name from it, but I'll see how get more informations like network connexions for parents relations for example :) The module definition is very simple : define module{ module_name GLPIImport module_type glpi_import uri http://localhost/glpi/plugins/webservices/xmlrpc.php login_name glpi login_password glpi } And then you just need to add it in the arbiter object as module: define arbiter{ arbiter_name Arbiter-Master address localhost ;IP od DNS adress port 7770 spare 0 modules GLPIImport } We are getting closer to a 0.3 with all theses new features :D Jean |