{"id":15345449,"url":"https://github.com/jthomas/cfbot","last_synced_at":"2026-02-27T00:04:22.045Z","repository":{"id":76216494,"uuid":"45916666","full_name":"jthomas/cfbot","owner":"jthomas","description":"Cloud Foundry Application Monitoring Bot For Slack","archived":false,"fork":false,"pushed_at":"2017-07-25T08:46:04.000Z","size":27,"stargazers_count":26,"open_issues_count":1,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-09T03:08:30.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jthomas.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-10T14:21:30.000Z","updated_at":"2024-11-15T12:26:05.000Z","dependencies_parsed_at":"2023-03-06T02:15:59.315Z","dependency_job_id":null,"html_url":"https://github.com/jthomas/cfbot","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":0.2222222222222222,"last_synced_commit":"e592e30628316341083446a03d078be065b08c1b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jthomas/cfbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcfbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcfbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcfbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcfbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthomas","download_url":"https://codeload.github.com/jthomas/cfbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcfbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29878277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-01T11:13:25.725Z","updated_at":"2026-02-27T00:04:22.010Z","avatar_url":"https://github.com/jthomas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cfbot\n\n[Cloud Foundry](http://cloudfoundry.org) application monitoring bot for\n[Slack](https://slack.com).\n\n![cfbot](http://jamesthom.as/images/cfbot-events.png)\n\ncfbot monitors application events through the \n[CF events API](https://apidocs.cloudfoundry.org/224/events/list_all_events.html) and forwards\ndetails to channels it's registered in. Users can configure the applications\nand events being monitored.\n\n## install \n\nThis Cloud Foundry monitoring bot can be deployed to... Cloud Foundry!\n\nYou will need to register the bot with your Slack group to receive an\nauthentication token. This token, along with login details for \na platform account, need to be created as user-provided service credentials.\nThe bot will read these service credentials on deployment and start monitoring\nfor events.\n\n### register slack bot \n\nAdd a new bot integration [here](https://slack.com/services/new/bot) with the\nfollowing details:\n\n* *username:* _cf_\n\nMake a note of the API token.\n\n*tip: grab the cloud foundry logo for your bot picture from [here](https://twitter.com/cloudfoundry)*\n\n### create user provided service credentials \n\nCreate user-provided service credentials on the Cloud Foundry\ninstance where you will be deploying cfbot using the command below.\n\nYou need to provide the API token from Slack, the Cloud Foundry endpoint running\nthe applications you want to monitor and user account credentials for that\nplatform. \n\n\u003cpre\u003e\ncf cups cfbot -p '{\"slack_token\":\"xoxb-some-token\",\"cf_api\":\"https://api.ng.bluemix.net\", \"cf_username\":\"xxx\", \"cf_password\":\"xxx\"}'\n\u003c/pre\u003e\n\n*tip: create a new user account for cfbot and add it to your cf organisation to expose applications \nfor monitoring, rather than having to use normal user accounts.*\n\n### deploy \n\n\u003ca href=\"https://bluemix.net/deploy?repository=https://github.com/jthomas/cfbot\" target=\"_blank\"\u003e\n\u003cimg src=\"http://bluemix.net/deploy/button.png\" alt=\"Bluemix button\" /\u003e\n\u003c/a\u003e\n\nor... \n\u003cpre\u003e\n$ cf push\n\u003c/pre\u003e\n\n## usage \n\ncfbot will monitor events from applications in all spaces and\norganisations that the user account has access to. \n\nUsers can filter the applications and events being reported using the *apps* and\n*events* commands. Both commands take application or event identifiers that are\nused to match incoming events. The wildcard '*' identifier can be used to revert\nto matching all events.\n\n\u003cpre\u003e\n@cf apps // show the currently application filter\n@cf apps app_name // add the 'app_name' to the filter list\n@cf apps * // reset to the filter to wildcard matching\n\n@cf events // show the currently event filter\n@cf events event_type // add the 'event_type' to the filter list\n@cf events * // reset to the filter to wildcard matching\n\n@cf status // show the current bot status message\n\n@cf polling_frequency // show the cf events api polling time in seconds\n@cf polling_frequency 10 // set the cf events api polling time in seconds\n\u003c/pre\u003e\n\nThe following events are currently registered:\n\n* _App Creation and Deletion Events._\n* _App Lifecycle Events (start, stop, restart, restage)_\n* _Instance Crash Events._\n* _Service Creation, Deleting and Binding._\n* _Scaling (memory, CPU, disk)_\n* _Routes Changes (map, unmap)_\n \n## config\n\nEnvironment variables (APPS and EVENTS) can be used to configure default event property filtering for\napplication names and event types (use spaces to separate multiple terms).\nPOLLING_FREQ can be defined to configure the default CF events api polling\nfrequency.\n\n\u003cpre\u003e\nenv: \n  APPS: my_app your_app another_app\n  EVENTS: app.create app.update\n  POLLING_FREQ: 30\n\u003c/pre\u003e\n\n## bugs / feedback / comments\n\nOpen [issues](https://github.com/jthomas/cfbot/issues) or find me on [twitter](http://twitter.com/thomasj).\nPull requests welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fcfbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthomas%2Fcfbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fcfbot/lists"}