For example I have a host windows with these services:
Avg. Disk sec/Transfer _Total Ok 8d 0h 57m 39s 1/5 2017-06-30 10:43:14 Avg. Disk sec/Transfer 0
CPU Usage Ok 34d 23h 53m 6s 1/5 2017-06-30 10:43:12 CPU Load 6% (5 min average)
Disk Bytes /sec C: MSSQL PCL LOGS Critical 2d 16h 55m 41s 5/5 2017-06-30 10:44:56 Disk Bytes /sec 2684346
Disk Bytes/sec _Total Critical 17d 10h 29m 16s 5/5 2017-06-30 10:43:09 Disk Bytes/sec 2569179
Drive C: Disk Usage Ok 8d 0h 57m 50s 1/5 2017-06-30 10:43:25 C:\ - total: 39.66 Gb - used: 29.11 Gb (73%) - free 10.55 Gb (27%)
Explorer Critical 1d 23h 21m 12s 5/5 2017-06-30 10:43:38 explorer.exe: not running
Logon Errors Ok 8d 1h 7m 50s 1/5 2017-06-30 10:44:01 Login Errors since last reboot is 0
Memory Usage Ok 8d 0h 57m 35s 1/5 2017-06-30 10:43:30 OK: physical: Total: 36GB - Used: 25.086GB (69%) - Free: 10.914GB (30%)
Page File Usage Ok 8d 0h 57m 31s 1/5 2017-06-30 10:43:50 Paging File usage is 0.00 %
Ping Ok 29d 22h 57m 40s 1/5 2017-06-30 10:42:29 OK - 10.161.176.75: rta 0.581ms, lost 0%
Server Work Queues Ok 8d 0h 57m 43s 1/5 2017-06-30 10:43:29 Current work queue (an indication of processing load) is 0
SQL Server Ok 8d 1h 1m 36s 1/5 2017-06-30 10:42:28 MSSQLSERVER: Started
Uptime Ok 8d 0h 57m 18s 1/5 2017-06-30 10:44:14 System Uptime - 8 day(s) 0 hour(s) 58 minute(s)
_ Avg. Disk sec/Transfer C: MSSQL PCL LOGS Critical 2d 16h 59m 52s 5/5 2017-06-30 10:41:25 Avg. Disk sec/Transfer 0
_ disk time C: Ok 2d 0h 21m 38s 1/5 2017-06-30 10:44:36 Disk Time 0
_ disk time C: MSSQL PCL DATOS1 Ok 33m 3s 1/5 2017-06-30 10:42:31 Disk Time 0
_ disk time C: MSSQL PCL DATOS2 Ok 14m 57s 1/5 2017-06-30 10:40:48 Disk Time 0
_ disk time C: MSSQL PCL DATOS3 Ok 2m 0s 1/5 2017-06-30 10:43:47 Disk Time 0
_ disk time C: MSSQL PCL DATOS4 Ok 31m 23s 1/5 2017-06-30 10:44:17 Disk Time 3
_ disk time C: MSSQL PCL LOGS Critical 36m 8s 5/5 2017-06-30 10:44:30 Disk Time 11
_ disk time C: Program Files Microsoft SQL Server Ok 4d 5h 35m 20s 1/5 2017-06-30 10:41:16 Disk Time 0
_ disk time C: usr sap DA3 Ok 1d 6h 37m 26s 1/5 2017-06-30 10:43:57 Disk Time 0
_ disk time HarddiskVolume1 Ok 8d 0h 57m 0s 1/5 2017-06-30 10:45:30 Disk Time 0
_ disk time I: Ok 8h 33m 51s 1/5 2017-06-30 10:44:27 Disk Time 0
_ disk time S: Ok 8d 0h 57m 58s 1/5 2017-06-30 10:43:07 Disk Time 0
_ disk time T: Ok 8d 0h 57m 11s 1/5 2017-06-30 10:44:59 Disk Time 0
_ disk time Total Ok 28m 40s 1/5 2017-06-30 10:41:59 Disk Time 1
But when using Bulk Host Cloning, does not allow to transfer all the services.
I use the Nagios XI 5.4.4.
What is the best way to copy multiple services from one host
Re: What is the best way to copy multiple services from one
The Bulk Host Cloning tool should work for you to copy those services.
Can you post which one of the services that did not get copied?
Another way to copy services, is to go to the Core Config Manager > Services menu and check the box on the services you want to copy.
Then, in the "With Checked" menu at the bottom, select Copy and click Go and that will make a copy.
After that, you edit have to edit them and update the settings and activate them.
Save and Apply the Config and the copied services will be saved to the running Config.
Can you post which one of the services that did not get copied?
Another way to copy services, is to go to the Core Config Manager > Services menu and check the box on the services you want to copy.
Then, in the "With Checked" menu at the bottom, select Copy and click Go and that will make a copy.
After that, you edit have to edit them and update the settings and activate them.
Save and Apply the Config and the copied services will be saved to the running Config.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: What is the best way to copy multiple services from one
So the OP's plan is to duplicate the service for each host?
It makes more sense to define the service and attach hosts--or better yet hostgroups to the service. Similarly templates should be used to remove notification intervals, run intervals, etc. from hosts and services. This way you'll have info defined in few places where it can be updated easily, not repeated over and over in many places.
It makes more sense to define the service and attach hosts--or better yet hostgroups to the service. Similarly templates should be used to remove notification intervals, run intervals, etc. from hosts and services. This way you'll have info defined in few places where it can be updated easily, not repeated over and over in many places.
Re: What is the best way to copy multiple services from one
These are some of the services that I can not clone.tgriep wrote:The Bulk Host Cloning tool should work for you to copy those services.
Can you post which one of the services that did not get copied?
Another way to copy services, is to go to the Core Config Manager > Services menu and check the box on the services you want to copy.
Then, in the "With Checked" menu at the bottom, select Copy and click Go and that will make a copy.
After that, you edit have to edit them and update the settings and activate them.
Save and Apply the Config and the copied services will be saved to the running Config.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: What is the best way to copy multiple services from one
The bulk host cloning wizard cannot copy services that are not included in the configuration with the name of the host. So if you have some services that are added by adding multiple hosts to a service or a hostgroup to the service you cannot add them via this wizard.