GithubHelp home page GithubHelp logo

corrafig / zabbix_template_md Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krom/zabbix_template_md

0.0 0.0 0.0 64 KB

MD Soft RAID minitoring template for zabbix

License: GNU General Public License v3.0

Makefile 100.00%

zabbix_template_md's Introduction

MD Soft RAID monitoring template for Zabbix

Using sysfs for monitoring of Linux Soft RAID aka MD

Tested on Zabbix Version 3.0

Automatically converted for Zabbix v2.0 and v2.4

See at share.zabbix.com

FEATURES

  • LLD for auto detecting RAID
  • Monitoring of total number of disks, number of degraded disks, sync_status
  • Graph for degraded disks
  • Triggers for degrading and raid recovering

REQUIREMENTS

  • SYSFS at agents's server, /sys/block/md* available

INSTALLATION

  • Agent (host with RAID)
    • Copy userparameter_md.conf to /etc/zabbix/zabbix_agentd.d/userparameter_md.conf
      • curl -Ls https://git.io/fN9H5 | sudo tee /etc/zabbix/zabbix_agentd.d/userparameter_md.conf
    • Restart zabbix_agent
      • UBUNTU/DEBIAN: sudo service zabbix-agent restart
  • Server
    • Import template template_md_x.x.xml file via web admin (x.x this is your version of Zabbix)
      • Save the XML template file to a convenient location (or this archive)
      • Open the Zabbix console
      • Navigate to Configuration > Templates
      • Click the Import button
      • Select the downloaded template_md_x.x.xml file
      • Click Import

ITEMS

  • md.discover - LLD data (MD RAIDs and disks)
  • md.degraded[*] - number of degraded disks for specific RAID
  • md.sync_action[*] - current sync status for specific RAID
  • md.raid_disks[*] - number of all disks for specific RAID

How to add new Item

  1. Add new UserParameter to /etc/zabbix/zabbix_agentd.d/userparameter_md.conf
  • For example UserParameter=md.sync_speed[*],cat /sys/block/$1/md/sync_speed
  1. Create new Item by instruction

AUTHOR

Roman Kudlay [email protected]

LICENSE

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

See LICENSE

zabbix_template_md's People

Contributors

drexlma avatar karabanov avatar krom avatar nightspotlight avatar redshift1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.