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.