{"id":36872832,"url":"https://github.com/observeinc/linux-host-configuration-scripts","last_synced_at":"2026-01-12T15:03:06.661Z","repository":{"id":37850185,"uuid":"486808779","full_name":"observeinc/linux-host-configuration-scripts","owner":"observeinc","description":"Single line installer script for Linux Host Monitoring collection agents.  Includes files and scripts for configuration of osquery, fluent, and telegraf.","archived":false,"fork":false,"pushed_at":"2025-01-13T19:04:52.000Z","size":751,"stargazers_count":5,"open_issues_count":5,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-13T20:19:47.908Z","etag":null,"topics":["bash-script","installation-scripts","integrationname-host-monitoring","integrations","linux"],"latest_commit_sha":null,"homepage":"https://docs.observeinc.com/en/latest/content/integrations/linux/Linux-pkgs.html#installing-host-monitoring-on-linux","language":"HCL","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/observeinc.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-29T02:12:34.000Z","updated_at":"2025-01-13T19:04:54.000Z","dependencies_parsed_at":"2023-11-08T23:28:38.921Z","dependency_job_id":"3437bb19-fe9e-47e7-98c7-5eb64a6f27cf","html_url":"https://github.com/observeinc/linux-host-configuration-scripts","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/observeinc/linux-host-configuration-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observeinc%2Flinux-host-configuration-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observeinc%2Flinux-host-configuration-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observeinc%2Flinux-host-configuration-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observeinc%2Flinux-host-configuration-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/observeinc","download_url":"https://codeload.github.com/observeinc/linux-host-configuration-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observeinc%2Flinux-host-configuration-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"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":["bash-script","installation-scripts","integrationname-host-monitoring","integrations","linux"],"created_at":"2026-01-12T15:03:06.537Z","updated_at":"2026-01-12T15:03:06.642Z","avatar_url":"https://github.com/observeinc.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configuration script for Linux [Legacy]\n\n---\n\n***This content is being deprecated in favor of [Host Quick Start Integration](https://docs.observeinc.com/en/latest/content/integrations/host/quickstart.html) and will be removed in a future release.***\n\n---\n\n## Assumptions:\n- Assumes user running script can use passwordless sudo\n- Assumes Ubuntu, Debian, Amazon Linux, CentOS, or Red Hat\n\n## What does it do\n- Creates a config_files directory in home of logged in user\n\n- Downloads configuration files from this git repository\n\n- Installs osquery, fluentbit and telegraf\n\n- Subsitutes values for data center, hostname, customer id, data ingest token and observe endpoint in configuration files\n\n- Copies files to respective agent locations, renames existing files with suffix OLD\n\n- Outputs status of services\n\n\n## Steps to configure\n\n1. Login to machine via ssh\n\n2. Run script with flag values set\n\nRun --help command for list of flags and options\n\n###########################################\n## HELP CONTENT\n###########################################\n### Required inputs\n- Required --customer_id OBSERVE_CUSTOMER \n- Required --ingest_token OBSERVE_TOKEN \n## Optional inputs\n- Optional --observe_host_name - Defaults to https://\u003c_OBSERVE_CUSTOMER\u003e.collect.observeinc.com/ \n- Optional --config_files_clean TRUE or FALSE - Defaults to FALSE \n    - controls whether to delete created config_files temp directory\n- Optional --ec2metadata TRUE or FALSE - Defaults to FALSE \n    - controls fluentbit config for whether to use default ec2 metrics \n- Optional --cloud_metadata TRUE or FALSE - Defaults to FALSE\n    - controls fluentbit config for whether to poll for VM metadata\n- Optional --datacenter defaults to AWS\n- Optional --appgroup id supplied sets value in fluentbit config\n- Optional --branch_input branch of repository to pull scrips and config files from -Defaults to main\n- Optional --validate_endpoint of observe_hostname using customer_id and ingest_token -Defaults to TRUE\n- Optional --module to use for installs -Defaults to linux_host which installs osquery, fluentbit, and telegraf\n    - Optional module flag: securityonion adds a config to fluentbit. If securityonion is specified without linux_host, only fluent bit will be installed.\n    - Optional module flag: jenkins adds a config to fluentbit. If jenkins is specified without linux_host, only fluent bit will be installed.\n- Optional --observe_jenkins_path used in combination with jenkins module - location of jenkins logs\n- Optional --custom_fluentbit_config add an additional configuration file for fluentbit\n- Optional --osquery_version value for which osquery version to install (defaults to \"latest\"). Note this needs to be the full version number: i.e. '5.9.1-1.linux'\"\n- Optional --telegraf_version value for which telegraf version to install (defaults to \"latest\"). Note this needs to be the full version number: i.e. '1.28.2-1'\"\n- Optional --fluentbit_version value for which fluentbit version to install (defaults to \"latest\"). Note this needs to be the full version number: i.e. '2.1.10'\"\n- Optional --shell_history_enable add option to capture user's shell history, TRUE or FALSE - Defaults to FALSE\"\n***************************\n### Sample command:\n``` curl https://raw.githubusercontent.com/observeinc/linux-host-configuration-scripts/main/observe_configure_script.sh  | bash -s -- --customer_id OBSERVE_CUSTOMER --ingest_token OBSERVE_TOKEN --observe_host_name https://\u003cOBSERVE_CUSTOMER\u003e.collect.observeinc.com/ --config_files_clean TRUE --ec2metadata TRUE --datacenter MY_DATA_CENTER --appgroup MY_APP_GROUP```\n***************************\n\n## Other Configs:\nOther configs are files used in use case specific scenarios and should only be used when advised by Observe personnel","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobserveinc%2Flinux-host-configuration-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobserveinc%2Flinux-host-configuration-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobserveinc%2Flinux-host-configuration-scripts/lists"}