{"id":19565372,"url":"https://github.com/nchekwa/jcollect-sh","last_synced_at":"2025-04-27T01:30:44.799Z","repository":{"id":157757274,"uuid":"388757321","full_name":"nchekwa/jcollect-sh","owner":"nchekwa","description":"Juniper Techsupport Collector","archived":false,"fork":false,"pushed_at":"2025-03-15T23:46:06.000Z","size":574,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T19:12:20.162Z","etag":null,"topics":["evo","juniper","juniper-documentation","juniper-junos","juniper-networks","juniper-srx","juniper-vsrx","junos","qfx","rsi","support","technical"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nchekwa.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":"2021-07-23T10:02:34.000Z","updated_at":"2025-03-15T23:46:09.000Z","dependencies_parsed_at":"2024-02-13T20:49:14.515Z","dependency_job_id":null,"html_url":"https://github.com/nchekwa/jcollect-sh","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/nchekwa%2Fjcollect-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fjcollect-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fjcollect-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fjcollect-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nchekwa","download_url":"https://codeload.github.com/nchekwa/jcollect-sh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251076720,"owners_count":21532577,"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":["evo","juniper","juniper-documentation","juniper-junos","juniper-networks","juniper-srx","juniper-vsrx","junos","qfx","rsi","support","technical"],"created_at":"2024-11-11T05:26:29.223Z","updated_at":"2025-04-27T01:30:44.789Z","avatar_url":"https://github.com/nchekwa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About 'jcollect-sh' collection repository\n\n![Juniper](./img/Juniper_Networks_logo.svg.png)\n\n`jcollect-sh` was created for quick, automated data collection from Juniper devices running Junos OS. The solution's concept is **`fire and forget`** - we run a script that automatically collects necessary information and creates a diagnostic data package (one file) ready to be downloaded from the device.\n\nThe `jcollect-sh` repository consists of **5 scripts**:\n\n## jcollect-sh-script.sh [main script - run on Junos OS]\n\n`Bash` script is executed `on Juniper device shell`, which creates a diagnostic data package ready to be downloaded from the device. Files `junos_|junos-qfx_|evo_` placed in the folder together with `jcollect-sh-script.sh` are automatically executed and attached to the collection.\n\n* Details: [jcollect-sh-script.md](./docs/jcollect-sh-script.md)\n* Script: [jcollect-sh-script.sh](./jcollect-sh-script.sh)\n\n## jcollect-log-unpacking.py [upload on Juniper / run on local PC]\n\n`Python3` script that is executed `on local PC`, allows to `decompress` and `combine` logs into one file.\nIn the folder together with `jcollect-sh-script.sh` will be included in the log collection inside LOGS TGZ.\n* Details: [jcollect-log-unpacking.md](./docs/jcollect-log-unpacking.md)\n* Script: [jcollect-log-unpacking.py](./jcollect-log-unpacking.py)\n\n## jcollect-event-script.py [run on Junos OS]\n\n`Python3` script that is executed `on Juniper device`, in the **EVENT** option (`/var/db/scripts/event/`) or on demand **OP** (operation) (`/var/db/scripts/op/`).\n\n* Details: in annotation of `jcollect-event-script.py` script\n* Script: [jcollect-event-script.py](./jcollect-event-script.py)\n\n## jcollect-slicer.py [run on local PC]\n\n`Python3` script that is executed `on local PC`, allows to `slice` log files into individual files (1 file = 1 command).\n\n* Details: N/A\n* Script: [jcollect-slicer.py](./jcollect-slicer.py)\n\n## jcollect/jcollect.py [run on local PC]\n\n`Python3` script that is executed `on local PC`, based on configuration in YAML file format config, connects via SSH to Juniper device and collects diagnostic data.\n\n* Details: [jcollect.md](./docs/jcollect.md)\n* Script: [jcollect.py](./jcollect/jcollect.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnchekwa%2Fjcollect-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnchekwa%2Fjcollect-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnchekwa%2Fjcollect-sh/lists"}