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
Import Host and Service Groups
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Import Host and Service Groups
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
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.
Re: Import Host and Service Groups
Okay great, I'll give it a go.
Thanks for the reply
Thanks for the reply
Re: Import Host and Service Groups
Would you like us to leave the topic open for a bit while you test this?
Former Nagios employee