Create separate checks for each nfs export

So the default disk/ check basically will check all filesystems/exports and send a message as one event. So say I wanted to split this check up into separate events. So instead of receiving the info of all the exported filesystems in one check I could create a separate check for each filesystem and have it be its own event. This way I can acknowledge filesystems that are meant to be filled individually instead of acknowledging all the check of all the filesystems.

object Host "h" {
  vars.disks = [ "/", "/var" ]
}

apply Service "disk:" for (disk in host.vars.disks) {
  check_command = "disk"
  vars.disk_partitions = disk
}