A mail warning for web test.

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

A mail warning for web test.

Post by Stone_ll »

Now I want to monitor the web URL content by HM.
Such as:It can sent a mail if the URL return 404 or some other erorrs when the HM test a URL http://www.xx.com/index.html.
to be important we have a CDN for the web.and there are two or more nodes.
I want to know which node is error when the URL test's status is bad for the web URL test.such as the mail include the ip address of the node.

hope for your reply.thanks....
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You need to setup URL test for each node using IP address instead of hostname

Regards
Alex
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

sorry,so many nodes are not allowed to visited by ip address instead of hostname.
I think there is a record for every visit .
It means that the IIS of windows is not set for us to visit hostame by administrator
But it can not sent by HM ?
thanks for your reply !
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Not sure I undersatand...
If you cannot request web server using IP address and you can only use hostname and there are several nodes respond to the same hostname, then its impossible to check what node is down by using HTTP/TCP requests.
Te only way I see - use some protcol to request management core (e.g. using WMI requests)...
What exactly Network Load Balancing software do you use? Does it supports WMI or Performance Counter technology? SNMP?

Regards
Alex
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

KS-Soft wrote:Not sure I undersatand...
If you cannot request web server using IP address and you can only use hostname and there are several nodes respond to the same hostname, then its impossible to check what node is down by using HTTP/TCP requests.
yes,that is right.
Te only way I see - use some protcol to request management core (e.g. using WMI requests)...
What exactly Network Load Balancing software do you use? Does it supports WMI or Performance Counter technology? SNMP?
Network load balancing software?Oh I do not understand what you are say about...Please say it more clearly ? ^_^
Thanks for your reply and supports.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Stone_ll wrote:Network load balancing software?Oh I do not understand what you are say about...Please say it more clearly ? ^_^
You mentioned you use CDN for the web. As we understand, CDN is Content delivery network, right? One of the features provided by CDN is load balancing technique, that allows to spread work between two or more computers (IISs in your case). That's why we ask about software/hardware involved in your CDN. We need this information in order to provide you solution you asked about.

In generals case, you may create particular site on each IIS, and create a "URL" test for each IIS, but it requires a lot of work, I think...

Regards,
Max
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

I understand now.
But CDN is provided by CDN company who we pay to .
and I could try to ask them .
otherwise , Can I use a method to find out the load balance technology they use ?
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

additionally can HM do the http test and the ping test all together ?
My means is at the same time ,exactly the second.
So I can find the the domain and the node ip address .
And the http test 's status is bad , HM can send a mail including the URL and the node ip address .
But I do not know whether it can do according to my idea.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Stone_ll wrote:Can I use a method to find out the load balance technology they use ?
Not sure they allow you to monitor their network from outside. I assume any protocol except HTTP is forbidden by their firewall.
Stone_ll wrote:additionally can HM do the http test and the ping test all together ?
You can try to play with master/dependant relations: http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Stone_ll wrote:So I can find the the domain and the node ip address .
And the http test 's status is bad , HM can send a mail including the URL and the node ip address.
Not sure I understand you. It looks too complicated and not much reliable. I think, you should ask your CDN company how to monitor particular nodes using HTTP protocol only.

Regards,
Max
Last edited by KS-Soft Europe on Thu Dec 18, 2008 6:29 am, edited 1 time in total.
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

My meaning is two tests.
Take a example,One is the ping test for www.xxx.com or the DNS test,the other is the http get test for www.xxx.com.
I want the two tests to test synchronistically every time ,just as at the same time.
although I may creat single two tests I said former,but they will been not in step . So the two tests must have some relationship ,it is not the relationship of the master and salve test that you said.

Afterward,the two tests work in step . Ping test or DNS test take charge of changing the domain name to IP address ,and http test take charge of checking the web's status.
When the http test's status is bad HM send a mail including the ip address that get by ping or DNS test .

I do not know you understand or not .Sorry for my poor English .
thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

But CDN is provided by CDN company who we pay to .
Then why you should worry about their nodes, CDN, IP addresses, network traffic balancing??
1) You pay money, they provide service. You check URL using URL or HTTP test, if service does not work, you may complain. Its problem of the company to monitor and maintenance their servers and routers.
2) You would not be able to fix the problem anyway. Am I right?
3) Also monitoring tool should be installed in their network, in such case it will have access to all servers and protocols.
4) Probably they already have monitoring solution. I think they know much more about their servers and how system works. Am I wrong?
5) If "CDN company" does not have monitoring solution yet (I really wonder why?), ask them to join the forum. They can provide information about CDN system, we can provide information about HostMonitor.
additionally can HM do the http test and the ping test all together ?
My means is at the same time ,exactly the second.
So I can find the the domain and the node ip address .
I don't think this can work. Even if you send 2 requests at the same time, its still 2 different requests, 2 different protocols.
Network Load Balancing software may send ping request to one node and TCP (HTTP) request to another node. Also, are you sure they allow you to ping internal servers?

Regards
Alex
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

Yes,you are right ! They should maintain their own nodes.
But to be more safely we also monitor.
in another word , I cann't monitor the CDN nodes by HM in order to get the ip address when the http test error?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Well, we do not have any idea how that network works, what protocols allowed by firewall, what services are running on the servers.
You should ask administrator of that network.

Regards
Alex
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

But the software Fiddler2 --- a package analyzer can do this .
can HM do this according to this idea?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

can HM do this according to this idea
What exactly idea? Intercept network traffic? No, HostMonitor does not and should not do this.

Regards
Alex
Post Reply