https://github.com/plantnet/munin-arangodb
ArangoDB plugin for Munin
https://github.com/plantnet/munin-arangodb
Last synced: 16 days ago
JSON representation
ArangoDB plugin for Munin
- Host: GitHub
- URL: https://github.com/plantnet/munin-arangodb
- Owner: plantnet
- License: gpl-3.0
- Created: 2024-07-22T14:52:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T09:24:00.000Z (over 1 year ago)
- Last Synced: 2024-12-29T05:42:20.264Z (12 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# munin-arangodb
ArangoDB plugin for Munin
## install
copy `munin_arangodb.sh` to whatever place, for ex. `/usr/local/munin/plugins/`
```sh
mkdir -p /usr/local/munin/plugins/
cp munin_arangodb.sh /usr/local/munin/plugins/
```
make it executable:
```sh
chmod a+x /usr/local/munin/plugins/munin_arangodb.sh
```
create symlinks in `/etc/munin/plugins/` for each metrics you wish to record, for ex.
```sh
ln -s /usr/local/munin/plugins/munin_arangodb.sh /etc/munin/plugins/arangodb_queries
```
(see "available metrics" below)
restart `munin-node`
```sh
systemctl restart munin-node
```
## available metrics
The following names can be used as symlink names to output different metrics
* arangodb_arangodump
* arangodb_connections
* arangodb_files
* arangodb_memory
* arangodb_queries
* arangodb_rocksdb_compaction
* arangodb_rocksdb_errors
* arangodb_rocksdb_wal
* arangodb_rocksdb_wal_size
* arangodb_threads
## configuration
Reading metrics from ArangoDB server requires root access.
copy `arangodb.conf.example` to `/etc/munin/plugin-conf.d/`
```sh
cp arangodb.conf.example /etc/munin/plugin-conf.d/arangodb
```
edit `/etc/munin/plugin-conf.d/arangodb` and set `env.password` to your actual ArangoDB root password