Devendra Kumar

Devendra Kumar

  • NA
  • 500
  • 163.4k

Get Server UP/Down status in c#

Apr 16 2017 11:13 AM
First of all, I appolize, if it was out of topic, but it was important to get resolve. The question is little bit lengthy.
 
Output of the project should be:
Admin should view which server station is UP or DOWN
 
Overview of the project:
This project belongs to telecom sector,  the thing is they have almost 200 transmission rooms which are inter connected through Optical Fibre Cable and can be accessible though IP address.
 
Lets take some example
Admin have 5 server station and that 5 servers have further child servers, they all are connected to each other and admin have all access to 5 servers and their child servers indivdually
 
Router A
|__ Router A1
|          |__first
|          |_second 
|__Router B
        |_ RB1 
 
When I ping from their IP address, they are pinging. 
Router A1 have 2 child server first and second, if they both are not connected to each other (means having break down),  then how do I know that the server between first and second are DOWN.
 
What I thought to get the server UP and DOWN status is by pinging their IP address but the main problem I found that how can I know if first and second are not connected to each other.
 
Is their any alternate solution of ths or getting status by pinging the server station will be OK.
 
Please lookup the attached image and suggest the best possible solution.
 

Answers (4)