http content check for value error on more than

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
jdk
Posts: 10
Joined: Tue Mar 31, 2020 2:48 am

http content check for value error on more than

Post by jdk »

Hi

I am looking for a check that looks at the response from a http check on a webpage and return an error is the content returned is more than a particular value.

At the moment the webpage URL returns a 0 and the I want to only issue a critical if it returns a value of more than 30.

The check_http is okay for erroring if a particular string is not found, but does not help with Warnings or Criticals on the content return.

Any assistance appreciated. My scripting skill are very limited and was hoping for something pre-build.

Thanks
jsimon
Posts: 104
Joined: Wed Aug 23, 2023 11:27 am

Re: http content check for value error on more than

Post by jsimon »

Hi @jdk,

I was able to find this plugin on the Nagios Exchange, which seems like it might be workable for you:

https://exchange.nagios.org/directory/P ... py/details

Please keep the following information in mind when using content from Nagios Exchange: https://exchange.nagios.org/about/
jdk
Posts: 10
Joined: Tue Mar 31, 2020 2:48 am

Re: http content check for value error on more than

Post by jdk »

Thanks for this, I will take a look
Post Reply