How to check website return code and Text

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ibmkenexa
Posts: 28
Joined: Wed Feb 13, 2019 4:05 am

How to check website return code and Text

Post by ibmkenexa »

Hi Team,

I need to create a monitor to check return code and content at same time. Please guide me where to specify both. I am using Website URL tool from configuration wizard.

Two conditions need to check at a time from same URL

Conditions:
Response code is 200 && Response Body contains the word UNAVAILABLE

Thank you.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to check website return code and Text

Post by mbellerue »

Our check_http plugin won't do both the return code and text at the same time. If you have Nagios XI Enterprise, you could use the website wizard to create the standard HTTP check and a Regex Match check, and then tie them together with BPI.

Other than that, you might have to see if you can find a plugin on the Nagios Exchange, which we can help you setup if you find one, or make your own plugin.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked