Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker appliance is decommissioned #21

Closed
paalbra opened this issue Jan 29, 2021 · 3 comments · Fixed by #22
Closed

Docker appliance is decommissioned #21

paalbra opened this issue Jan 29, 2021 · 3 comments · Fixed by #22
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@paalbra
Copy link
Contributor

paalbra commented Jan 29, 2021

https://hub.docker.com/r/zabbix/zabbix-appliance

Important information:_ Zabbix Docker Appliance image has been decommissioned and will not be available for 3.0.31, 4.0.19, 4.4.7, 5.0.0 and newer releases. Please use a separate Docker image for each component instead of the all-in-one solution.

The "quick start" in the README needs to be updated.

@paalbra paalbra added the documentation Improvements or additions to documentation label Jan 29, 2021
@paalbra paalbra self-assigned this Jan 29, 2021
@paalbra
Copy link
Contributor Author

paalbra commented Feb 3, 2021

podman kube play would be nice, but it's currently broken in the latest/stable release containers/podman#8608

@mbakke
Copy link
Contributor

mbakke commented Feb 6, 2021

I'm not sure how useful this is, but here is a Guix OS definition that produces an all-in-one VM with zac, zabbix-cli, and Zabbix 5.2.3. It assumes that a zac-config directory (with config.ini etc) exists next to zac.scm:

https://gist.github.com/mbakke/bae11462a5a9c84ea27218f340d14999

(Note: it depends on the guix-uio channel)

It can be used with guix system vm zac.scm, which returns a QEMU script for a volatile VM, i.e.:

$(guix system vm zac.scm) -m 2g -smp 2 -enable-kvm -vga virtio

GNU Guix runs on any distro, but may be a little overkill just for testing zabbix-auto-config...

The configuration can be adapted to work with guix system docker-image and published as a CI job perhaps?

@paalbra
Copy link
Contributor Author

paalbra commented Feb 7, 2021

I'm not familiar with Guix myself. I have this that works with podman (but it got broken i 2.2.x).

I expect that this will work once more in a 2.2.2 or 3.0 release.

---
apiVersion: v1
kind: Pod
metadata:
  name: zabbix
spec:
  containers:
    - image: docker.io/zabbix/zabbix-web-nginx-pgsql:latest
      name: zabbix-web-nginx
      env:
        - name: DB_SERVER_HOST
          value: 127.0.0.1
        - name: PHP_TZ
          value: Europe/Oslo
        - name: POSTGRES_DB
          value: zabbix
        - name: POSTGRES_PASSWORD
          value: secret
        - name: POSTGRES_USER
          value: zabbix
        - name: ZBX_SERVER_HOST
          value: 127.0.0.1
      ports:
        - containerPort: 8080
          hostPort: 8080
          protocol: TCP
    - image: docker.io/library/postgres:latest
      name: postgres
      env:
        - name: POSTGRES_DB
          value: zabbix
        - name: POSTGRES_PASSWORD
          value: secret
        - name: POSTGRES_USER
          value: zabbix
      ports:
        - containerPort: 5432
          hostPort: 5432
          protocol: TCP
    - image: docker.io/zabbix/zabbix-server-pgsql:latest
      name: zabbix-server
      env:
        - name: DB_SERVER_HOST
          value: 127.0.0.1
        - name: POSTGRES_DB
          value: zabbix
        - name: POSTGRES_PASSWORD
          value: secret
        - name: POSTGRES_USER
          value: zabbix
    restartPolicy: Never

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants