trouble with responsetime keyword

Noel <[email protected]> Fri, 29 Apr 2022 12:06:57 -0500
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
FreeBSD 13.0-RELEASE-p11
monit-5.32.0 installed from ports

I'm having trouble using the reponsetime keyword in a check host 
statement.

If I use:
check host example with address example
   if failed ping4 with responsetime > 250 ms then alert

running "monit reload" results in "syntax error 'responsetime'"

If I use the port/protocol test, it doesn't give a syntax error, but 
always fails the test.

check host example with address example
   if failed port 80 protocol http and responsetime > 250 ms
   timeout 20 s
   then alert

# monit status
...
Remote Host 'example'
   status                       Speed failed
   monitoring status            Monitored
   monitoring mode              active
   on reboot                    start
   port response time           8.533 ms to example:80 type TCP/IP 
protocol HTTP
   data collected               Fri, 29 Apr 2022 11:54:02


Any guidance would be appreciated


   -- Noel Jones