[GH-ISSUE #23] Parser for mtr --raw format #295

Closed
opened 2026-03-01 17:25:08 +03:00 by kerem · 2 comments
Owner

Originally created by @abh on GitHub (Jun 19, 2011).
Original GitHub issue: https://github.com/abh/ntppool/issues/23

The monitor nodes should be able to do a traceroute when a node is down.

First thing to do for this is to have a bit of perl code that can parse the 'mtr --raw' format and format it pretty with perl/template toolkit code.

(After that we can build the monitors to understand a "do a traceroute" request and the central system to know when to ask the monitors to do a traceroute and archive the result).

Originally created by @abh on GitHub (Jun 19, 2011). Original GitHub issue: https://github.com/abh/ntppool/issues/23 The monitor nodes should be able to do a traceroute when a node is down. First thing to do for this is to have a bit of perl code that can parse the 'mtr --raw' format and format it pretty with perl/template toolkit code. (After that we can build the monitors to understand a "do a traceroute" request and the central system to know when to ask the monitors to do a traceroute and archive the result).
kerem closed this issue 2026-03-01 17:25:08 +03:00
Author
Owner

@abh commented on GitHub (Jul 17, 2011):

From the mtr documentation:



The "raw" format is:

hostline|pingline|dnsline|timestampline

hostline:
h <pos> <host IP>

pingline:
p <pos> <pingtime (ms)>

dnsline: 
d <pos> <hostname>

timestampline:
t <pos> <pingtime> <timestamp>


Timestampline is not  yet implemented. Need to find out how to do
ICMP timestamping first. :-)
<!-- gh-comment-id:1588956 --> @abh commented on GitHub (Jul 17, 2011): From the mtr documentation: ``` The "raw" format is: hostline|pingline|dnsline|timestampline hostline: h <pos> <host IP> pingline: p <pos> <pingtime (ms)> dnsline: d <pos> <hostname> timestampline: t <pos> <pingtime> <timestamp> Timestampline is not yet implemented. Need to find out how to do ICMP timestamping first. :-) ```
Author
Owner

@abh commented on GitHub (Mar 19, 2012):

Doing this in javascript now.

<!-- gh-comment-id:4568562 --> @abh commented on GitHub (Mar 19, 2012): Doing this in javascript now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntppool#295
No description provided.