{"id":18717029,"url":"https://github.com/scouter-project/scouter-mariadb-plugin","last_synced_at":"2025-08-24T14:48:20.086Z","repository":{"id":96420351,"uuid":"48408974","full_name":"scouter-project/scouter-mariadb-plugin","owner":"scouter-project","description":"MariaDB Plugin for Scouter","archived":false,"fork":false,"pushed_at":"2016-02-25T11:14:18.000Z","size":5943,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"maria-10.0","last_synced_at":"2025-05-19T13:11:19.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scouter-project.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}},"created_at":"2015-12-22T03:48:01.000Z","updated_at":"2016-02-27T18:37:18.000Z","dependencies_parsed_at":"2023-05-09T17:16:43.906Z","dependency_job_id":null,"html_url":"https://github.com/scouter-project/scouter-mariadb-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scouter-project/scouter-mariadb-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scouter-project%2Fscouter-mariadb-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scouter-project%2Fscouter-mariadb-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scouter-project%2Fscouter-mariadb-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scouter-project%2Fscouter-mariadb-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scouter-project","download_url":"https://codeload.github.com/scouter-project/scouter-mariadb-plugin/tar.gz/refs/heads/maria-10.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scouter-project%2Fscouter-mariadb-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260116643,"owners_count":22961064,"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-07T13:14:34.228Z","updated_at":"2025-06-16T07:07:56.045Z","avatar_url":"https://github.com/scouter-project.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scouter-mariadb-plugin\nMariaDB Plugin for Scouter\n\n \n\nMariadb plugin for scouter\n==============================================\nThis is alpha version, so we recommand to use test Environments.\n\nCurrent version has been tested in Mariadb version 10.0.20 and 10.0.21.\nWe will support for other versions soon.\n\n\n**Feature**\n\n1. Plugin for mariadb monitoring on scouter apm tool env.\n2. No SQL Method, it use API Function in MariaDB source\n3. So Minimun resource use ( 0.5% lower cpu, 1% lower memory)\n4. Easy install \u0026 uninstall ( it's mariadb plugin)\n\n## Preinstallation Task\n\n### Software requirements\n\nVerify that the following software is installed on your system:\n\n   * git\n   * gunzip\n   * GNU tar\n   * gcc 2.95.2 or later\n   * g++\n   * GNU make 3.75 or later\n   * bison (2.0 for MariaDB 5.5)\n   * libncurses\n   * zlib-dev\n   * cmake\n   * jemalloc \n\nOn Linux you can get those programs with your package manager. An easy way to install the needed programs on Linux is to run one of the following commands(depending on your Linux distribution)\n```sh\n  sudo apt-get build-dep mysql-server # for Debian and Ubuntu-based distributions\n  sudo yum-builddep mysql # for Fedora 17-18 (part of the yum-utils package)\n  sudo yum-builddep mariadb # for Fedora 19+ (part of the yum-utils package)\n  sudo zypper si -d mysql-community-server # for OpenSUSE   \n```\n\n### System requirements\nScouter-mariadb-plugin sends performance data to Scouter server via socket. Verify that network ports open.\n   * 6100 / tcp, udp  (source : mariadb server, target : scouter server)\n\n\n\n\n## Build\n    \n   1. Download mariadb source from maria site (https://downloads.mariadb.org/ or mirror site \n        ftp://ftp.kaist.ac.kr/mariadb/mariadb-10.0.21/source/mariadb-10.0.21.tar.gz)\n   2. unzip source file\n   \n   ```sh\n   tar zxvf mariadb-xxx.xxx.xxx.tar.gz  (xxx means mariadb version)\n   ```\n   3. download scouter-maradb-plugin source. $MARIADB_SRC_DIR is a mariadb source directory.\n    \n   ```sh\n    cd $MARIADB_SRC_DIR/plugin                            \n    git clone https://github.com/scouter-project/scouter-mariadb-plugin\n   ```\n   4. Run **cmake** command in the mariadb source directory.\n   \n   ```sh\n   cd $MARIADB_SRC_DIR\n   cmake -DBUILD_CONFIG=mysql_release -DWITH_JEMALLOC=no . \n   ```\n   5. Run **make** command in the scouter-mariadb-plugin source directory.\n   \n   ```sh\n   cd $MARIADB_SRC_DIR/plugin/scouter-mariadb-plugin\n   make \n   ```\n   If make runs successfully, you'll find libspotter.so file in the $MARIADB_SRC_DIR/plugin/scouter-mariadb-plugin/src.\n \n  \n \n## Install\n   1. Copy scouter-mariadb-plugin library to mariadb plugin directory. $MARIADB_INSTALL_DIR is a mariadb installation directory.\n   \n   ```sh\n        cd $MARIADB_SRC_DIR/plugin/scouter-mariadb-plugin/src\n        cp libspotter.so $MARIADB_INSTALL_DIR/lib/plugin\n   ```\n      \n   2. A plugin located in a plugin library file can be loaded at runtime with the INSTALL PLUGIN statement. \n   \n   ```sh\n     INSTALL PLUGIN spotter SONAME 'libspotter.so';\n   ```\n   3. Setting system global variable for scouter server ip address\n   \n   ```sh\n   show variables like 'spotter%'\n   set global spotter_server_ip=\"xxx.xxx.xxx.xxx\";\n   ```\n\n## Uninstall plugin \nTo uninstall scouter-mariadb-plugin, use UNINSTALL PLUGIN command.\n\n```sh\n   uninstall plugin spotter;\n```\n    \n## License\n\nMaridb plugin for scouter is specifically available only under version 2 of the GNU\nGeneral Public License (GPLv2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscouter-project%2Fscouter-mariadb-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscouter-project%2Fscouter-mariadb-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscouter-project%2Fscouter-mariadb-plugin/lists"}