No announcement yet.

Inserting directly into the db

  • Filter
  • Time
  • Show
Clear All
new posts

  • Inserting directly into the db

    I finally got all my host and service templates linked correctly and creating a new host (with linked service templates) works great now, thanks! My next problem is that I have a large number of hosts I want added, and this is simply too many to do by hand. What I'm looking to do is insert records directly into the DB instead of going through the UI.

    So the question is, if I wanted to do such a thing (the hosts would be assigned host templates which would need to inherit the respective services), what/where would I insert records? I tried simply adding an identical line in the host table, but that didn't work (the host show up in the list, but the name, ip, etc didn't propagate, and no services were linked upon export). Anyone have any ideas?