Exclude ufs local file systems with check_disk


#1

Hi, I was wondering if anyone currently uses check_disk with exclusion of local file systems. We like to send out separate alerts for either the local file system managed by the sys admins versus the nfs mounts managed by the netapp guys. Currently are using the following:

command[check_nfs_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -e -m -x / -x /dev -x /lib -x /opt -x /opt/hpnpl -x /platform -x /sbin -x /opt/-x /usr -x /etc/svc/volatile -x /tmp -x /var/run -x /usr/local/nagios

Allowing us to exclude any local UFS file systems from being monitored. I was wondering if there was a more elegant way of doing things. I have seen the -X but it seems -X ufs doesn’t work.

Thanks