Skip to main content
Solved

Add service to several servers

  • June 14, 2022
  • 5 replies
  • 320 views

ensenada
Forum|alt.badge.img+7

Hello,

I need monitor a new service in several servers, if i create a new service and add all this servers to “Linked with Hosts”, i get one service linked to all this servers.

 

How can i create an individual service for each every server?

 

Thanks,

Best answer by sduret

Hello @ensenada 

It’s a good question because it’s a bad practice to link one service to many hosts.

The best way is to link a service template to a host template and deploy the services using this option:

Regards

5 replies

sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Answer
  • June 14, 2022

Hello @ensenada 

It’s a good question because it’s a bad practice to link one service to many hosts.

The best way is to link a service template to a host template and deploy the services using this option:

Regards


ensenada
Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 14, 2022

Hello @ensenada 

It’s a good question because it’s a bad practice to link one service to many hosts.

The best way is to link a service template to a host template and deploy the services using this option:

Regards

 

So the correct way its add the service template to the host template, mark “create services linked to this...”  and reboot centreon?

 

thanks

 

 

 

 

 

 

 

 


Intence-Tech
Forum|alt.badge.img+5
  • Steward **
  • June 14, 2022

You don’t have to reboot centreon, only export the configuration with this options : 
 

 


ensenada
Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 14, 2022

You don’t have to reboot centreon, only export the configuration with this options : 
 

 

Yes, sorry, i mean reload.

 

Thanks !


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • June 14, 2022

To be more specific, you will have to mark “create services linked to this...” on the related hosts, not on the host template.

By the way, it’s not possible to do it on a template.

You can use massive change on the page Configuration  >  Hosts