How do I use SSH key from the docker container?
Hey all
I've been using stor2rrd for some time now, just installed on a webserver.
I want to move it to our docker environment.
We have some StorWize SAN's, and the old stor2rrd used the SSH keys to authenticate to it.
So first I created a docker-compose like this:
...
stor2rrd-test:
image: xorux/stor2rrd
restart: always
volumes:
- stor2rrd:/home
- /dockercompose/stor2rrd/keys/:/home/stor2rrd/.ssh
nginx:
image: nginx
ports:
- "443:443"
- "80:80"
volumes:
- /dockercompose/nginx/:/etc/nginx/
restart: unless-stopped
volumes:
stor2rrd:
This way I can keep the ssh keys outside the docker container for easy updating.
But how about the cronjobs? Do I need to activate them like the old setup?
The connection check says 'all good' but I don't see any graphs showing up?
Comments
-
Ok, so it just took a while for it to appear, all good on that part then.
Now I need to figure out about the email part that doesn't seem to work yet :-)
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle