Copy hostgroup from one NagiosXI into other - all thru UI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagwindmon
Posts: 92
Joined: Mon Dec 01, 2014 3:39 pm

Copy hostgroup from one NagiosXI into other - all thru UI

Post by nagwindmon »

Team,
Just a quick question: I'm in urgent need to clone one HostGroup (with about 900 hosts in it) from NagiosXI Server 1 into Server 2.
Can this be all accomplish from UI?
Thanks!
kyang

Re: Copy hostgroup from one NagiosXI into other - all thru U

Post by kyang »

Do you have the same hosts on the XI server 2? If not you will run into errors if Nagios can't find the same exact hosts listed in the host group when you place it into your XI server 2.
nagwindmon
Posts: 92
Joined: Mon Dec 01, 2014 3:39 pm

Re: Copy hostgroup from one NagiosXI into other - all thru U

Post by nagwindmon »

I do not. Sorry, if I wasn't clear: server # 2 does not have neither, not that particular hostgroup or hosts. That would be a new hostgroup along with those hosts copied from server #1.
kyang

Re: Copy hostgroup from one NagiosXI into other - all thru U

Post by kyang »

Otherwise, if you did have all of the hosts set up in server 2, then you could copy the hostgroup from server 1 to server 2.

If you go to XI Home --> Configure --> Core Config Manager --> Host groups --> (Find the host group you want and click on the blue disk under the actions field)

This should allow you to view the config, and you can just select the host group by highlighting and copy it over to your other Nagios XI server.

Put it into the hostgroups.cfg

Code: Select all

/usr/local/nagios/etc/hostgroups.cfg
Then use the import config files prep tool, and then apply the update (Documentation listed below)

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Locked