{"id":16759512,"url":"https://github.com/outini/err-cachet","last_synced_at":"2025-03-16T08:26:30.556Z","repository":{"id":140938124,"uuid":"80217186","full_name":"outini/err-cachet","owner":"outini","description":"err-cachet - ErrBot plugin for Cachet (cachethq.io)","archived":false,"fork":false,"pushed_at":"2017-07-26T17:09:09.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T20:51:37.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/outini.png","metadata":{"files":{"readme":"README.rst","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":"2017-01-27T15:07:28.000Z","updated_at":"2019-09-13T11:21:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9ec6597-cf85-4221-a911-e553a04d3965","html_url":"https://github.com/outini/err-cachet","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/outini%2Ferr-cachet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outini%2Ferr-cachet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outini%2Ferr-cachet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outini%2Ferr-cachet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outini","download_url":"https://codeload.github.com/outini/err-cachet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243844390,"owners_count":20357035,"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-13T04:08:20.173Z","updated_at":"2025-03-16T08:26:30.543Z","avatar_url":"https://github.com/outini.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|PythonSupport|_ |License|_ |Codacy|_ |Coverage|_\n\nerr-cachet - ErrBot plugin for Cachet\n=====================================\n\n* *Contact:* Denis 'jawa' Pompilio \u003cdenis.pompilio@gmail.com\u003e\n* *Sources:* https://github.com/outini/err-cachet/\n\nPlugin usage\n------------\n\n**Component actions**::\n\n    !cachet comp status                          Show components problems\n    !cachet comp list all                        List components\n    !cachet comp list groups                     List groups\n    !cachet comp list group \u003cgroup_id\u003e           List group's components\n    !cachet comp show \u003cc_id\u003e                     Show component details\n    !cachet comp search \u003csearch_regex\u003e           Search component by name\n    !cachet comp status set \u003cc_id\u003e \u003cc_status\u003e    Set component status\n\n**Maintenance actions**::\n\n    !cachet maint forecast [--num \u003cnumber\u003e]               List upcoming maintenances\n    !cachet maint last [--num \u003cnumber\u003e]                   List last maintenances\n    !cachet maint new \u003cschedule\u003e \u003cc_id\u003e \u003cname\u003e: \u003cdesc\u003e    Schedule upcoming maintenance\n\n**Incident actions**::\n\n    !cachet inci last [--num \u003cnumber\u003e] [--period \u003cperiod\u003e]         List last incidents\n    !cachet inci show \u003ci_id\u003e                                       Show incident details\n    !cachet inci search \u003csearch_regex\u003e                             Search incident by name (regex)\n    !cachet inci new \u003ci_status\u003e \u003cc_id\u003e \u003cc_status\u003e \u003cname\u003e \u003cdesc\u003e    Declare new incident\n    !cachet inci set date \u003ci_id\u003e \u003cdate\u003e                            Set incident's date\n    !cachet inci update \u003ci_id\u003e \u003ci_status\u003e \u003cc_status\u003e \u003cdesc\u003e        Update incident\n    !cachet inci rename \u003ci_id\u003e \u003cnew_name\u003e                          Rename incident\n    !cachet inci set visible \u003ci_id\u003e                                Set incident visible on status page\n    !cachet inci set hidden \u003ci_id\u003e                                 Hide incident from status page\n\n**Variables**::\n\n    dates, and periods format:\n        YYYYmmdd-HH:MM     Date (or schedule)\n        [date]\u003e[date]      Period\n\n    Component ID (c_id):   A number or dash (-) for unchanged or unset\n    Incident ID (i_id):    A number or dash (-) for unchanged or unset\n\n    Component status (c_status):\n        -            (current status or unset)\n        red|mo       Major Outage\n        orange|po    Partial Outage\n        blue|pi      Performance Issue\n        green|op     Operational\n\n    Incident status (i_status):\n        -                 (current status or unset)\n        inv[estigating]   Investigations running\n        id[entified]      Root cause identified\n        wa[tching]        Fixed, watching stability\n        fix[ed]           Fixed\n\nExample\n-------\n::\n\n    \u003e\u003e\u003e !cachet inci new ident 27 po \"NAS filer performance issue\" \"Major issue with storage performance.\"\n    New incident declared.\n    Don't forget to make it visible on status page.\n    Try: !incident set visible 10\n\n    \u003e\u003e\u003e !cachet inci show 10\n    Status page service: [10] NAS filer performance issue (http://status.domain.tld/incident/10)\n\n    Incident status: Investigating\n    Component: 27 RP: Datacenter A\n    Component status: :warning: Partial Outage\n    Created at 2017-06-30 17:08:00\n    Last updated 2017-06-30 17:08:00\n    Description:\n    Major issue with storage performance.\n\n    \u003e\u003e\u003e !cachet comp status\n    Status page service (http://status.domain.tld)\n\n    Components problems:\n    -  1  DNS Master: :warning: Partial Outage\n    -  5  Storage NAS - Datacenter A: :warning: Performance Issues\n    -  27  RP: Datacenter A: :warning: Partial Outage\n\n    \u003e\u003e\u003e !cachet comp show 27\n    Status page service (http://status.domain.tld)\n\n    Component: 27 RP: Datacenter A\n    Status: :warning: Partial Outage\n    Link:\n    Description: Production RP on datacenter A\n    Last updated 2017-04-21 12:02:35\n    Active incidents:\n      10 Investigating: NAS filer performance issue\n      40 Investigating: test incident\n\n    \u003e\u003e\u003e !cachet inci set visible 10\n    Incident has been set to visible on status page.\n\n    \u003e\u003e\u003e !cachet inci update 40 fixed - \"Closing the test incident.\"\n    Incident has been updated.\n\nTests and coverage\n------------------\n\nRequisites::\n\n  pip install pytest coverage\n\nTesting and getting coverage::\n\n  coverage run --source errbot-root/plugins/err-cachet -m py.test errbot-root/plugins/err-cachet\n  coverage html\n\n\nLicense\n-------\n\n\"GNU GENERAL PUBLIC LICENSE\" (Version 2) *(see LICENSE file)*\n\n\n.. |PythonSupport| image:: https://img.shields.io/badge/python-3.4-blue.svg\n.. _PythonSupport: https://github.com/outini/err-cachet/\n.. |License| image:: https://img.shields.io/badge/license-GPLv2-green.svg\n.. _License: https://github.com/outini/err-cachet/\n.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/0cd02ae19e2c428bbb718d5ff62f650e\n.. _Codacy: https://www.codacy.com/app/outini/err-cachet\n.. |Coverage| image:: https://api.codacy.com/project/badge/Coverage/0cd02ae19e2c428bbb718d5ff62f650e\n.. _Coverage: https://www.codacy.com/app/outini/err-cachet","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutini%2Ferr-cachet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutini%2Ferr-cachet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutini%2Ferr-cachet/lists"}