Help how can I create an alert rule

Hello, can you guys please help how can I create an alert rule that will alert and message me when the site responses according to HTTP code. e.g. HTTP OK: 302 Found, then e-mails me.

check here https://docs.librenms.org/#Extensions/Services/#alerting