Need to apply critical thresholds for a range of minutes in icingaweb

Hi,

Support required, i need to apply thresholds on “check_uptime” service. Currently it is working for the threshold of less than 10 minutes

crit=uptime<10m

and it working fine in this format. But i need to apply thresholds for a range of minutes like

“check uptime” = { nrpe_arguments = [ “crit=uptime>10m&&uptime<20m” ]

But for some reason, it is not being implemented. If there is any other syntax please let me know. Response will be highly appreciated.

check_uptime supports nagios/icinga threshold syntax → Thresholds

Example: ./check_uptime -w 10m:4w -c 1m:8w
         Results in a critical state when uptime is below 60 seconds or higher than 8 weeks,
         and in a warning state when uptime is below 10 minutes or above 4 weeks.

Thanks for the response.
You are little closer to my query. In your provided syntax it is excluding the time between 1 minute and 8 weeks. But i need syntax in which i can include the time between 1 minute and 8 weeks.

please look at;

the blue thingy is an URL