@@ -65,14 +65,14 @@ You can download these files via the browser or use `wget` or `curl` to download
6565
6666[{shell-raw}]
6767----
68- {c-root} wget http://mycmkserver/mysite/check_mk/agents/check-mk-agent-2.2.0b1 -1.noarch.rpm
68+ {c-root} wget http://mycmkserver/mysite/check_mk/agents/check-mk-agent-{current} -1.noarch.rpm
6969----
7070
7171On RHEL, SLES and related distributions, the RPM package is installed as `root` with the command `rpm -U`:
7272
7373[{shell}]
7474----
75- {c-root} rpm -U check-mk-agent-2.2.0b1 -1.noarch.rpm
75+ {c-root} rpm -U check-mk-agent-{current} -1.noarch.rpm
7676----
7777
7878By the way, the `-U` option stands for 'update' but it can also perform an initial installation correctly.
@@ -81,11 +81,11 @@ The installation of the DEB package on Debian, Ubuntu or related distributions i
8181
8282[{shell}]
8383----
84- {c-root} dpkg -i check-mk-agent_2.2.0b1 -1_all.deb
84+ {c-root} dpkg -i check-mk-agent_{current} -1_all.deb
8585(Reading database ... 739920 files and directories currently installed.)
86- Preparing to unpack .../check-mk-agent_2.2.0b1 -1_all.deb ...
87- Unpacking check-mk-agent (2.2.0b1 -1) ...
88- Setting up check-mk-agent (2.2.0b1 -1) ...
86+ Preparing to unpack .../check-mk-agent_{current} -1_all.deb ...
87+ Unpacking check-mk-agent ({current} -1) ...
88+ Setting up check-mk-agent ({current} -1) ...
8989----
9090
9191
@@ -103,7 +103,7 @@ We also use `--no-overwrite-dir` so that permissions for already existing direct
103103
104104[{shell-raw}]
105105----
106- {c-root} tar -C / --no-overwrite-dir -xvf /tmp/check-mk-agent_2.2.0b1 .tar.gz
106+ {c-root} tar -C / --no-overwrite-dir -xvf /tmp/check-mk-agent_{current} .tar.gz
107107----
108108
109109If you have done everything correctly, the agent script should now simply be executable as a command and produce its typical output.
@@ -113,7 +113,7 @@ The `|{nbsp}head` truncates everything following the 11th line of output:
113113----
114114{c-root} check_mk_agent | head
115115<<<check_mk>>>
116- Version: 2.2.0b1
116+ Version: {current}
117117AgentOS: linux
118118Hostname: mycmkserver
119119AgentDirectory: /etc/check_mk
@@ -160,7 +160,7 @@ The `|{nbsp}head` truncates everything following the 10th line of output:
160160----
161161{c-root} check_mk_agent | head
162162<<<check_mk>>>
163- Version: 2.2.0b1
163+ Version: {current}
164164AgentOS: linux
165165Hostname: mycmkserver
166166AgentDirectory: /etc/check_mk
@@ -360,7 +360,7 @@ Now you can connect with `telnet` or `nc` (`netcat`) on TCP port 6556 -- first f
360360----
361361{c-omd} nc 12.34.56.78 6556
362362<<<check_mk>>>
363- Version: 2.2.0b1
363+ Version: {current}
364364AgentOS: linux
365365Hostname: myhost123
366366AgentDirectory: /etc/check_mk
@@ -506,7 +506,7 @@ The authenticity of host 'myhost23 (10.11.12.13)' can't be established.
506506ECDSA key fingerprint is SHA256:lWgVK+LtsMgjHUbdsA1FK12PdmVQGqaEY4TE8TEps3w.
507507Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
508508<<<check_mk>>>
509- Version: 2.2.0b1
509+ Version: {current}
510510AgentOS: linux
511511Hostname: myhost123
512512AgentDirectory: /etc/check_mk
0 commit comments