{"id":16521764,"url":"https://github.com/davesteele/mrtg-probes","last_synced_at":"2025-07-03T07:37:28.908Z","repository":{"id":142203236,"uuid":"42836186","full_name":"davesteele/mrtg-probes","owner":"davesteele","description":"MRTG Probe Scripts","archived":false,"fork":false,"pushed_at":"2015-09-23T22:11:32.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T13:29:34.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davesteele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-21T01:01:21.000Z","updated_at":"2015-09-21T01:03:11.000Z","dependencies_parsed_at":"2023-03-13T09:30:19.086Z","dependency_job_id":null,"html_url":"https://github.com/davesteele/mrtg-probes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesteele%2Fmrtg-probes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesteele%2Fmrtg-probes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesteele%2Fmrtg-probes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesteele%2Fmrtg-probes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davesteele","download_url":"https://codeload.github.com/davesteele/mrtg-probes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596727,"owners_count":19988122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T16:57:50.920Z","updated_at":"2025-03-03T02:21:59.703Z","avatar_url":"https://github.com/davesteele.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MRTG Probes\n\n\nThis repository contains [MRTG](https://oss.oetiker.ch/mrtg/doc/mrtg.en.html) data\ncollection scripts for plotting different metrics.\n\n\n### download_performance.py\n\n![Image](https://raw.githubusercontent.com/davesteele/mrtg-probes/master/images/dlperf.png)\n\nPlot '1 hour' and '24 hour' download performance numbers from a specific site,\nspecified by URL. It uses a file lock to prevent parallel download tests.\n\n    $ download_performance.py -h\n    usage: download_performance.py [-h] [-w \u003cpath\u003e] [-b] [-x] \u003curl\u003e\n    \n    MRTG script for logging download performance\n    \n    positional arguments:\n      \u003curl\u003e                 URL of the test file\n    \n    optional arguments:\n      -h, --help            show this help message and exit\n      -w \u003cpath\u003e, --workingdir \u003cpath\u003e\n                            working directory (with write permissions for the mrtg\n                            poller script). Defaults to \"/var/www/html/mrtg\"\n      -b, --bps             Return bits-per-second, instead of bytes-per-second\n      -x, --execute         (internal use only) perform the backup test\n    \n    Called repeatedly, this script will download a url once per hour, and will\n    report the latest download speed and the slowest in the last 24 hours.\n\n\n\nExample MRTG configuration file, for monitoring download performance from 'otto':\n\n    EnableIPv6: no\n    WorkDir: /var/www/html/mrtg\n    \n    Title[otto_bw]: otto bandwidth monitoring\n    Target[otto_bw]: `/usr/local/bin/download_performance.py -b -w /var/www/html/mrtg http://otto/testfile`\n    Directory[otto_bw]: ottobw\n    MaxBytes[otto_bw]: 30000000\n    PageTop[otto_bw]: \u003ch1\u003eotto download performance\u003c/h1\u003e\n    YLegend[otto_bw]: Speed\n    ShortLegend[otto_bw]: bps\n    LegendO[otto_bw]: 24 Hr min\n    LegendI[otto_bw]: 1 Hr performance\n    Options[otto_bw]: growright, noinfo, gauge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavesteele%2Fmrtg-probes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavesteele%2Fmrtg-probes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavesteele%2Fmrtg-probes/lists"}