I'm running a XenServer 6 and 7 systems, hosting Windows and Linux VMs. So I used Nagios Core for monitoring system.
All of the hypervisors use local storage, typically one or more disk.
The problem: I'm currently building monitoring systems, using Nagios Core. One of the most important things is to monitor disk usage on the storage repositories, and this can be done simply from the command line using df. However Xen doesn't give direct access to the storage repository disk space. I'm aware of the advice here - https://linuxconfig.org/how-to-check-used-local-storage-repository-disk-space-on-xenserver-linux - however on my XenServers the only disks that show up under /run/sr-mount are the NFS-mounted backup disks.
The question:
-How can I get disk usage stats on the command line (such as df usually gives) for a local disk storage repository, under XenServer 6, and also under XenServer 7?
-or, How to show local disk storage, usage storage, size storage, as in the picture I attach with command in XenServer 6 & XenServer 7 ?
Question
andhika satria
I'm running a XenServer 6 and 7 systems, hosting Windows and Linux VMs. So I used Nagios Core for monitoring system.
All of the hypervisors use local storage, typically one or more disk.
The problem: I'm currently building monitoring systems, using Nagios Core. One of the most important things is to monitor disk usage on the storage repositories, and this can be done simply from the command line using df. However Xen doesn't give direct access to the storage repository disk space. I'm aware of the advice here - https://linuxconfig.org/how-to-check-used-local-storage-repository-disk-space-on-xenserver-linux - however on my XenServers the only disks that show up under /run/sr-mount are the NFS-mounted backup disks.
The question:
-How can I get disk usage stats on the command line (such as df usually gives) for a local disk storage repository, under XenServer 6, and also under XenServer 7?
-or, How to show local disk storage, usage storage, size storage, as in the picture I attach with command in XenServer 6 & XenServer 7 ?
Link to comment
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now