<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://pg.mnztech.work/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://pg.mnztech.work/dokuwiki/feed.php">
        <title>三歩あるけば物も忘れる - InfrastructureConstruction:Zabbix</title>
        <description>お腹のお肉がメタボックル</description>
        <link>https://pg.mnztech.work/dokuwiki/</link>
        <image rdf:resource="https://pg.mnztech.work/dokuwiki/_media/logo.png" />
       <dc:date>2026-04-08T12:42:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Example-LogMonitoring?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ExamplePortMonitoring?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Initialization-Server-PostgresSQL?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/InitialSettings-LinuxClient?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Introduction?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-LinuxClient?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-Server-PostgresSQL?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHost?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHostGroup?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddItem?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddTemplate?rev=1610160957&amp;do=diff"/>
                <rdf:li rdf:resource="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ZabbixConvertHTTPS?rev=1610160957&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://pg.mnztech.work/dokuwiki/_media/logo.png">
        <title>三歩あるけば物も忘れる</title>
        <link>https://pg.mnztech.work/dokuwiki/</link>
        <url>https://pg.mnztech.work/dokuwiki/_media/logo.png</url>
    </image>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Example-LogMonitoring?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>20.ログ監視例</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Example-LogMonitoring?rev=1610160957&amp;do=diff</link>
        <description>20.ログ監視例

ログ監視例１

前提

■アイテム
・監視対象ログ：/var/log/messages
・ログから抽出するワード：error

■トリガー
・障害の条件：「/var/log/messages」に「error」という文字が出力された
・復旧条件：「/var/log/messages」に「error」という文字が、60秒間出力されなかった</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ExamplePortMonitoring?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>21.ポート監視例</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ExamplePortMonitoring?rev=1610160957&amp;do=diff</link>
        <description>21.ポート監視例

ポート監視例１

前提

■アイテム
・監視対象ポート：10050(zabbix-agent)

■トリガー
・障害の条件：30秒間、10050ポートと疎通がとれなくなった
・復旧条件：10050ポートと疎通がとれた</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Initialization-Server-PostgresSQL?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>2.初期設定-サーバー-PostgresSQL</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Initialization-Server-PostgresSQL?rev=1610160957&amp;do=diff</link>
        <description>2.初期設定-サーバー-PostgresSQL

・言語を日本語に切り替えて設定する前提で記載します。
・タイムゾーンは、日本時間に設定します。

Zabbix設定画面へ接続

①下記URLにアクセスします。</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/InitialSettings-LinuxClient?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>4.初期設定-Linuxクライアント</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/InitialSettings-LinuxClient?rev=1610160957&amp;do=diff</link>
        <description>4.初期設定-Linuxクライアント

ログ監視がある場合、監視対象のログがzabbix-agentで監視できるよう設定する。

前提

・Zabbixの監視は以下のユーザで実施されるため、監視対象のログがこのユーザー/グループに読取り権限が無いと失敗してしまう。
※zabbix_agentd.confにAllowRoot設定(rootでzabbix-agentを動かす)があるが、セキュリティ観点から検討外とする。
　ユーザー：zabbix
　グループ：zabbix…</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Introduction?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>0.はじめに</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Introduction?rev=1610160957&amp;do=diff</link>
        <description>0.はじめに

前提

・AWSのEC2(RHEL8)にZabbixを構築する前提で構築手順を記載しています。

環境概要

・OS：RHEL8.3
・zabbix：5.0LST
・Web：Apache2.4
・DB：PostgresSQL13

Zabbixの構成/概要

&lt;https://blog.serverworks.co.jp/tech/2016/12/24/zabbix_start-basic/&gt;
上記サイトに以下の情報などが分かりやすく纏まっています。(Zabbixのシステム構成、Zabbixの設定構成、Zabbixとテンプレート、アクション概要・・・など)
一度読んでから設計/設定するとスムーズにできると思います。Zabbix index…</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-LinuxClient?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>3.環境準備-Linuxクライアント</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-LinuxClient?rev=1610160957&amp;do=diff</link>
        <description>3.環境準備-Linuxクライアント

パッケージのインストール

Zabbixリポジトリを設定する



zabbix-agentのインストール/起動/有効化



zabbix-agentの設定

zabbix-agent設定ファイルの主な変更項目について記載する。
各設定値の詳細説明は下記URLを参照すること。
日本語訳はバージョンが古いので、不足している項目は英語版で確認すること。</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-Server-PostgresSQL?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>1.環境準備-サーバー-PostgresSQL</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Preparation-Server-PostgresSQL?rev=1610160957&amp;do=diff</link>
        <description>1.環境準備-サーバー-PostgresSQL

前提パッケージのインストール

DB(PostgresSQL13)のインストール

下記を参考に初期設定まで終わらせる。
インフラ構築/PostgresSQL/1.インストール

Web(Apache)のインストール



PHPのインストール



Zabbixパッケージのインストール</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHost?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>12.ZabbixGUI-ホスト登録</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHost?rev=1610160957&amp;do=diff</link>
        <description>12.ZabbixGUI-ホスト登録

設定で気が付いた点があれば随時アップデートします。

前提

ここでは登録手順のみ記載します。

ホスト登録

①[設定]-[ホスト]をクリックします。
②ホスト画面が開くので、右上の[ホストの作成]をクリックします。</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHostGroup?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>10.ZabbixGUI-ホストグループ登録</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddHostGroup?rev=1610160957&amp;do=diff</link>
        <description>10.ZabbixGUI-ホストグループ登録

ホストグループはホストやテンプレートをまとめたグループです。
設定で気が付いた点があれば随時アップデートします。

ホストグループ登録

&lt;https://www.zabbix.com/documentation/2.2/jp/manual/web_interface/frontend_sections/configuration/hostgroups&gt;
①[設定]-[ホストグループ]をクリックします。
②ホストグループ画面が開くので、右上の[ホストグループの作成]をクリックします。…</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddItem?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>13.ZabbixGUI-アイテム登録</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddItem?rev=1610160957&amp;do=diff</link>
        <description>13.ZabbixGUI-アイテム登録

設定で気が付いた点があれば随時アップデートします。

前提

ここでは登録手順のみ記載します。

ホスト登録

①[設定]-[ホスト]をクリックします。
②ホスト画面が開くので、右上の[アイテム]をクリックします。</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddTemplate?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>11.ZabbixGUI-テンプレート登録</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/Zabbix-AddTemplate?rev=1610160957&amp;do=diff</link>
        <description>11.ZabbixGUI-テンプレート登録

監視設定(アイテム、トリガー、グラフなど)をまとめた枠組みになります。
設定で気が付いた点があれば随時アップデートします。

テンプレート登録

&lt;https://www.zabbix.com/documentation/2.2/jp/manual/config/templates/template&gt;

①[設定]-[テンプレート]をクリックします。
②ホスト画面が開くので、右上の[テンプレートの作成]をクリックします。</description>
    </item>
    <item rdf:about="https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ZabbixConvertHTTPS?rev=1610160957&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-09T02:55:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>5.Zabbixをhttps化する</title>
        <link>https://pg.mnztech.work/dokuwiki/InfrastructureConstruction/Zabbix/ZabbixConvertHTTPS?rev=1610160957&amp;do=diff</link>
        <description>5.Zabbixをhttps化する

Zabbixをhttps化する手順を記載する。

https化手順

mod_sslのインストール



秘密鍵とサーバ証明書の作成



ssl.confの編集



変更前：ハイライト行を変更する



変更後：ハイライト行を変更する</description>
    </item>
</rdf:RDF>
