{"id":16895757,"url":"https://github.com/ytti/corona","last_synced_at":"2025-03-22T09:31:41.116Z","repository":{"id":8189584,"uuid":"9617797","full_name":"ytti/corona","owner":"ytti","description":"SNMP based network discovery with SQL backend","archived":false,"fork":false,"pushed_at":"2019-09-20T14:35:47.000Z","size":42,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-01T14:51:29.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ytti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-23T07:42:26.000Z","updated_at":"2025-02-06T18:04:46.000Z","dependencies_parsed_at":"2022-08-06T21:15:16.528Z","dependency_job_id":null,"html_url":"https://github.com/ytti/corona","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytti%2Fcorona","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytti%2Fcorona/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytti%2Fcorona/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytti%2Fcorona/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytti","download_url":"https://codeload.github.com/ytti/corona/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198405,"owners_count":20414443,"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-13T17:25:55.472Z","updated_at":"2025-03-22T09:31:40.756Z","avatar_url":"https://github.com/ytti.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n  Corona sends SNMP queries to defined CIDR ranges and populates SQL database based on nodes found. Some particular problems it tries to deal with:\n  * Only discover one node once\n  * To that effect it has priority list of idDescr lo0.0, loopback0, vlan2 etc. Higher priority will always replace lower priority interface (say you have MGMT in loop0 but giga0/2.42 has valid MGMT address towards L2 metro)\n  * Tries to handle gracefully renumbering, renaming, etc\n\n# Install\n  1. gem install corona\n  2. corona\n  3. ^C (break it)\n  4. edit ~/.config/corona/config \n  5. put corona in crontab as _corona|mail -E -s 'new nodes found' foo@example.com_\n\n# Config\n  * You need to configure SNMP community\n  * You need to define CIDR to poll and CIDRs to ignore (subset of those you poll)\n  * CIDR in example config is list, but can be replaced with 'string' which points to file, where CIDRs are listed\n\n# Use\n```\n[fisakytt@lan-login1 ~/projects/corona]% corona --help\nUsage: corona [options] [argument]\n    -d, --debug           Debugging on\n    -p, --poll            Poll CIDR [argument]\n    -r, --remove          Remove [argument] from DB\n    -m, --max-delete      Maximum number to delete, default 1\n    -o, --purge-old       Remove records order than [argument] days\n    -s, --simulate        Simulate, do not change DB\n    -h, --help            Display this help message.\n\n% corona -p 192.0.2.0/28   # poll specific CIDR\n% corona -r core-sw1       # remove specific record\n% corona -o 7              # remore records older than 7 days\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytti%2Fcorona","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytti%2Fcorona","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytti%2Fcorona/lists"}