Below is script for sending notification ,when a mount point or filesystem crosses a threshold value.

For solaris

Put in crontab:

For monitoring zpool usage in solaris:

Put in crontab as below: