Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can MTR probe be added? #389

Open
louishot opened this issue May 20, 2023 · 1 comment
Open

Can MTR probe be added? #389

louishot opened this issue May 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@louishot
Copy link

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.

@louishot louishot added the enhancement New feature or request label May 20, 2023
@manugarg
Copy link
Contributor

manugarg commented Dec 12, 2023

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants