Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.