-
Help Pls
I need some suggestions for the following. i will be greatful for ur suggestions.
There is a server running in X location. It has got a Global Static IP.
This server runs on Windows 2000 Server.
There is a Desktop PC/Server running in Y location, which may run any platform (windows/Linux/Unix/etc)
To monitor the proper functioning of the Server at X a person needs to attend the system periodically. This is a hectic work since the server runs 24 X 7 X 365.
Need: An application has to be developed which will check every 2-5 minutes from Y location whether the server at X location is up or not. If the server is up, then it will continue to monitor every 2-5 minutes. If not then the PC at Y location has to dial the pager number and send a numeric page to the given Pager number. This process should carry on till the server is UP.
regards
venkat
-
well server y could have a connection with X and they could "ping-pong" packets back and forth, when it doesn't recieve a pakct for 5 minutes call the alert sub. the pager stuff is very hardware specific and therefore must be done "outside" of java using Java Native Classes
-
Just a word of advice....... Besides TCP and UDP, there are a number of other protocols that can run on top of IP. The most common asked for is ICMP, the Internet Control Message Protocol, which uses raw IP datagrams to relay error messages between hosts. The best know use of this protocol is in the ping program. To the best of my knowledge java does not support ICMP nor does it allow the sending of raw IP datagrams(as opposed to TCP segments or UDP datagrams) The only protocols java supports are TCP and UDP and application layer protocols built on top of these. All other transport layer, internet layer and lower layer protocols such as ICMP,IGMP,ARP,RARP,RSVP and others can be implemented in java programs only by using native code.