In luci-app-watchcat it is using
host(1) as a datatype. What is the (1) parameter supposed to mean? I did not see anything in the documentation. I would guess it could mean only one host is allowed, but just want to confirm.
Here's the line
pinghost.datatype = "host(1)"
Verify if the value is a valid hostname or IP address.