{"id":21495780,"url":"https://github.com/easytecrepository/status_pipedream","last_synced_at":"2025-03-17T12:14:36.828Z","repository":{"id":246655587,"uuid":"821482521","full_name":"EasyTecRepository/status_pipedream","owner":"EasyTecRepository","description":"external statuscheck-script over pipedream.com","archived":false,"fork":false,"pushed_at":"2024-06-29T11:41:32.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T21:51:20.810Z","etag":null,"topics":["monitoring","monitoring-automation","pipedream","python3","statuscheck","statuspage-io"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EasyTecRepository.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-28T16:32:51.000Z","updated_at":"2024-06-29T11:41:35.000Z","dependencies_parsed_at":"2024-06-29T12:47:39.610Z","dependency_job_id":"a78f97de-81ed-42ab-939f-e6eb8cd03589","html_url":"https://github.com/EasyTecRepository/status_pipedream","commit_stats":null,"previous_names":["easytecrepository/status_pipedream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyTecRepository%2Fstatus_pipedream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyTecRepository%2Fstatus_pipedream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyTecRepository%2Fstatus_pipedream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyTecRepository%2Fstatus_pipedream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EasyTecRepository","download_url":"https://codeload.github.com/EasyTecRepository/status_pipedream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031153,"owners_count":20386534,"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":["monitoring","monitoring-automation","pipedream","python3","statuscheck","statuspage-io"],"created_at":"2024-11-23T16:13:22.992Z","updated_at":"2025-03-17T12:14:36.804Z","avatar_url":"https://github.com/EasyTecRepository.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Statuscheck with Pipedream.com\n![Error](https://github.com/EasyTecRepository/status_pipedream/blob/main/images/Thumbnail_GitHub.png?raw=true)\n\n## What is this?\nThis is a simple script that can check the current status of your services and create an incident on the status page if necessary.\nAll this works via Python scripts and the website pipedream.com.\n\n\u003e [!NOTE]\n\u003e This is not an advertisement!\n\n## Wait, pipedream.com, what's that and why I use this?\nWith pipedream.com you have the possibility to run scripts on an external server. This is necessary, for example, if your home server is not available or you have problems with your network connection.\n\n\u003e [!IMPORTANT]\n\u003e In the **free version** of Pipedream.com, it is only possible to **run** the check **script** a **maximum** of **10 times a day**. This means that it can only be executed **every 2.5 hours**.\n\n## Why do I need that?\nBecause you want to know when your services are offline. So this is a must for anyone who has a few services to maintain.\n\n## How do I get it?\nWatch this [tutorial on YouTube (german)](https://youtu.be/RjpxOH3OVNE) or read the following guide.\n\n## The guide (step-by-step)\n1. Create an account [here](https://pipedream.com/auth/signup)\n2. Login and First Setup\n3. Go to `Projects` =\u003e `New project`\n4. Set name and click `Create Project`\n5. Click `New` =\u003e `Workflow`\n6. Set name and click `Create Workflow`\n7. Click `Add Trigger`\n8. Click `Custom Interval`\n9. Set `Every 150 Minutes`\n10. Click `Generate Test Event`\n11. Click `Save and Continue`\n12. Click on `+`\n13. Search after `Python` =\u003e select `Run Python code`\n14. Paste [this Code](pipedream_code_block.py) into the Code section\n15. Adjust all variables\n\n| Quantity | Variable          | Explanation                   | Example                                                                     |\n| :------: | :---------------: | :---------------------------: | :-------------------------------------------------------------------------- |\n| 1        | \u003cservice_url\u003e     | URL of your Websites          | https://example.com                                                         |\n| 1        | \u003ccomponent_id\u003e    | Component_id to your Websites | a1b2c3d4e5f6                                                                |\n| 1        | \u003cdiscord_webhook\u003e | Discord Webhook URL           | https://discord.com/api/webhooks/12345678910/ABCdEFG_hIJKlMNOp_QRsTUVw_XYz/ |\n| 2        | \u003cstatuspage_url\u003e  | URL of your statuspage        | https://atlassian.statuspage.io/                                            |\n| 1        | \u003cpage_id\u003e         | PageID of your statuspage     | 12ab34cd56ef                                                                |\n| 1        | \u003capi_key\u003e         | API_Key from statuspage       | 123abc456def789ghi1011jkl1213mno                                            |\n\n16. Click `Test`\n17. Click `+` and select `Continue execution if a condition is met` (Actions -\u003e Control Flow)\n18. Set `Initial Value` to `{{steps.code.continue_workflow}}`\n19. Set `Condition` to `Text Matches exactly (TEXT_EQUALS)`\n20. Set `Second value` to `true`\n21. By `Case sensitive` click on `CLEAR`\n22. Click `Test`\n23. Click `+`, click `HTTP / Webhook` and select `Send POST Request`\n24. Set `Request URL` to `https://api.statuspage.io/v1/pages/\u003cyour_page_id\u003e/incidents/` (INSERT YOUR PAGE ID!!)\n25. Set `Authorization Type` to `Bearer Token` and insert your API Key from Statuspage\n26. Click on `Body`, select `application/json` for `Content-Type`\n27. Click in `Edit raw JSON` and insert [this JSON code](pipedream_create_incident.json)\n28. Click on `Deploy` (**Do not click `Test'** *because all your services are currently working, so your variables are empty. You would get errors! And of course, this workflow will stop before that*).\n\nThe workflow should now be executed automatically every 150 minutes to check the status of your specified services to create an incident on the Statuspage if necessary.\n\n## sources\n[Error](https://icons8.com/icon/8122/error) icon by [Icons8](https://icons8.com)\n\n[Fortschrittsanzeige](https://icons8.com/icon/108535/fortschrittsanzeige) icon by [Icons8](https://icons8.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasytecrepository%2Fstatus_pipedream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasytecrepository%2Fstatus_pipedream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasytecrepository%2Fstatus_pipedream/lists"}