Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_disk_on_lxc

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2017-11-22
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
5952
Files:
FileDescription
check_disk_on_lxccheck_disk_on_lxc
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This is a simple nagios plugin to monitoring the disk usage percentage, when you are working inside LXC container on proxmox.
It is based on df command to gather info about disk and awk to manipulate output.
Inside LXC container the disk info is misaligned from inside and outside container.
For example for my LXC container from host I read (from lvs command):
vm-101-disk-1 LSize:36.00g Data% 68.99
this values are in Gib (Gibibyte)
From inside container with dh command I read:
Filesystem: /dev/mapper/pve-vm--101--disk--1 Size 38G Use% 51%
and this values are in more useful format GB (Gigabyte). I need this values!