Thanks very much for this idea.
But I didn't get it al all.
So, for cpu process I am using the following command:
And for this host I am using:
So, consequently I will receive alert if the threshold will be > 3 after 3*5=15 minutes
But if I want to get it after 30 minutes I need to set max_check to 6,
why you offered to set max_check to 4? because it will be 4*5=20 not 30
Thank you in advanced.