wiki postfix example - resource check error

[email protected] Thu, 06 Feb 2025 12:01:55 -0500
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,

I was hoping for some clarification.

In the monit wiki there is an example for a Postfix config. 
https://mmonit.com/wiki/Monit/Postfix

When I used that example I noticed that I was seeing the following ion my journal:

monit[567]: 'postfix' error -- unknown resource ID: [5]

So I commented out the line:

"if loadavg(5min) greater than 10 for 8 cycles then stop"

That solved my error message, but I was curious what the issue was. So after scouring a bit I found this link that says that the above check is now only supported on "system" checks only. The article was 5yrs old.
https://stackoverflow.com/questions/55218933/monit-on-apache-server-why-monit-log-apache-error-unknown-resource-id

However, in the monit manual, it says the check should work for system checks or process checks.

Resource Tests
"This test can only be used within a system or process service entry in the Monit control file"

So I thought I'd post in case it's some documentation thing.

-- 

Regards,

xc