Forum Discussion
Monitor for Internet links
Hi Everyone, I want to create a monitor that should get the www.google.com page to make sure the internet links are up. May be there are some previous post on the same topic can someone refer that again pls.
Regards,
4 Replies
- Kevin_Stewart
Employee
Well, technically speaking you could make a minor adjustment to the BASH-based sample_monitor in /config/monitors:
curl -fNs http://www.google.com |grep -s "Search the world's information" > /dev/nulland assign that to a "dummy" pool, but then I suppose the bigger question is what you want to do with this information. It may make more sense to establish a VLAN failsafe. What are you trying to accomplish?
- nitass
Employee
just wondering if destination ip is static (or using number of health monitors with OR operator), can HTTP monitor with specific alias address and service port be useful?
- Techgeeeg
Nimbostratus
Thanks Kevin What I want is a simple thing like when we have a http monitor that should get the outlook page from exchange and if it gets one and the reply has a word "outlook" in the first 200 lines tht makrs the pool member as up. Similarly I want to create a http monitor that should get the www.google.com or www.yahoo.com or www.microsoft.com and if the monitor assigned to the pool of links is successful that member should be marked as up.
- Hamish
Cirrocumulus
You're monitoring a proxy then.
I have a few of those. They're quite simple. For example the google monitor is just
ltm monitor http proxy-google.co.uk { defaults-from http destination *:* interval 20 recv "Server: gws" recv-disable "The page cannot be displayed" send "GET http://www.google.co.uk/ HTTP/1.0\\r\\n\\r\\n" time-until-up 0 timeout 61 }H
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com