Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
First of all, I apologize, 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.

Please look at the image [Network web image]

Look at the center (The Main server). All nodes from A to O (routers/servers) are inter connected to main server, which can be accessible through its IP address. Node N has 2 sub nodes (service station) O and P where as K has sub nodes L and M.

L and M are connected (status is connected)

whereas the Orange line O and P, when disconnected from each other or having breakdown in their route, how the main server gets notification of that.

As I saw the current scenario, currently when their is any breakdown between O and P, either the admin has to login to the O server and checks whether the P server status is UP or Down OR the person sitting at the O server notify to the main server through phone call (means manually).

Now, the owner of this telecom sector wants whenever their any breakdown in any of their servers, they want to get notified automatically on a screen.

NOTE: When connecting to each router, it requires a userid and password to login to their system.

Now, how can I detect that O is not connected to P and show the notification on the screen. which class in c# will help me to accomplish this task. Should any service needs to be installed on each server that notifies its sub nodes connectivity to the main server, there are currently (200 servers) which is not small.

What about the Pathping class, but still not know about knowing the connectivity between O and P.

Please give any idea/suggestion to achieve this. As I don't want to use any third party software to do this. I have to develop of my own, and in this technology there must be modification/enhancement in the application.

Kindly help me any one, any article or thing like that.

What I have tried:

I thought that pinging to each server, but there are approx 200 transmission rooms(servers) that are inter connected to each other. I can't figure out the result that accomplish my task.
Posted
Updated 22-Apr-17 11:55am

I'm assuming each transmission room has a server. You need to instrument each server on the network. Each server would run an agent that monitors the circuit path to each adjacent server. Your idea of using ping would work for this. This statistic is then reported to a central server and optionally displayed on a console for the room operator.

Of course, the transmission room server may have lost connectivity to the central server.

Your central server can display these statistics in aggregate form on a console.
 
Share this answer
 
Here is another approach. Use SNMP protocol. Most devices including switches and routers support this.

The main server room runs a program that sends SNMP queries to each node on the network.

The absence of an SNMP reply tells you the node is down.

The SNMP responses tell you which network interface on each node is connected or not and how many packets have passed or failed. This would be better than a simple up or down state as you could determine the QoS or quality of service for each path.
 
Share this answer
 
Comments
Devendra6 23-Apr-17 14:22pm    
Thanks a ton @bling for your valuable reply. I believe that SNMP will fulfil the requirement. Does it connects to all the sub nodes without authentication. If possible, can you share some links or example to accomplish this, as I am unaware of using SNMP class
[no name] 23-Apr-17 20:04pm    
Older SNMP protocol used a shared secret - a simple password called a "community string". Newer SNMP protocols use a more robust authentication. SNMP not only instruments network devices - it can also control them so access must be managed.

Here are two possible libraries:

http://www.snmpsharpnet.com/

https://github.com/lextm/sharpsnmplib

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900