How to upgrade windows/linux agents running with Raw Edition 1.6 to 2.0

Hi Team,

GoodMorning.

I am clear to upgrade the checkmk server from 1.6 Raw Edition to 2.0 but my query is how to upgrade the monitored hosts/agents from 1.6 to 2 .0 Raw Edition

BR
//Prachi

Hi,

Well, from what I know the CRE edition will not let you distribute the agent from the server itself. That’s something for the EE version.

But, what you can do is setup something like puppet to manage your client installation. That’s what I did. Whenever I need to upgrade the clients, I just put the new version on the puppet server and in 30 minutes or less all my clients are updated.

1 Like

oki yeah puppet is a configuration management tool, so do you first uninstall the old check_mk version through puppet from the agents or directly install the updated version without removing the old version.

You can install the new version without deinstalling the old one. The installer will take care of this.

Okay, Thank you so much

Hi @PrachiKatakwar

I have no experience with puppet but I just wanted to add, that I like to
use ansible to update our agents for our CRE instances, because it
works agentless: I only need to distribute ssh keys. This way I can update all
my hosts with either a playbook or - if I’m in a hurry and don’t want to write one - even
with two or three ad-hoc commands. This is also an easy way to distribute
plugins (e.g. mk_inventory) to all hosts.

Another technique I use, is that I have a repository server on
a given site I support (note: I mainly use RHEL/CentOS). So I have
created a dedicated YUM repository, containing only agents, which is included on every
host. If a new agent exists, I simply copy it to our repository server,
and then I yum -y update check-mk-agent all of them: Done.

Regards,
Thomas

2 Likes

ansible +1 :wink:
or better buy a licencse to use the bakery
Ralf

1 Like

I use Puppet too for that :slight_smile:

1 Like

Thank you Team, it worked well:)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.