check_http for value more than
Posted: Tue Nov 22, 2016 5:17 am
Hi,
I want to run a http_check that checks a website, gets a return value and I want to make sure that value is above X. We are doing a balance enquiry against one of our Applications, and we need to make sure the balance never goes below eg 500.
I see there is a option for regular expressions, so I wanted to do a
however I see the guys say to do a "> X" with a regular expression is impractical. (> 500 would be defined differently, I just want to show what I am trying to do)
I want to know if there is another option maybe that would make more sense to make sure I get a critical if a value is below X.
Thank you,
Warren.
I want to run a http_check that checks a website, gets a return value and I want to make sure that value is above X. We are doing a balance enquiry against one of our Applications, and we need to make sure the balance never goes below eg 500.
I see there is a option for regular expressions, so I wanted to do a
Code: Select all
check_http -H -s vvvvvvvvvv -r > 500however I see the guys say to do a "> X" with a regular expression is impractical. (> 500 would be defined differently, I just want to show what I am trying to do)
I want to know if there is another option maybe that would make more sense to make sure I get a critical if a value is below X.
Thank you,
Warren.