Import Host and Service Groups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

Import Host and Service Groups

Post by ukboarder »

Hi All,

I have had a search around and haven't found an answer to this ( I think I have looked through all the pages in CCM as well but may have missed something)

Is there a way to import a list of Host groups from a text file or CSV in a similar way that we can do the Bulk Import for hosts?

I have an empty installation of XI at the moment and would like to Import a list of Business Services and Host groups from file so that they are in place when I start adding hosts etc.

Is this possible or is it a manual process to add each one?

Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Import Host and Service Groups

Post by sreinhardt »

You can do bulk importing, but not from a csv. If you were to put complete and correct configs into /usr/local/nagios/etc/import and either go through our import document, or use the reconfigure_nagios.sh script, it should import them. It may take a few steps though, as objects with missing dependencies will not be imported until those dependencies are met.
http://assets.nagios.com/downloads/nagi ... nto_XI.pdf
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
ukboarder
Posts: 19
Joined: Wed Oct 15, 2014 11:28 am
Location: England

Re: Import Host and Service Groups

Post by ukboarder »

Okay great, I'll give it a go.

Thanks for the reply
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Import Host and Service Groups

Post by tmcdonald »

Would you like us to leave the topic open for a bit while you test this?
Former Nagios employee
Locked