{"id":18897837,"url":"https://github.com/aneisch/cacti-pi-cpu-temperature","last_synced_at":"2025-07-11T13:39:21.893Z","repository":{"id":79012049,"uuid":"20867709","full_name":"aneisch/Cacti-Pi-CPU-Temperature","owner":"aneisch","description":"Script to write pi CPU temp to rrd for cacti","archived":false,"fork":false,"pushed_at":"2014-06-15T23:55:37.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T10:51:43.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/aneisch.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}},"created_at":"2014-06-15T23:37:56.000Z","updated_at":"2014-06-15T23:55:37.000Z","dependencies_parsed_at":"2023-02-25T09:01:04.398Z","dependency_job_id":null,"html_url":"https://github.com/aneisch/Cacti-Pi-CPU-Temperature","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/aneisch%2FCacti-Pi-CPU-Temperature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2FCacti-Pi-CPU-Temperature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2FCacti-Pi-CPU-Temperature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2FCacti-Pi-CPU-Temperature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneisch","download_url":"https://codeload.github.com/aneisch/Cacti-Pi-CPU-Temperature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239879154,"owners_count":19712174,"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-11-08T08:39:45.444Z","updated_at":"2025-02-20T16:46:19.082Z","avatar_url":"https://github.com/aneisch.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cacti-Pi-CPU-Temperature\n========================\n\nScript to write pi CPU temp to rrd for cacti graph.\n\n\n\nRequires working Cacti installation perferably hosted on the pi, 'bc' (sudo apt-get install bc), and rrdtool (should be installed automatically with cacti)\n\n\nAfter creating a folder for the files to reside, create the RRD file with the following command in your directory:\n\nrrdtool create pitemp.rrd --step 120 DS:pi1:GAUGE:200:U:U DS:pi2:GAUGE:200:U:U RRA:AVERAGE:0.5:1:12 RRA:AVERAGE:0.5:1:288 RRA:AVERAGE:0.5:12:168 RRA:AVERAGE:0.5:12:720 RRA:AVERAGE:0.5:288:365\n\n\nYou can import the graph and data template to cacti, you must manually create the device. Use the screenshot provided here as a template. After modifying the path to the rrd to suite your needs, make the script executable and use cron to run it automatically every two minutes. (Be sure not to change this interval or you will have to modify cacti settings, as well as recreate the rrd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fcacti-pi-cpu-temperature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneisch%2Fcacti-pi-cpu-temperature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fcacti-pi-cpu-temperature/lists"}