0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

DockerでNagiosをインストール

Last updated at Posted at 2023-08-11

目的

Nagiosを構築する際にDockerを用いたいと考えた。今回はインストール、ログインだけを行う。

構築

docker-compose.yml

version: '3.3'
services:
    nagios:
        container_name: nagios4
        volumes:
            - '/opt/nagios/etc/:/opt/nagios/etc/'
        ports:
            - '7070:80'
        image: 'jasonrivers/nagios:latest'

ログイン

User: nagiosadmin
Pass: nagios
image.png

設定ファイル

/orig/etc配下に存在する

root@11b67ad600f6:/orig/etc# ls
cgi.cfg  conf.d  monitor  nagios.cfg  nsca.cfg  objects  resource.cfg  send_nsca.cfg
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?