User Tools

Site Tools


packet:packet_network_monitoring_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packet:packet_network_monitoring_project [2025/11/02 12:10] g8pztpacket:packet_network_monitoring_project [2025/11/02 16:18] (current) – [Viewing Packet Traces] g8pzt
Line 7: Line 7:
 PNMP is a client-server system. The clients are built into recent versions of XRouter and BPQ nodes. They send JSON-encoded telemetry to the server within UDP datagrams. PNMP is a client-server system. The clients are built into recent versions of XRouter and BPQ nodes. They send JSON-encoded telemetry to the server within UDP datagrams.
  
-The server is at node-api.packet.oarc.ukand it exposes several endpoints allowing the data, both real-time and historicto be visualised and downloaded.+The telemetry consists of AX25 packet header data, node status reports, and details of L2 links and L4 circuits It includes NODES broadcasts and INP3 unicastsFor privacy reasons, it DOES NOT include the packet contentsexcept those of UI beacons and APRS frames.
  
-(list of endpoints to be added)+The server is at [[https://node-api.packet.oarc.uk]], and it exposes several endpoints allowing the data, both real-time and historic, to be visualised and downloaded.
  
-The telemetry consists of AX25 packet header data, node status reportsand details of L2 links and L4 circuits.  It includes NODES broadcasts and INP3 unicastsFor privacy reasonsit DOES NOT include the packet contentsexcept those of UI beacons and APRS frames.+==== Server Endpoints ==== 
 + 
 +AX25 Links Monitor: [[https://node-api.packet.oarc.uk/links.html]] 
 + 
 +NetRom L4 Circuits Monitor: [[https://node-api.packet.oarc.uk/circuits.html]] 
 + 
 +Dynamic Network Map: [[https://node-api.packet.oarc.uk/network-map.html]] 
 + 
 +==== Viewing Packet Traces ==== 
 + 
 +You can view the packet traces as seen by each node, via the web API. 
 + 
 +Or you can see much more detail using the following command line program: 
 + 
 +[[packet_network_monitoring_project:pnmptrace|Program To View Packet Traces]] 
 + 
 +==== What Can PNMP Do? ==== 
 + 
 +The uses for this project are myriad.  New uses will undoubtedly reveal themselves over time. Developers are encouraged to get involved. Here's an idea  of what it can be used for: 
 + 
 +  * **Network Monitoring**. For the first time in the history of Packet Radio, we have the potential to "see" the whole network at once, both its topology and its activity. 
 + 
 +  * **Fault Diagnosis**. Up till now it has been very difficult to diagnose network problems, because such diagnosis required using the (broken) network itself.  By the time the faulty segment was reached, the problem had cleared, and all we were left with was guesswork. The server API allows us to rewind the clock and examine what led to the failure. 
 + 
 +  * **Fault Alerts**. It would be fairly trivial to monitor the live feed and generate alerts about nodes that suddenly stop reporting their status, links with excessive queue lengths or unusually high retry rates, and so on. 
 + 
 +  * **Performance Graphs**. These could show things like traffic flows and retry rates over timewhich could help to identify diurnal or seasonal problems with QRM, anomalous propagation etc. 
 + 
 +  * **Network Planning**. By analysing where the traffic is goingwhere the bottlnecks and single points of failure are, where there is unnecessary connectivity etc. we can plan better network connections. 
 + 
 +==== How To Enable Telemetry on Your Node ==== 
 + 
 +  * **If you run XRouter:** XRouter has been automatically sending telemetry since v504j, allowing the system to be developed and refined. But for best results, please update to version 504m. If you wish to DISABLE telemetry, please add the following directive to XROUTER.CFG: "NETMON=0.0.0.0:0".
  
-You can view the packet traces using the following program:+  * **If you run BPQ:** Firstly, you need to be running version 6.0.25.9. Then, because the client is disabled by default, you need to add the following directive to your bpq configuration file"ENABLEOARCAPI=1".
  
-[[packet_network_monitoring_project:pnpmtrace|Program To View Packet Traces]] 
  
 (to be continued) (to be continued)
  
packet/packet_network_monitoring_project.1762085402.txt.gz · Last modified: by g8pzt