Go to All Forums

how to choose a specific configuration template on server agent installation

Hello there,

we want to rollout a fleet of dozens of server agents (linux). All of them are webservers with specific process we need to monitor. We have predefined a notification and threshold profile and User groups who shall get the notifications.

Further, we added a customer configuration template. In that "mywebserver config" configuration template we assigned the above mentioned notification and threshhold profiles and user groups. Further, we added the process to monitor (apache2) and hit the checkbox Auto-discover.

For several reason, mainly because we have dozens of other linux servers, we dont want to promote this "MyWebserver" configuration template as default.

My question is now, how shall we nstall the agent on linux and make sure that the "myWebserver" configuration template is used?

thanks for your help
Markus


Like (1) Reply
Replies (3)

Hi,

You can apply common configuration profiles automatically while adding a Linux server monitor by creating a "Server Configuration Template". 

Here, you can create a template wherein you can define all configurations like threshold, notification profiles, processes, services etc. This setting will be applied while adding a new server monitor.  

Please read our documentation on this for further assistance:
Like (0) Reply

Thanks Sabari.

However, that was actually not the question. I mentioned, that I already added a custom template.

Quote: > My question is now, how shall we nstall the agent on linux and make sure that the "myWebserver" configuration template is used?

For us is automation mission crucial. It it really necessary to be able to assign this Template to a Server Monitor via API. My hope was, that we can add the template ID as an paramter due to the agent installation - or - to modify the Server Monitor as soon it has been created via installation.

Is there a Way to assign or use the configuration template via API or is only the GUI / Webinterface supported?






Like (0) Reply

You can achieve this by using the option Make Default in the configuration template window

By choosing this option, the current template will be marked as default and from then on, this configuration will be applied for all the newly added server monitors. Please find the screenshot for your reference 


Also, we will take up the option to assign the template ID via installation parameters and also through API as a feature request and update once its done.

Like (0) Reply

Was this post helpful?