{"id":18567161,"url":"https://github.com/open-falcon/dashboard","last_synced_at":"2025-04-04T14:05:50.588Z","repository":{"id":32080869,"uuid":"35652835","full_name":"open-falcon/dashboard","owner":"open-falcon","description":"falcon-plus frontend","archived":false,"fork":false,"pushed_at":"2023-05-01T20:15:04.000Z","size":1519,"stargazers_count":371,"open_issues_count":30,"forks_count":242,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-03-28T13:06:10.457Z","etag":null,"topics":["data-visualization","falcon","monitoring","open-falcon"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-falcon.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}},"created_at":"2015-05-15T04:17:14.000Z","updated_at":"2025-02-12T04:33:51.000Z","dependencies_parsed_at":"2024-01-23T21:20:35.099Z","dependency_job_id":"ca18a7b0-1340-4888-8020-8557de2f4336","html_url":"https://github.com/open-falcon/dashboard","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-falcon%2Fdashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-falcon%2Fdashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-falcon%2Fdashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-falcon%2Fdashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-falcon","download_url":"https://codeload.github.com/open-falcon/dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190163,"owners_count":20898697,"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":["data-visualization","falcon","monitoring","open-falcon"],"created_at":"2024-11-06T22:25:42.309Z","updated_at":"2025-04-04T14:05:50.568Z","avatar_url":"https://github.com/open-falcon.png","language":"JavaScript","readme":"## Introduction\n\ndashboard is the Open-Falcon unified default frontend component, including:\n\n- user-defined dashboard and screen.\n- configure managent of alerting, hostgroup, template. \n- alerting history managent and display.\n- team management.\n- combine the multiple alerting.\n- user management, such as login, logout, register, ldap_login, etc.\n\nOpen-Falcon homepage：[http://open-falcon.org](http://open-falcon.org)\n\n## Demo site\n- [dashboard demo](http://116.85.44.234:8081/), user:`test`, password:`test123`\n\n## i18n\nOpen-Falcon natively support zh_CN and currently partially support English. Any translation will be appreciated.\n\n[How to participate in the translation](./i18n.md)\n\n\n## Run in docker\n- [run dashboard in docker container](https://github.com/open-falcon/falcon-plus/blob/master/docker/README.md)\n\n## Clone \u0026 Prepare\n```\nexport HOME=/home/work/\n\nmkdir -p $HOME/open-falcon/\ncd $HOME/open-falcon \u0026\u0026 git clone https://github.com/open-falcon/dashboard.git\ncd dashboard;\n\n```\n\n## Install dependency\n\n- **CentOS**\n\n```\nyum install -y python-virtualenv\nyum install -y python-devel\nyum install -y openldap-devel\nyum install -y mysql-devel\nyum groupinstall \"Development tools\"\n\n\ncd $HOME/open-falcon/dashboard/\nvirtualenv ./env\n\n./env/bin/pip install -r pip_requirements.txt\n```\n\n- **Ubuntu**\n\n```\napt-get install -y python-virtualenv\napt-get install -y slapd ldap-utils\napt-get install -y libmysqld-dev\napt-get install -y build-essential\napt-get install -y python-dev libldap2-dev libsasl2-dev libssl-dev\n\ncd $HOME/open-falcon/dashboard/\nvirtualenv ./env\n\n./env/bin/pip install -r pip_requirements.txt\n```\n\n## Init database\n```\ncd /tmp/ \u0026\u0026 git clone https://github.com/open-falcon/falcon-plus.git \ncd /tmp/falcon-plus/scripts/mysql/db_schema/\nmysql -h 127.0.0.1 -u root -p \u003c 1_uic-db-schema.sql\nmysql -h 127.0.0.1 -u root -p \u003c 2_portal-db-schema.sql\nmysql -h 127.0.0.1 -u root -p \u003c 3_dashboard-db-schema.sql\nmysql -h 127.0.0.1 -u root -p \u003c 4_graph-db-schema.sql\nmysql -h 127.0.0.1 -u root -p \u003c 5_alarms-db-schema.sql\nrm -rf /tmp/falcon-plus/\n```\n\n**if you are upgrading from v0.1 to version v0.2.0(or above),then**\n\n    mysql -h 127.0.0.1 -u root -p \u003c 5_alarms-db-schema.sql\n\n\n## Configure\n\nThe open-falcon modules' configuration files is `path/to/open-falcon-binaries/\u003cmoduleName\u003e/config/cfg.json`, change them if necessary.\n\n**MAKE SURE** Open-falcon api module is up running and works as expcted before start dashboard.\n\n\n    dashboard config file is 'rrd/config.py', change it if necessary.\n\n    ## set API_ADDR to your falcon-plus api modules addr, default value as bellow:\n    API_ADDR = \"http://127.0.0.1:8080/api/v1\" \n\n    ## set PORTAL_DB_* if necessary, default mysql user is root, default passwd is \"\"\n    ## set ALARM_DB_* if necessary, default mysql user is root, default passwd is \"\"\n    ## if following error msg occurred, please check DB config in rrd/config.py\n    \n    Error 'NoneType' object has no attribute 'cursor'\n\n## Start in debug mode\n\n    $ source ./env/bin/python wsgi.py\n    $ export FLASK_ENV=development\n    $ flask run --host=0.0.0.0 --port=8081\n\n\n    open http://127.0.0.1:8081 in your browser.\n\n\n## Run with gunicorn in production mode\n\n    $ bash control start\n\n    open http://127.0.0.1:8081 in your browser.\n\n\n## Stop gunicorn\n\n    $ bash control stop\n\n## Check log\n\n    $ bash control tail\n\n\n## Screenshots\n\n\u003cimg src=\"screenshots/dashboard.jpeg\" width=500px /\u003e\n\u003cimg src=\"screenshots/alarm-dashboard-case.jpeg\" width=500px /\u003e\n\u003cimg src=\"screenshots/alarm-dashboard-case-events.jpeg\" width=500px /\u003e\n \n## Mailing lists\n\n- [openfalcon-users](https://groups.google.com/forum/#!forum/openfalcon-users) – for discussions around openfalcon usage and community support\n- [openfalcon-developers](https://groups.google.com/forum/#!forum/openfalcon-developers) – for discussions around openfalcon development\n\n## Issue tracker\n\nWe are using the [github issue tracker](https://github.com/open-falcon/falcon-plus/issues) for the various Open-Falcon repositories to fix bugs and features request. If you need support, please send your questions to the [openfalcon-users](https://groups.google.com/forum/#!forum/openfalcon-users) mailing list rather than filing a GitHub issue.\n\nPlease do not ask individual project members for support. Use the channels above instead, where the whole community can help you and benefit from the solutions provided. If community support is insufficient for your situation, please refer to the Commercial Support section below.\n\n## Contributing\nWe welcome community contributions! Open-Falcon uses GitHub to manage reviews of pull requests.\n\nIf you have a trivial fix or improvement, go ahead and create a pull request, addressing (with `@...`) the maintainer of this repository in the description of the pull request.\n\nIf you plan to do something more involved, first discuss your ideas on our mailing list. This will avoid unnecessary work and surely give you and us a good deal of inspiration.\n\n## Acknowledgements\n\nOpen-Falcon was initially started by Xiaomi and we would also like to acknowledge early contributions by engineers from these companies.\n\n[Wei Lai](https://github.com/laiwei) is the founder of Open-Falcon software and community. \n\nThe Open-Falcon logo and website were contributed by Cepave Design Team.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-falcon%2Fdashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-falcon%2Fdashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-falcon%2Fdashboard/lists"}