{"id":13710777,"url":"https://github.com/scaleway/netbox2netshot","last_synced_at":"2025-12-30T00:16:52.339Z","repository":{"id":45409017,"uuid":"361826659","full_name":"scaleway/netbox2netshot","owner":"scaleway","description":"Inventory synchronization tool between Netbox and Netshot","archived":false,"fork":false,"pushed_at":"2025-01-30T14:59:23.000Z","size":146,"stargazers_count":47,"open_issues_count":2,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-24T04:12:05.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scaleway.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-04-26T16:54:06.000Z","updated_at":"2025-01-30T17:13:43.000Z","dependencies_parsed_at":"2024-01-20T15:48:25.103Z","dependency_job_id":"5c921c56-bf7a-4cb2-b215-891ee6e01688","html_url":"https://github.com/scaleway/netbox2netshot","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":"0.21052631578947367","last_synced_commit":"8eab4e28b859eda88e08389838106d017d72bfb2"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fnetbox2netshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fnetbox2netshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fnetbox2netshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fnetbox2netshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scaleway","download_url":"https://codeload.github.com/scaleway/netbox2netshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252753735,"owners_count":21799003,"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-08-02T23:01:00.792Z","updated_at":"2025-12-30T00:16:52.306Z","avatar_url":"https://github.com/scaleway.png","language":"Rust","funding_links":[],"categories":["Synchronization"],"sub_categories":[],"readme":"# Netbox2Netshot\n\n## Introduction\n\nNetbox2Netshot is a tool that allows you to synchronize your [Netbox DCIM](https://github.com/netbox-community/netbox) (using specific criterias) to [Netshot](https://github.com/netfishers-onl/Netshot)  so your devices would automatically get backed up by Netshot once added in Netbox.\n\nThe tool is coded in Rust and doesn't required any runtime dependency installed\n\n## How to use\n\n### Installation\n\nGather a pre-built binary, deb or rpm package or install it using Cargo\n\n```bash\ncargo install netbox2netshot\n```\n\n### Parameters\n\nMost parameters can be set either via command line arguments or environment variables\n\n```bash\nnetbox2netshot [FLAGS] [OPTIONS] --netbox-url \u003cnetbox-url\u003e --netshot-domain-id \u003cnetshot-domain-id\u003e --netshot-token \u003cnetshot-token\u003e --netshot-url \u003cnetshot-url\u003e\n\nFLAGS:\n    -c, --check      Check mode, will not push any change to Netshot\n    -d, --debug      Enable debug/verbose mode\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n        --netbox-devices-filter \u003cnetbox-devices-filter\u003e\n            The querystring to use to select the devices from netbox [env: NETBOX_DEVICES_FILTER=]  [default: ]\n\n        --netbox-proxy \u003cnetbox-proxy\u003e\n            HTTP(s) proxy to use to connect to Netbox [env: NETBOX_PROXY=]\n\n        --netbox-tls-client-certificate \u003cnetbox-tls-client-certificate\u003e\n            The TLS certificate to use to authenticate to Netbox (PKCS12 format) [env: NETBOX_TLS_CLIENT_CERTIFICATE=]\n\n        --netbox-tls-client-certificate-password \u003cnetbox-tls-client-certificate-password\u003e\n            The optional password for the netbox PKCS12 file [env: NETBOX_TLS_CLIENT_CERTIFICATE_PASSWORD=]\n\n        --netbox-token \u003cnetbox-token\u003e\n            The Netbox token [env: NETBOX_TOKEN]\n\n        --netbox-url \u003cnetbox-url\u003e\n            The Netbox API URL [env: NETBOX_URL=]\n\n        --netbox-vms-filter \u003cnetbox-vms-filter\u003e\n            The querystring to use to select the VM from netbox [env: NETBOX_VMS_FILTER=]\n\n        --netshot-domain-id \u003cnetshot-domain-id\u003e\n            The domain ID to use when importing a new device [env: NETSHOT_DOMAIN_ID=]\n\n        --netshot-proxy \u003cnetshot-proxy\u003e\n            HTTP(s) proxy to use to connect to Netshot [env: NETSHOT_PROXY=]\n\n        --netshot-tls-client-certificate \u003cnetshot-tls-client-certificate\u003e\n            The TLS certificate to use to authenticate to Netshot (PKCS12 format) [env: NETSHOT_TLS_CLIENT_CERTIFICATE=]\n\n        --netshot-tls-client-certificate-password \u003cnetshot-tls-client-certificate-password\u003e\n            The optional password for the netshot PKCS12 file [env: NETSHOT_TLS_CLIENT_CERTIFICATE_PASSWORD=]\n\n        --netshot-token \u003cnetshot-token\u003e\n            The Netshot token [env: NETSHOT_TOKEN]\n\n        --netshot-url \u003cnetshot-url\u003e\n            The Netshot API URL [env: NETSHOT_URL=]\n```\n\nThe query-string format need to be like this (url query string without the `?`):\n\n```bash\nstatus=active\u0026platform=cisco-ios\u0026platform=cisco-ios-xe\u0026platform=cisco-ios-xr\u0026platform=cisco-nx-os\u0026platform=juniper-junos\u0026has_primary_ip=true\u0026tenant_group=network\n```\n\nIf you plan to use TLS authentication, please provide a PKCS12 formatted identity file (.pfx or .p12), they can be created from .pem/.key/.crt using the following command:\n```bash\nopenssl pkcs12 -export -out my.pfx -inkey my.key -in my.crt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fnetbox2netshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleway%2Fnetbox2netshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fnetbox2netshot/lists"}