[racktables-users] Re: Automatic insertions of servers in the db

  • From: Erik Weber <twiztar@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 14 Sep 2010 09:46:09 +0200

On Mon, Sep 13, 2010 at 7:38 PM,  <abdelmounhim@xxxxxxx> wrote:
> Hi all,
> We are using in my entreprise racktables since few months, and this product 
> is really great. We would like to add directly (by script) several objects 
> (for example servers that are in fact virtual machines). Has someone succeed 
> to do this, or do you insert your servers in racktables one by one ?
>
> What would be also great is to be able to update or to delete servers 
> automatically.
>
> For information, i tried some sql queries, but it seems not so easy.

See if commitAddObject() does the work for you. You'll have to include
inc/init.php to access it.

-- 
Erik

Other related posts: