check_disk only local file systems
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
check_disk only local file systems
can check_disk be configured to monitor only local file systems, without having to exclude any non-local filesystems?
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: check_disk only local file systems
got it with -l switch 
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_disk only local file systems
If you are speaking in reference to checking in this fashion:
Then yes, it will return an output such as this:
Edit: Glad you got it working, I was going to add:
Code: Select all
/usr/local/nagios/libexec/check_disk -w 100 -c 200Code: Select all
DISK OK - free space: / 9057 MB (81% inode=92%); /dev/shm 938 MB (100% inode=99%); /boot 428 MB (93% inode=99%);| /=2012MB;11561;11461;0;11661 /dev/shm=0MB;838;738;0;938 /boot=31MB;384;284;0;484
-l, --local
Only check local filesystems
Re: check_disk only local file systems
Great! I am marking this as resolved.
Be sure to check out our Knowledgebase for helpful articles and solutions!