Skip to content

Can MTR probe be added? #389

Open
Open

Description

@louishot

Describe the feature you'd like and the problem it will solve
We would like to run MTR monitoring to discover points of ping failure loss in the network.

Activity

  1. added
    enhancement
    on May 20, 2023
  2. manugarg commented on Dec 12, 2023

    @manugarg
    Contributor

    MTR probe will not be straightforward, but one interesting way to get MTR on "ping" failure is to use the new alerting feature with command notifier.

    This was shared by Nick Zurku in the Cloudprober slack channel:
    https://cloudprober.slack.com/archives/C9ZPA5611/p1696540107564699?thread_ts=1696452186.068299&cid=C9ZPA5611

    You could add a stanza like this to your probe config:

      alert {
        name: "high_failure_rate_alert"
        condition {}
        notify {
          ...
          command: "/srv/netprobe/send_mtr_report.sh @target@ @target.label.address@ @probe@"
        }
      }
    

    Basically it will run a shall script on any failure.. that shell script can run mtr and send a report to the given address. I found it really interesting.

    More on alerting in Cloudprober: https://cloudprober.org/docs/how-to/alerting/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions