{"id":17033237,"url":"https://github.com/niedbalski/ceilometer-janitor","last_synced_at":"2026-05-05T06:31:33.821Z","repository":{"id":35677789,"uuid":"39953573","full_name":"niedbalski/ceilometer-janitor","owner":"niedbalski","description":"Cleanup of vms based on ceilometer stats","archived":false,"fork":false,"pushed_at":"2015-07-30T14:38:13.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T01:15:49.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/niedbalski.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}},"created_at":"2015-07-30T14:02:58.000Z","updated_at":"2015-08-04T17:15:32.000Z","dependencies_parsed_at":"2022-09-04T03:02:14.250Z","dependency_job_id":null,"html_url":"https://github.com/niedbalski/ceilometer-janitor","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/niedbalski%2Fceilometer-janitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fceilometer-janitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fceilometer-janitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fceilometer-janitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niedbalski","download_url":"https://codeload.github.com/niedbalski/ceilometer-janitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245021159,"owners_count":20548297,"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-14T08:33:16.739Z","updated_at":"2026-05-05T06:31:28.782Z","avatar_url":"https://github.com/niedbalski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ceilometer-janitor\nSmall script that does a cleanup of idle vms based on ceilometer stats.\n\n\n* Install:\n\n```\nubuntu@machine:~$ sudo pip install --upgrade ceilometer-janitor --force \n  Downloading/unpacking ceilometer-janitor\n  Downloading ceilometer-janitor-0.1.2.tar.gz\n  Running setup.py (path:/tmp/pip_build_root/ceilometer-janitor/setup.py) egg_info for package ceilometer-janitor\n    \nInstalling collected packages: ceilometer-janitor\n  Found existing installation: ceilometer-janitor 0.1.2\n    Uninstalling ceilometer-janitor:\n      Successfully uninstalled ceilometer-janitor\n  Running setup.py install for ceilometer-janitor\n    \n    Installing ceilometer-janitor script to /usr/local/bin Successfully installed ceilometer-janitor Cleaning up... \n```\n\n\n* Options:\n\n```\nubuntu@machine:~$ ceilometer-janitor --help \n\nUsage: ceilometer-janitor [options] Options:\n  -h, --help show this help message and exit\n  -d days, --days=days Days delta for instances\n  -m METERS, --meters=METERS\n                        Meters to check, i.e: 'cpu_util\u003c=0.9'\n  -e EXCLUDE_TENANTS, --exclude-tenants=EXCLUDE_TENANTS\n  -s DISPATCH_REPORT, --send-report=DISPATCH_REPORT\n  -w WHITELIST, --whitelist=WHITELIST\n  -q QUIET, --quiet=QUIET\n  -a ACTION, --action=ACTION \n```\n\n\n* Usage:\n\n```\nubuntu@machine:~$ ceilometer-janitor --action=stop --quiet=True -d 5 --exclude-tenants=niedbalski \n\nLooking for instances matching: cpu_util\u003c=0.9 usage criteria ignoring the ones created over the last 5 days \n\nfoo-user,ntp-coredump,2015-07-27T16:14:14Z \nbar-user,juju-bar-machine-10,2015-07-27T16:14:25Z \nbar-user-01,foo-precise,2015-07-27T16:18:20Z \nfoo,foo-juju-kvm,2015-07-28T17:05:35Z\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedbalski%2Fceilometer-janitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniedbalski%2Fceilometer-janitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedbalski%2Fceilometer-janitor/lists"}