nagios nrpe-server 无法在 Docker 上工作 Windows
nagios nrpe-server not working on Docker for Windows
我正在尝试使用 nrpe 部署一个容器。这是我的 docker-compose.yml
文件:
nrpe-server:
image: binfalse/nrpe-server:full
container_name: dr_nrpe_server
ports:
- "5666:5666"
volumes:
- $nrpe_cfg_volume
- $nrpe_plugins_volume
environment:
SSL: "no"
PORT: 5666
ALLOWEDHOSTS: "192.168.1.34"
logging:
driver: syslog
options:
tag: docker/nrpe-server
我正在尝试对我的 Windows 10 Bash (Ubuntu) 执行 docker-compose up
,但出现以下错误:
Creating dr_nrpe_server ... error
ERROR: for dr_nrpe_server Cannot start service nrpe-server: failed to initialize logging driver: Unix syslog delivery error
ERROR: for nrpe-server Cannot start service nrpe-server: failed to initialize logging driver: Unix syslog delivery error
ERROR: Encountered errors while bringing up the project.
有什么想法吗?
试试这个定义 docker-compose:
nrpe-server:
image: binfalse/nrpe-server:full
container_name: dr_nrpe_server
ports:
- "5666:5666"
volumes:
- $nrpe_cfg_volume
- $nrpe_plugins_volume
environment:
SSL: "no"
PORT: 5666
ALLOWEDHOSTS: "192.168.1.34"
logging:
options:
tag: docker/nrpe-server
我删除了带有日志记录驱动程序的行。您的 Docker 将为此使用您的默认设置。
我正在尝试使用 nrpe 部署一个容器。这是我的 docker-compose.yml
文件:
nrpe-server:
image: binfalse/nrpe-server:full
container_name: dr_nrpe_server
ports:
- "5666:5666"
volumes:
- $nrpe_cfg_volume
- $nrpe_plugins_volume
environment:
SSL: "no"
PORT: 5666
ALLOWEDHOSTS: "192.168.1.34"
logging:
driver: syslog
options:
tag: docker/nrpe-server
我正在尝试对我的 Windows 10 Bash (Ubuntu) 执行 docker-compose up
,但出现以下错误:
Creating dr_nrpe_server ... error
ERROR: for dr_nrpe_server Cannot start service nrpe-server: failed to initialize logging driver: Unix syslog delivery error
ERROR: for nrpe-server Cannot start service nrpe-server: failed to initialize logging driver: Unix syslog delivery error
ERROR: Encountered errors while bringing up the project.
有什么想法吗?
试试这个定义 docker-compose:
nrpe-server:
image: binfalse/nrpe-server:full
container_name: dr_nrpe_server
ports:
- "5666:5666"
volumes:
- $nrpe_cfg_volume
- $nrpe_plugins_volume
environment:
SSL: "no"
PORT: 5666
ALLOWEDHOSTS: "192.168.1.34"
logging:
options:
tag: docker/nrpe-server
我删除了带有日志记录驱动程序的行。您的 Docker 将为此使用您的默认设置。