Reminders
Question

Match All within HTTP Content Monitor

13 months ago
OfflinePete B
Pete B

Is there a way to match all words in a HTTP Content Monitor?

I have a website that shows the status of three different sections of an application.  It shows status, error, and status with the normal responses of "OK", "None", & "Started" respectively.  I currently need to have 3 different Content Monitors to confirm that each of those three words are present on the same web page.  Unfortunately, I can't just type them in as the page isn't coded with them right next to each other. So it seems I have to use a regular expression, but I don't see an "AND" or "match all" function in the WUG implementation of regular expressions.  I see a MatchAll for other coding languages. I am able to use (ok,none,started), but that is an "OR" function and will show okay if any of them are present.  I also tried (*ok*none*started*) to no avail.  And there doesn't seem to be an "If, Then" function where I can nest the query.  I am sure I can setup a TCP monitor manually that will do this, but it seems like this should be a simple enough request that it should have been built into the HTTP Content Monitor.

Thanks in advanced, Pete.

-----
You had this question too1 person has this question.
 
Answered

0 Answers:

3 Replies

OfflineWhatsUp Guru (Jason Williams) WhatsUp Guru (Jason Williams) said 13 months ago

Moved to the appropriate forum.


OfflineWhatsUp Guru (Jason Williams) WhatsUp Guru (Jason Williams) said 13 months ago

There are 2 different HTTP content montiors, can you please post a screen shot of one of your monitor configurations so I can see which one you are using?  I believe that you should be able to accomplish this with a regular expression.


OfflineJason Alberino Jason Alberino said 13 months ago

You might be able to better accomplish what you're trying to do with the active script monitor I made. You might need to adjust it slightly to fit your needs, but I think it could be setup to match what you want: http://community.whatsupgold.com/script_library/activemonitors/httphttps-content-monitor-with-domain-authenticati


Would you like to comment?

You must be a member. Sign In if you are already a member.

  • 365 views
  • 2 versions
  • 3 replies
  • 2 followers
     
Post Date:
April 12, 2012
Posted By:
Pete B

Related Content

Search this area

About this forum

  • 143k views
  • 2225 topics
  • 55 followers
     

Post questions and find answers for all things related to the Standard and Premium Editions of WhatsUp gold.


Viewed 365 times