{"id":13557616,"url":"https://github.com/opensciencegrid/gracc-osg-reports","last_synced_at":"2026-01-24T09:31:44.870Z","repository":{"id":43859812,"uuid":"140616044","full_name":"opensciencegrid/gracc-osg-reports","owner":"opensciencegrid","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T23:02:40.000Z","size":201,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-03T12:47:10.725Z","etag":null,"topics":["accounting"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/opensciencegrid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-11T18:48:15.000Z","updated_at":"2024-11-12T23:02:44.000Z","dependencies_parsed_at":"2024-11-13T00:17:48.319Z","dependency_job_id":"5be4beed-ea7c-4b3f-b409-a05eb455c55b","html_url":"https://github.com/opensciencegrid/gracc-osg-reports","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/opensciencegrid/gracc-osg-reports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensciencegrid%2Fgracc-osg-reports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensciencegrid%2Fgracc-osg-reports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensciencegrid%2Fgracc-osg-reports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensciencegrid%2Fgracc-osg-reports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensciencegrid","download_url":"https://codeload.github.com/opensciencegrid/gracc-osg-reports/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensciencegrid%2Fgracc-osg-reports/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["accounting"],"created_at":"2024-08-01T12:04:27.069Z","updated_at":"2026-01-24T09:31:44.854Z","avatar_url":"https://github.com/opensciencegrid.png","language":"Python","readme":"GRACC OSG Reports\n============\n\n_gracc-osg-reports_ is a set of reports that collect and present data from the OSG monitoring \nsystem [GRACC](https://gracc.opensciencegrid.org) to Open Science Grid stakeholders.  These reports were \npreviously packaged along with the underlying libraries [gracc-reporting](https://github.com/opensciencegrid/gracc-reporting), \nbut have now been separated out to facilitate independent development on the reports or the libraries on which they \ndepend.\n\nFor each report, you can specify a non-standard location for the config file with -c, template file with -T, or \na logfile with -L.  In the absence of the latter, the reports log to stdout.  The -d, -n, and -v flags are, \nrespectively, dryrun (test), no email, and verbose.\n\n\nInstallation\n-------------\n\nTo set up gracc-osg-reports within a virtual environment:\n\nMake sure you have the latest version of [pip.](https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip)\n\nThen:\nMake sure pip is up to date:\n```\n   pip install -U pip\n```\nInstall virtualenv if you haven't already:\n```\n   pip install virtualenv\n```\nThe first time you do this:\n```\n   virtualenv gracc_venv                # Or whatever other name you want to give your virtualenv instance\n   source gracc_venv/bin/activate       # Activate the virtualenv\n```\n\nYou'll need to install [gracc-reporting](https://github.com/opensciencegrid/gracc-reporting) first.  Navigate to the previous link and \nfollow the installation instructions there within the virtualenv.\n\nThen, within the same virtualenv in which you've installed gracc-reporting, all you'll need to do is:\n\n```\n   python setup.py install              # Install gracc-osg-reports\n```\n\nTo access this sandbox later, go to the dir with gracc_venv in it, and:\n```\n   source gracc_venv/bin/activate\n```\nand do whatever you need!  If you can't run pip installs on your machine,\nthen if you have virtualenv, activate it and then upgrade pip and install the \nrequirements.\n\nRunning reports\n---------------\n\n\nExamples:\n\n**OSG Project Usage Report:**\n```\n    osgprojectreport -s 2016-12-06 -e 2016-12-13 -r OSG-Connect -d -v -n   # No missing projects in this case\n    osgprojectreport -s 2016-12-06 -e 2016-12-13 -r XD -d -v -n   # Missing projects in this case\n```\n**Missing Projects report:**\n```\n    osgmissingprojects -s 2016-12-06 -e 2017-01-31 -r XD -d -n -v\n```\n**OSG Usage Per Site Report:**\n```\n    osgpersitereport -s 2016/10/01 -d -v -n\n```\n**OSG Flocking Report:**\n```\n    osgflockingreport -s 2016-11-09 -e 2016-11-16 -d -v -n\n```\n**Gratia Probes that haven't reported in the past two days:**\n```\n    osgprobereport -d -n -v\n```\n**Top [N] Providers of Opportunistic Hours on the OSG (News Report):**\n\nMonthly:\n```\n    osgtopoppusagereport -m 2 -N 20 -d -v -n\n```\nAbsolute dates:\n```\n    osgtopoppusagereport -s \"2016-12-01\" -e \"2017-02-01\" -N 20 -d -v -n\n```\n\nDocker files \n------------\n\nIncluded in this repository are a set of Dockerfiles, one per report, wrapper scripts, and docker-compose files meant for running\nthese reports (installed in /opt/gracc-osg-reports) individually.  If you use the docker images to run the reports, separate \ninstallation of gracc-osg-reports (as detailed above) is unnecessary.  \n\nThe Dockerfiles and docker-compose files can of course be modified for other setups.\n\nIf you'd like to simply run a container with the reports preinstalled, do:\n```\n\tdocker pull opensciencegrid/gracc-osg-reports:2.0\n\tdocker run -it opensciencegrid/gracc-osg-reports:2.0 /bin/sh\n```\n\n\n","funding_links":[],"categories":["Python","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensciencegrid%2Fgracc-osg-reports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensciencegrid%2Fgracc-osg-reports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensciencegrid%2Fgracc-osg-reports/lists"}