Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have multiple mount points beneath /opt/virt/img, each of them an LVM logical volume formatted with ext4 and containing a qcow2 disk image for a running VM. I want to know when those volumes are getting filled. Is there some type of check_disk wildcard I can use to save me from having to specify each one?

CentOS 6.3 NRPE 2.13

share|improve this question
up vote 0 down vote accepted

Try

/path-to-nagios/plugins/check_disk -w 10% -c 5% -r /opt/virt/img
share|improve this answer
1  
-r '^/opt/virt/img/.*$' - if you need to be more specific – Danie Apr 16 '13 at 13:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.