{"id":15472788,"url":"https://github.com/kellymears/trellis-netdata","last_synced_at":"2025-10-17T09:32:00.543Z","repository":{"id":146241553,"uuid":"271570635","full_name":"kellymears/trellis-netdata","owner":"kellymears","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-12T14:16:59.000Z","size":47,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-07T23:12:07.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/kellymears.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":"2020-06-11T14:40:15.000Z","updated_at":"2022-06-01T16:48:32.000Z","dependencies_parsed_at":"2023-04-20T11:20:09.680Z","dependency_job_id":null,"html_url":"https://github.com/kellymears/trellis-netdata","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"039ba002b80b4e4135023b8fcad3b5c10aa89ee4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellymears%2Ftrellis-netdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellymears%2Ftrellis-netdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellymears%2Ftrellis-netdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellymears%2Ftrellis-netdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kellymears","download_url":"https://codeload.github.com/kellymears/trellis-netdata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236798171,"owners_count":19206470,"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-02T02:40:55.704Z","updated_at":"2025-10-17T09:31:55.245Z","avatar_url":"https://github.com/kellymears.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Another Ansible Netdata Role\n\nThis Ansible role installs Netdata. It was written to be used with [Trellis](https://github.com/roots/trellis).\n\nNow you can monitor your Trellis deploy(s) from a browser or Discord. That's cool.\n\nI'll pkg on ansible-galaxy when it's finished.\n\n## Install\n\nFirst, you'll need to clone this repo into `roles/netdata`.\n\nNext, add the following to your `wordpress_sites` definition on whatever site you would like to enable netdata access on. You can add it to multiple sites but there is no point if they share a server.\n\nThis addition supplies a child nginx template that serves the dashboard on requests to `/netdata`.\n\n```yml\n# wordpress_sites.yml\n\nwordpress_sites:\n  example_site:\n    nginx_wordpress_site_conf: roles/netdata/templates/netdata-nginx.conf.child\n```\n\nAdd the netdata role to `server.yml`. I think it makes sense right after nginx.\n\n```yml\n# server.yml\n\n    # ...\n    - { role: netdata, tags: [netdata, nginx] }\n    # ...\n```\n\n## Basic auth (optional)\n\nThe netdata dashboard is read-only and exposes nothing that is explicitly secret. Stil, you may wish to limit its availability.\n\nAdd the following variables into the target `main.yml` to password protect `/netdata`.\n\n```yml\n# main.yml\n\nnetdata_user: admin\nnetdata_password: generate_me\n```\n\n## API auth (optional)\n\nNetdata exposes a pretty nice API. You can lock it down if you're worried about security.\n\n```yml\n# main.yml\n\nnetdata_api_key: generate_me\n```\n\n## Notification services (optional)\n\nNetdata supports a ton of alerting/pager services and team workplace apps, etc.\n\n```yml\n# main.yml\n\nnetdata_slack_webhook_url:\nnetdata_msteam_webhook_url:\nnetdata_rocketchat_webhook_url:\nnetdata_alerta_webhook_url:\nnetdata_alerta_api_key:\nnetdata_flock_webhook_url:\nnetdata_discord_webhook_url:\nnetdata_pushover_app_token:\nnetdata_pushbullet_access_token:\nnetdata_pushbullet_source_device:\nnetdata_account_sid:\nnetdata_twilio_account_token:\nnetdata_twilio_number:\nnetdata_hipchat_server:\nnetdata_hipchat_auth_token:\nnetdata_messagebird_access_key:\nnetdata_messagebird_number:\nnetdata_kavengear_api_key:\nnetdata_kavengear_api_sender:\nnetdata_telegram_bot_token:\nnetdata_kafka_url:\nnetdata_kafka_sender_ip:\nnetdata_pd_service_key:\nnetdata_awssns_message_format:\nnetdata_syslog_facility:\nnetdata_email_sender:\nnetdata_email_threading:\nnetdata_email_plaintext_only:\nnetdata_irc_nickname:\nnetdata_irc_realname:\nnetdata_irc_network:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellymears%2Ftrellis-netdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkellymears%2Ftrellis-netdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellymears%2Ftrellis-netdata/lists"}