<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Uğur YILMAZ on Medium]]></title>
        <description><![CDATA[Stories by Uğur YILMAZ on Medium]]></description>
        <link>https://medium.com/@ugurylm?source=rss-1f1d680b5363------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uXt4m4f3IgtkvjmZe5Tn9w.jpeg</url>
            <title>Stories by Uğur YILMAZ on Medium</title>
            <link>https://medium.com/@ugurylm?source=rss-1f1d680b5363------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:38:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ugurylm/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Zabbix + Claude API ile AIOps: Geleneksel Monitoring’i Akıllı Sisteme Dönüştürmek]]></title>
            <link>https://medium.com/@ugurylm/zabbix-claude-api-ile-aiops-geleneksel-monitoringi-ak%C4%B1ll%C4%B1-sisteme-d%C3%B6n%C3%BC%C5%9Ft%C3%BCrmek-3cff5a11cd84?source=rss-1f1d680b5363------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cff5a11cd84</guid>
            <dc:creator><![CDATA[Uğur YILMAZ]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 19:03:52 GMT</pubDate>
            <atom:updated>2026-03-16T19:03:52.517Z</atom:updated>
            <content:encoded><![CDATA[<p>Geleneksel monitoring sistemleri alarm üretir. AIOps ise bu alarmları analiz eder, kök neden bulur ve çözüm önerir.</p><p>Bu yazıda Zabbix’i Claude API ile entegre ederek; kök neden analizi yapan, runbook öneren, disk dolma tarihi tahmin eden ve Telegram’dan doğal dil ile sorulara cevap veren bir AIOps sistemi nasıl kurulur adım adım anlatacağım.</p><p>Projenin tüm kaynak koduna GitHub üzerinden erişebilirsiniz: <a href="https://github.com/ugurylm/zabbix-claude-monitor"><strong>https://github.com/ugurylm/zabbix-claude-monitor</strong></a></p><h3>Sistem Mimarisi</h3><pre>Zabbix API<br>    ↓ (her 5 dakika)<br>monitor.py (Python)<br>    ├── Host UP/DOWN kontrolü<br>    ├── Metrik toplama (CPU/RAM/Disk/Network/Servis/Process)<br>    ├── Baseline güncelleme<br>    ├── Disk dolma tahmini<br>    └── Korelasyon analizi<br>         ↓<br>    Claude API (claude-haiku)<br>         ├── Saat bazlı anomali analizi<br>         ├── Kök neden tespiti<br>         └── Runbook üretimi<br>              ↓<br>         Telegram Bot<br>              └── Alarm / Rapor / Komut cevabı</pre><h3>Özellikler</h3><ul><li><strong>Akıllı Alarm Analizi</strong> — Her alarm için kök neden, risk seviyesi ve adım adım runbook</li><li><strong>Saat Bazlı Anomali</strong> — “Gece 03:00&#39;da CPU %80 — bu saatte normalde %10 olmalı”</li><li><strong>Baseline Karşılaştırma</strong> — Geçmiş ölçümlerle otomatik karşılaştırma</li><li><strong>Korelasyon Tespiti</strong> — Birden fazla cihaz aynı anda etkileniyorsa ortak kök neden</li><li><strong>Disk Dolma Tahmini</strong> — “X gün sonra dolar” tahmini 🔴🟠🟡</li><li><strong>Haftalık Kapasite Raporu</strong> — Her Pazartesi 08:00&#39;da otomatik</li><li><strong>Telegram Bot</strong> — /sor, /durum, /diskler, /problemler, /rapor komutları</li></ul><h3>Ön Gereksinimler</h3><h3>1. Claude API Key Oluşturma</h3><p>Claude API ücretlidir. Başlangıç için <strong>5$</strong> yüklemek yeterlidir. Ödeme sonrası hesabın aktif olması yaklaşık 1 saat sürebilir, biraz beklemenizde fayda var.</p><p><strong>console.anthropic.com</strong> adresine kayıt olun. Giriş yaptıktan sonra <strong>API Keys</strong> sekmesine tıklayarak yeni bir key oluşturun.</p><blockquote><em>⚠️ API key yalnızca bir kez ekranda görünür, mutlaka güvenli bir yere kaydedin.</em></blockquote><h3>2. Telegram Bot Oluşturma</h3><p>Telegram’da <strong>@BotFather</strong> resmi hesabına gidin:</p><ol><li>/start yazın</li><li>/newbot yazın</li><li>Bot için bir isim girin (örnek: ZabbixMonitor)</li><li>Bot kullanıcı adı girin, bot ile bitmeli (örnek: zabbixmonitor_bot)</li><li>BotFather size <strong>Bot Token</strong> verecek — kopyalayın</li></ol><p><strong>Chat ID almak için:</strong> Telegram’da <strong>@userinfobot</strong> a yazın. Your user ID: 123456789 şeklinde ID&#39;nizi verecek.</p><h3>3. Zabbix API Token Oluşturma</h3><p>Zabbix sol menüden:</p><p>Users → API tokens → Create API token</p><p>Status’u <strong>Enabled</strong> olarak ayarlayın ve token’ı kopyalayın.</p><h3>Kurulum (Docker)</h3><p>Bu proje Docker üzerinde çalışmaktadır.</p><h3>1. Repo’yu İndirin</h3><pre>git clone https://github.com/ugurylm/zabbix-claude-monitor</pre><pre>cd zabbix-claude-monitor</pre><h3>2. .env Dosyasını Oluşturun</h3><pre>cp .env.example .env</pre><p>.env dosyasını düzenleyin:</p><pre>ZABBIX_URL=http://ZABBIX_IP/zabbix<br>ZABBIX_TOKEN=zabbix_api_token<br>TELEGRAM_TOKEN=telegram_bot_token<br>TELEGRAM_CHAT_ID=telegram_chat_id<br>ANTHROPIC_API_KEY=sk-ant-xxxxx</pre><h3>3. Docker Ağını Kontrol Edin</h3><p>Container’ın Zabbix ile aynı Docker ağında olması gerekiyor:</p><pre>docker network ls</pre><p>Çıktıda Zabbix’in ağını bulun ve docker-compose.yml içinde güncelleyin:</p><pre>networks:<br>  zabbix-net:<br>    external: true<br>    name: zabbix-docker_zabbix-net  # kendi ağ adınızla değiştirin</pre><h3>4. Başlatın</h3><pre>docker-compose up -d</pre><pre>docker logs zabbix-claude-monitor -f</pre><p>Telegram’a şu mesaj gelirse kurulum tamamdır ✅</p><p>Zabbix Claude Monitor aktif!</p><h3>Telegram Komutları</h3><p>Komut Açıklama/sor sunucular nasıl? Gerçek Zabbix verisiyle Claude cevaplar/durum Tüm sistemin anlık özeti/diskler Disk dolma tahmin tablosu/problemler Aktif problem listesi/rapor Kapasite planlama raporu/yardim Komut listesi</p><h3>Örnek Telegram Görüntüleri</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*LD74wK9ipP-nFvWds0OOdA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*mG6E1dSJoBOo2kjWCNdvqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*mBVaZ8OCHjBEtfGO7QNaWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*P0_nskv-9NzdYsa5MCPsIw.png" /></figure><h3>Örnek Telegram Mesajları</h3><p><strong>Alarm + Runbook:</strong></p><pre>🔴 YÜKSEK CPU - web-server-01<br>Cihaz: web-server-01 | OS: Linux<br>Değer: %94 | Normal: %23<br>Anomali: İş saatlerinde ani spike - bu saatte %25 olmalı<br>Kök Neden: Apache worker process tıkanması<br>Risk: Orta<br>Runbook:<br>  1. ps aux --sort=-%cpu | head -10<br>  2. systemctl status apache2<br>  3. Devam ederse: systemctl restart apache2</pre><p><strong>Disk Uyarısı:</strong></p><pre>🟠 DISK DOLMA UYARISI<br>Cihaz: db-server-01<br>Disk: /var/lib/mysql<br>Doluluk: %78 | Artış: %2.3/gün<br>Tahmini dolma: 15.04.2026 (9.5 gün)<br>Çözüm: Disk temizle veya kapasite artır</pre><p><strong>Korelasyon:</strong></p><pre>KORELASYON TESPİT EDİLDİ<br>Etkilenen: web-01, web-02, web-03<br>Ortak Sorun: Yüksek CPU<br>Muhtemel Kök Neden: Shared database yük altında<br>Öncelikli Aksiyon: DB sorgu loglarını kontrol et</pre><h3>Kaynak Kod</h3><p>GitHub: <a href="https://github.com/ugurylm/zabbix-claude-monitor"><strong>https://github.com/ugurylm/zabbix-claude-monitor</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cff5a11cd84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zabbix ile Active Directory Güvenlik Olaylarını İzleme
 (Logon, Logoff, Kullanıcı & Bilgisayar…]]></title>
            <link>https://medium.com/@ugurylm/zabbix-ile-active-directory-g%C3%BCvenlik-olaylar%C4%B1n%C4%B1-i%CC%87zleme-logon-logoff-kullan%C4%B1c%C4%B1-bilgisayar-d806bc4e70b4?source=rss-1f1d680b5363------2</link>
            <guid isPermaLink="false">https://medium.com/p/d806bc4e70b4</guid>
            <dc:creator><![CDATA[Uğur YILMAZ]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 19:37:02 GMT</pubDate>
            <atom:updated>2026-02-08T00:34:10.606Z</atom:updated>
            <content:encoded><![CDATA[<h3>Zabbix ile Active Directory Güvenlik İzleme (Event ID Tabanlı İzleme)</h3><p><strong>Bu yazıda, Active Directory ortamında gerçekleşen kritik olayları;</strong></p><p>Kullanıcı logon / logout</p><p>Başarısız giriş denemeleri</p><p>Domaine yeni bilgisayar eklenmesi</p><p>Kullanıcı ve grup değişiklikleri</p><p>AD üzerinde yapılan kritik değişiklikler</p><p>Zabbix kullanarak nasıl izleyebileceğimizi adım adım anlatacağım.</p><h4>Genel yapı bu şekilde olcak;</h4><p>Active Directory (DC)<br> │<br> │ Windows Event Log (Security)<br> ▼<br>Zabbix Agent 2 (Active)<br> │<br> ▼<br>Zabbix Server</p><p>Öncelikli olarak AD DC üzerinden Group Policy Management kırılımından aşağıdaki ayarlar yapılır. Bu ayarlar Log’ların Windows Event Viewer — Security log’una düşmesini sağlar, bizlerde bu loglara ait Event ID leri Zabbix Agent sayesinde Zabbix servere alabiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*POd-zAmAyDs7coHe9jvqVA.png" /></figure><p>** Benim oluşturduğum DC Organization Uniti değiştirmediğim için domain controlers altındaki policy ile bu ayarları yaptım. **</p><p>** Advanced Audit Policy ayarlarının aktif olabilmesi için;</p><p>Audit: Force audit policy subcategory settings<br>(Windows Vista or later) to override audit policy category settings seçeneğinin Enabled olması gerekmektedir. **</p><ol><li><strong>Account Logon (Hesap Oturum Doğrulama)</strong><br> — Audit Credential Validation — Success and Failure — Event ID: 4776<br> — Audit Kerberos Authentication Service — Success — Event ID: 4768<br> — Audit Kerberos Service Ticket Operations — Success — Event ID: 4769<br> — Audit Other Account Logon Events — Success and Failure</li></ol><p><strong>2. Account Management (Hesap Yönetimi)<br></strong> — Audit Computer Account Management — Success — Event ID: 4741 / 4743<br> — Audit Security Group Management — Success — Event ID: 4728 / 4729<br> — Audit User Account Management — Success — Event ID: 4720 / 4726 / 4725</p><p><strong>3. DS Access (Directory Service Erişimi)<br></strong> — Audit Directory Service Changes — Success — Event ID: 5136</p><p><strong>4. Logon / Logoff (Oturum Açma — Kapatma)<br></strong> — Audit Logon — Success and Failure — Event ID: 4624 / 4625<br> — Audit Account Logout — Success — Event ID: 4634 / 4647</p><p>— Audit Other Logon/Logoff Events — Success and Failure <br> (RDP disconnect, session drop, idle timeout)</p><p>— Audit Special Logon — Success and Failure <br> (Admin ve elevated oturumlar)</p><p>— Audit Account Lockout — Success — Event ID: 4740</p><p>Örnek görüntü;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*o3lIATIAAiu7N0hjnSlrzQ.png" /></figure><p><strong>5. Policy Change (İlke Değişiklikleri)<br></strong> — Audit Audit Policy Change — Success — Event ID: 4719</p><p><strong>6. Security Option <br></strong> — Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings — Enabled</p><p>**gpupdate /force edilip cihaz restart edilir, test olarak sunucuya yanlış şifre ile giriş denenir sonrasında sunucuya erişilip security log kontrol edilir. **</p><p><strong>Sıra Zabbix Server a giriş yapılıp Data Collection — Hosts sekmesinden ilgili hosta ait İtems sekmesine tıklanır. Sol üst taraftan Create İtem denilerek yeni item oluşturulur.</strong></p><p>— Name ve Key kısmını her Event ID için aşağıda iletiyorum<br> — Type of information kısmı herzaman Log seçili olmalı!!<br> — Update İnterval kısmı 30s yazmalısınız (Bu şekilde agent 30 saniyede bir log kontrolü yapar)<br> — History Kısmını 7d yapabilirsiniz (Zabbix veritabanı bu log’u 7 gün boyunca saklar, sonrasında otomatik silinir)</p><p>Örnek görüntü;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*zguCeAoNyGTYH6LPNzAjQg.png" /></figure><p><strong>Name ve key kısımları;</strong></p><p>Zabbixde görünen örnek görüntüleri bazılarına ekledim</p><p><strong>Audit Credential Validation — 4776</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4776]</pre><p><strong>Audit Kerberos Authentication Service — 4768</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4768]</pre><p><strong>Audit Kerberos Service Ticket Operations — 4769</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4769]</pre><p><strong>Kerberos Pre-Auth Failed — 4771</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4771]</pre><p><strong>Explicit Credentials (Run as) — 4648</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4648]</pre><p><strong>Computer Account Created — 4741</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4741]</pre><p><strong>Computer Account Deleted — 4743</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4743]</pre><p><strong>Security Group Member Added — 4728</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4728]</pre><p><strong>Security Group Member Removed — 4729</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4729]</pre><p><strong>User Created — 4720</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4720]</pre><p><strong>User Deleted — 4726</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4726]</pre><p><strong>User Disabled — 4725</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4725]</pre><p><strong>Directory Service Object Changed — 5136</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,5136]</pre><p><strong>Successful Logon — 4624</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4624]</pre><p><strong>Failed Logon — 4625</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4625]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VFL8ByNr14MyFBh2j45dhg.png" /></figure><p><strong>Logoff — 4634</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4634]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*-3nKjMIvDWusAzx0Vqg5rQ.png" /></figure><p><strong>Logoff (User Initiated) — 4647</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4647]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jufnJoZnfc-pkZ_K7TKwQ.png" /></figure><p><strong>Audit Policy Change — 4719</strong></p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4719]</pre><p>Event ID 4672 — Special Logon (Admin Girişi)</p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4672]</pre><p>Event ID 4776 — Credential Validation (NTLM)</p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4776]</pre><p>Event ID 4740 — Account Lockout</p><pre>eventlog[Security,,,&quot;Microsoft-Windows-Security-Auditing&quot;,4740]</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d806bc4e70b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker desktop üzerinde Zabbix + Grafana çalıştırmak için yapmanız gerekenler]]></title>
            <link>https://medium.com/@ugurylm/docker-desktop-%C3%BCzerinde-zabbix-grafana-%C3%A7al%C4%B1%C5%9Ft%C4%B1rmak-i%C3%A7in-yapman%C4%B1z-gerekenler-dd819a54ec26?source=rss-1f1d680b5363------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd819a54ec26</guid>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[zabbix-agent]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[zabbix]]></category>
            <dc:creator><![CDATA[Uğur YILMAZ]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 19:01:54 GMT</pubDate>
            <atom:updated>2026-02-25T20:57:31.709Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnbCZZjhdPnPHP4bgnCgKQ.png" /></figure><ol><li>Öncelikle işletim sisteminize uygun Docker sürümü edinmelisiniz. Ben Windows 10 pro kullandığım için <a href="https://docs.docker.com/desktop/setup/install/windows-install/">https://docs.docker.com/desktop/setup/install/windows-install/</a> linkinden docker sürümü indirdim, Microsoft store da uygulaması mevcut, görseli ekliyorum.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*dYdj3rIO1HUa2o-lO-UGMQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*zpoTeivgaKdYAwQPIMAAzA.png" /></figure><p>Daha önce Windows üzerinde hiç Linux çalıştırmadıysanız WSL (Windows subsystem for Linux) bileşenleri yüklenmesini isteyebilir, wsl –update komutu ile gereken güncellemeleri indirebilirsiniz. Sonrasında docker yada oturumunuzu restart etmeniz gerekir.</p><p>Bilgisayarınız settings — updates kısmından güncelleme almaya açık olması lazım yoksa görseldeki uyarıyı alabilirsiniz 😊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*5nfKewjMknIoEcT-Oy2MoQ.png" /></figure><p>Artık Docker Desktop ve WSL bileşenleri kuruldu, System Tray kısmından kontrol edildiğinde docker çalışıyor olarak görünüyor, bundan sonraki işlemlerimizi Windows PowerShell üzerinden devam ettirebiliriz.</p><p>PowerShell’i yönetici olarak çalıştıralım;</p><p>Öncelikli olarak C diskinde zabbix-grafana(isim isteğe bağlı değiştirebilirsiniz) adında bir klasör oluşturalım</p><pre>New-Item -ItemType Directory -Path &quot;C:\zabbix-grafana&quot; -Force | Out-Null</pre><p>PowerShell de bu dizine geçelim, bu dizinde yaml dosyamızı oluşturcaz.</p><pre>cd C:\zabbix-grafana</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*Oszbc4dpesGJLgviN7XCaA.png" /></figure><p>Artık yaml dosyamızı oluşturabiliriz, PowerShell de aşağıdaki komutu tek sefer çalıştırmanız yeterli olcaktır.</p><pre>@&#39;<br>services:<br><br>  zabbix-db:<br>    image: mysql:8.4<br>    container_name: zabbix-db<br>    restart: always<br>    command:<br>      - --character-set-server=utf8mb4<br>      - --collation-server=utf8mb4_bin<br>      - --log-bin-trust-function-creators=1<br>    environment:<br>      MYSQL_ROOT_PASSWORD: root_secret<br>      MYSQL_DATABASE: zabbix<br>      MYSQL_USER: zabbix<br>      MYSQL_PASSWORD: zabbix_secret<br>    volumes:<br>      - zabbix-db-data:/var/lib/mysql<br>    networks:<br>      - zabbix-net<br>    healthcheck:<br>      test: [&quot;CMD&quot;, &quot;mysqladmin&quot;, &quot;ping&quot;, &quot;-h&quot;, &quot;localhost&quot;]<br>      interval: 10s<br>      timeout: 5s<br>      retries: 5<br><br>  zabbix-server:<br>    image: zabbix/zabbix-server-mysql:alpine-trunk<br>    container_name: zabbix-server<br>    restart: always<br>    ports:<br>      - &quot;10051:10051&quot;<br>    environment:<br>      DB_SERVER_HOST: zabbix-db<br>      MYSQL_DATABASE: zabbix<br>      MYSQL_USER: zabbix<br>      MYSQL_PASSWORD: zabbix_secret<br>      MYSQL_ROOT_PASSWORD: root_secret<br>    depends_on:<br>      zabbix-db:<br>        condition: service_healthy<br>    volumes:<br>      - /etc/localtime:/etc/localtime:ro<br>      - zabbix-server-data:/var/lib/zabbix<br>    networks:<br>      - zabbix-net<br><br>  zabbix-web:<br>    image: zabbix/zabbix-web-nginx-mysql:alpine-trunk<br>    container_name: zabbix-web<br>    restart: always<br>    ports:<br>      - &quot;8080:8080&quot;<br>    environment:<br>      DB_SERVER_HOST: zabbix-db<br>      MYSQL_DATABASE: zabbix<br>      MYSQL_USER: zabbix<br>      MYSQL_PASSWORD: zabbix_secret<br>      ZBX_SERVER_HOST: zabbix-server<br>      PHP_TZ: Europe/Istanbul<br>    depends_on:<br>      - zabbix-server<br>    volumes:<br>      - /etc/localtime:/etc/localtime:ro<br>    networks:<br>      - zabbix-net<br>    healthcheck:<br>      test: [&quot;CMD&quot;, &quot;curl&quot;, &quot;-f&quot;, &quot;http://localhost:8080/&quot;]<br>      interval: 30s<br>      timeout: 10s<br>      retries: 3<br><br>  zabbix-agent:<br>    image: zabbix/zabbix-agent2:alpine-trunk<br>    container_name: zabbix-agent<br>    restart: always<br>    privileged: true<br>    environment:<br>      ZBX_HOSTNAME: &quot;zabbix-docker-host&quot;<br>      ZBX_SERVER_HOST: zabbix-server<br>      ZBX_SERVER_PORT: 10051<br>    ports:<br>      - &quot;10050:10050&quot;<br>    volumes:<br>      - /etc/localtime:/etc/localtime:ro<br>      - /var/run/docker.sock:/var/run/docker.sock:ro<br>    depends_on:<br>      - zabbix-server<br>    networks:<br>      - zabbix-net<br>  grafana:<br>    image: grafana/grafana:latest<br>    container_name: grafana<br>    restart: always<br>    ports:<br>      - &quot;3000:3000&quot;<br>    environment:<br>      GF_SECURITY_ADMIN_USER: admin<br>      GF_SECURITY_ADMIN_PASSWORD: admin123<br>      GF_INSTALL_PLUGINS: alexanderzobnin-zabbix-app<br>    volumes:<br>      - grafana-data:/var/lib/grafana<br>    depends_on:<br>      - zabbix-web<br>    networks:<br>      - zabbix-net<br><br>volumes:<br>  zabbix-db-data:<br>  zabbix-server-data:<br>  grafana-data:<br><br>networks:<br>  zabbix-net:<br>    driver: bridge<br>&#39;@ | Set-Content -Encoding UTF8 -NoNewline .\docker-compose.yml</pre><p>PostgreSQL veritabanı, Zabbix sunucusu, Zabbix web arayüzü ve Grafana’nın tamamı tek komutla ayağa kalkar.</p><p>Gereken imajların indirilmesi ve servislerin arka planda çalışması için girmemiz gereken komut;</p><pre>docker compose up -d</pre><p>Servis durumlarını kontrol etmek için girmemiz gereken komut;</p><pre>docker compose ps</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oq4h8FYr3jbEKyEJQjYa0Q.png" /></figure><p>Artık Zabbix ve Grafanaya web arayüzünden erişebiliriz, aşağıda bulunan link ve giriş bilgilerini kullanabilirsiniz;</p><p>Zabbix için;</p><blockquote><a href="http://localhost:8080/">http://localhost:8080/</a></blockquote><blockquote>Kullanıcı Adı: admin</blockquote><blockquote>Şifre: zabbix</blockquote><p>Grafana için;</p><blockquote><a href="http://localhost:3000/login">http://localhost:3000/login</a></blockquote><blockquote>Kullanıcı Adı: admin</blockquote><blockquote>Şifre: admin123</blockquote><p>Zabbix e ilk erişim yaptıkdan sonra default olarak gelen Zabbix server hostunu görselde görünen şekilde ayarlayıp zabbix serverin sağlığını izliyorum</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-B2M_atCSPRcoNnDFAQUUw.png" /></figure><p>İkinci bir host oluşturup zabbixin üzerinde çalıştığı yapıyı izliyorum;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yAPEkOTRCYOlg46pYYyiCQ.png" /></figure><p>Host kısmı sorunsuz çalışmaktadır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EI905k5PS7tI9LE4IbdI-g.png" /></figure><p>Grafana entegrasyonu için alexanderzobnin eklentisi yaml dosyası içinde, aşağıda paylaştığım adımlarla hızlıca entegrasyonu tamamlayabilirsiniz;</p><p>Sol menüden Administration -&gt; Plugins and data -&gt; Plugins kırılımlarından ilerleyerek arama kısmına zabbix yazmanız lazım, sonrasında uygulamaya tıklayarak sol köşede çıkan Enable yazısına tıklamanız gerekmektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*prq_51hmkfz7qRvx-Zzw0w.png" /></figure><p>Artık Connections → Data sources → Add data source → Zabbix ilerlediğimizde zabbixi göreceğiz, bu sayfada zabbixin bağlantı kuracağı Zabbix Web API adresini girmemiz lazım;</p><pre>http://zabbix-web:8080/api_jsonrpc.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yxAy8kysJgCgZ8pJqZxRqA.png" /></figure><p>Zabbix erişimi içinde zabbix için kullanılan kullanıcı adı ve şifre veya api token istemektedir, ben zabbix üzerinden api token oluşturup onunla devam ettim sizlerde aşağıdaki adımları izleyerek izleyerek rahatlıkla API token oluşturabilirsiniz;</p><p>Zabbix web arayüzünden sol menüden User settings -&gt; API tokens seçeneğinden ilerleyin Create API token oluşturmanız yeterli olcaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pp7fWR-FPpHBlviRilUS_g.png" /></figure><p>Grafana üzerinde bu kısıma oluşturulan API tokeni girip kaydet butonuna tıklamınız yeterlidir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*rtl3TskIn2DgcCRXVrDDoA.png" /></figure><p>Kurulum tamamdır, teşekkürler..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd819a54ec26" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>