Skip to content

Commit 1b98113

Browse files
authored
Update to 1.5.0p4 (viper0131#35)
README fixes (viper0131#34)
1 parent 96b2890 commit 1b98113

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM centos:7
22

33
# ARG can be overwritten on build time using "docker build --build-arg name=value"
44
# https://mathias-kettner.com/download.php
5-
ARG CMK_VERSION_ARG="1.5.0p3"
5+
ARG CMK_VERSION_ARG="1.5.0p4"
66
ARG CMK_DOWNLOADNR_ARG="38"
77
ARG CMK_SITE_ARG="mva"
88
# cmkadmin password

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
all: image
22

33
image:
4-
docker build -t nlmacamp/check_mk:1.5.0p3 -t nlmacamp/check_mk:latest .
4+
docker build -t nlmacamp/check_mk:1.5.0p4 -t nlmacamp/check_mk:latest .
55

66
cleanup:
77
-docker rmi nlmacamp/check_mk:latest
8-
-docker rmi nlmacamp/check_mk:1.5.0p3
8+
-docker rmi nlmacamp/check_mk:1.5.0p4

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# nlmacamp/check_mk:1.5.0p3
1+
# nlmacamp/check_mk:1.5.0p4
22

33
- [Introduction](#introduction)
44
- [Contributing](#contributing)
@@ -40,7 +40,7 @@ SELinux users should try disabling SELinux using the command `setenforce 0` to s
4040
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/nlmacamp/check_mk) and is the recommended method of installation.
4141

4242
```bash
43-
docker pull nlmacamp/check_mk:1.5.0p3 (or nlmacamp/check_mk:latest)
43+
docker pull nlmacamp/check_mk:1.5.0p4 (or nlmacamp/check_mk:latest)
4444
```
4545

4646
Alternatively you can build the image yourself.
@@ -51,20 +51,20 @@ docker build -t nlmacamp/check_mk github.com/viper0131/check_mk
5151

5252
### Use another version
5353

54-
If you want to change the version of check_mk, use `--build-arg CMK_VERSION_ARG=1.5.0p3 --build-arg CMK_DOWNLOADNR_ARG=38`.
54+
If you want to change the version of check_mk, use `--build-arg CMK_VERSION_ARG=1.5.0p4 --build-arg CMK_DOWNLOADNR_ARG=38`.
5555

5656
To get the version and downloadnr, go to https://mathias-kettner.com/download.php and select your version (CRE). Select Red Hat / CentOS 7.x and right click on "Download" link and select "Copy link" (or similar).
5757

5858
On clipboard you should have something like this:
5959

60-
https://<span></span>mathias-kettner.de\/support\/**1.5.0p3**\/check-mk-raw-**1.5.0p3**-el7-**38**.x86_64.rpm
60+
https://<span></span>mathias-kettner.de\/support\/**1.5.0p4**\/check-mk-raw-**1.5.0p4**-el7-**38**.x86_64.rpm
6161

6262
Generally:
6363

6464
https://<span></span>mathias-kettner.de\/support\/**<CMK_VERSION_ARG>**\/check-mk-raw-**<CMK_VERSION_ARG>**-el7-**<CMK_DOWNLOADNR_ARG>**.x86_64.rpm
6565

6666
```bash
67-
docker build -t nlmacamp/check_mk github.com/viper0131/check_mk --build-arg CMK_VERSION_ARG=1.5.0p3 --build-arg CMK_DOWNLOADNR_ARG=38
67+
docker build -t nlmacamp/check_mk github.com/viper0131/check_mk --build-arg CMK_VERSION_ARG=1.5.0p4 --build-arg CMK_DOWNLOADNR_ARG=38
6868
```
6969

7070
## Quickstart
@@ -102,10 +102,10 @@ try start your container with `--privileged` instead of `--cap-add=SYS_ADMIN`
102102

103103
You should map site directory (configuration, graphs, custom checks):
104104
```
105-
--volume <localdir>:/opt/omd/sites/<CMK_SITE>
105+
--volume <localdir>:/opt/omd/sites
106106
```
107107

108-
If you want to map a local directory (e.g. for backup or check scripts):
108+
If you want to map another local directory (e.g. for backup or check scripts):
109109

110110
```
111111
--volume <localdir>:/opt/backup
@@ -135,7 +135,7 @@ Overall state: running
135135

136136
Fireup the Check_MK GUI:
137137

138-
Browse to http://localhost/mva
138+
Browse to http://<server-ip>
139139

140140
login with the default user **cmkadmin** with password **omd** (or the pesonalized one, if specified in [Quickstart](#quickstart)).
141141

@@ -145,4 +145,4 @@ login with the default user **cmkadmin** with password **omd** (or the pesonaliz
145145

146146
1. Get your container name (`docker ps`).
147147
2. Get your desired check_mk version and his downloadnr as described in [Use another version](#use-another-version)
148-
3. Run this command (with correct container name and cmk version and downloadnr): `docker exec -it <container> /opt/update.sh <CMK_VERSION_ARG> <CMK_DOWNLOADNR_ARG>` (Ex. `docker exec -it check_mk /opt/update.sh 1.5.0p3 38`)
148+
3. Run this command (with correct container name and cmk version and downloadnr): `docker exec -it <container> /opt/update.sh <CMK_VERSION_ARG> <CMK_DOWNLOADNR_ARG>` (Ex. `docker exec -it check_mk /opt/update.sh 1.5.0p4 38`)

0 commit comments

Comments
 (0)