Zabbix Monitoring disk partition space

Source: Internet
Author: User

Zabbix Monitoring Disk capacity

Two kinds of monitoring methods:

One: Monitor disk usage.

Zabbix adding monitoring of disk partitions

First, the data on the server is mostly on/www.

/dev/sda8 ext4 299G 139G 146G 49%/www

gui--Configuration--Host--Select a host--project--Create Project

Type Zabbix proxy (passive)

Key value Vfs.fs.size[/www,pfree]

Data type: numeric (floating point)

Unit

Archive

Here's what you need to explain

What I want to monitor is the percentage of free space for a partition

Vfs.fs.size[fs,<mode>]

mode, the default is total, the rest is free,used,pfree,pused,p here should be the meaning of the hundred points

The corresponding Unit is B (here it means byte) and%, if the monitor size, you have to use numeric (unsigned) Decimal

Then create the trigger

An expression:

{m_redis_s11357712425:vfs.fs.size[/www,pfree].last (0)}<20

Host words fill m_redis_s11357712425

Template, fill in the template name Mtepl

Space less than 20% on alarm, severity, warning

All right, finish it.

Two, the remaining space of the monitoring disk is less than 10G

gui--Configuration--Host--Select a host--project--Create Project

Type Zabbix proxy (passive)

Key value Vfs.fs.size[/,free]

Data type: numeric (floating point)

Units GB

Archive

Then create the trigger

An expression:

{m_redis_s11357712425:vfs.fs.size[/,pree].last (0)}<10g

Host words fill m_redis_s11357712425

Template, fill in the template name Mtepl

Space less than 10G alarm, severity, warning

All right, finish it.


This article is from the "Dream to Reality" blog, please be sure to keep this source http://lookingdream.blog.51cto.com/5177800/1834259

Zabbix Monitoring disk partition space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.