{"id":19152009,"url":"https://github.com/bugswriter/pve2influx","last_synced_at":"2026-06-17T04:32:01.661Z","repository":{"id":208595535,"uuid":"721974419","full_name":"Bugswriter/pve2influx","owner":"Bugswriter","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-01T20:37:07.000Z","size":42,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T21:14:21.036Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bugswriter.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":"2023-11-22T07:04:46.000Z","updated_at":"2024-12-22T11:23:17.000Z","dependencies_parsed_at":"2024-04-24T06:54:02.144Z","dependency_job_id":"29dd2130-3442-49a8-8d14-e0beb68681be","html_url":"https://github.com/Bugswriter/pve2influx","commit_stats":null,"previous_names":["bugswriter/pve2influx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bugswriter/pve2influx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugswriter%2Fpve2influx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugswriter%2Fpve2influx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugswriter%2Fpve2influx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugswriter%2Fpve2influx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bugswriter","download_url":"https://codeload.github.com/Bugswriter/pve2influx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugswriter%2Fpve2influx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34434492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T08:16:19.189Z","updated_at":"2026-06-17T04:32:01.638Z","avatar_url":"https://github.com/Bugswriter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System Monitoring Scripts\n\nThis repository contains Python scripts for gathering host machine information and sending it to InfluxDB. The scripts cover various aspects, including disk statistics, KVM virtual machine status, and sensor readings.\n\n## Prerequisites\n\nMake sure you have the following installed on your system:\n\n- Python 3.x\n- InfluxDB\n- [InfluxDB Python Client](https://github.com/influxdata/influxdb-client-python)\n\n## Installation\nRun this line to install.\n\n```bash\nbash -c \"$(curl -fsSL https://bugswriter.com/pve2influx-install.sh)\"\n```\n\n## Usage\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/bugswriter/pve2influx.git\n    cd pve2influx\n    ```\n\n2. Set up a virtual environment (optional but recommended):\n\n    ```bash\n    python -m venv env\n    source env/bin/activate\n    ```\n\n3. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. Set up your InfluxDB configuration by creating a `.env` file with the following variables:\n\n    ```env\n    INFLUX_URL=\"https://your-influxdb-url:8086\"\n    INFLUX_TOKEN=\"your-influxdb-token\"\n    INFLUX_ORG=\"your-influxdb-organization\"\n    INFLUX_BUCKET=\"your-influxdb-bucket\"\n    ```\n\n5. Run the desired scripts:\n\n    ```bash\n    python disk.py\n    python vmstatus.py\n    python sensors.py\n    # Add more scripts as needed\n    ```\n\n## Scripts\n\n### 1. disk.py\n\nThis script retrieves disk statistics and sends them to InfluxDB.\n\n### 2. vmstatus.py\n\nMonitors the status of KVM virtual machines and logs the information to InfluxDB.\n\n### 3. sensors.py\n\nGathers sensor readings from the host machine and stores them in InfluxDB.\n\n## Contributing\n\nFeel free to contribute by opening issues, suggesting improvements, or submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugswriter%2Fpve2influx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugswriter%2Fpve2influx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugswriter%2Fpve2influx/lists"}