Skip to content
Snippets Groups Projects
Commit 996f709b authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Separate plugin and local for gluster

parent 17161344
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,8 @@ Installs the contrack agent plugin from heinlein. ...@@ -56,7 +56,8 @@ Installs the contrack agent plugin from heinlein.
Installs the gluster agent plugin. Installs the gluster agent plugin.
It is a custom plugin from us - located in `checkmk/custom-files/gluster`. It is a custom plugin from us - located in `checkmk/custom-files/gluster`.
Documentation is currently located inside of the bash script. It provies a plugin `checkmk/custom-files/plugins/mount.gluster` to yield glusterfs mounts in the `<<<mounts>>>` section.
It also provides a [local check](https://checkmk.com/cms_localchecks.html) that provides information about the glusterfs volumes and bricks.
### `checkmk.debian.netstat` ### `checkmk.debian.netstat`
......
File moved
#!/bin/bash
# expose glusterfs mounts
# https://github.com/bbhenry/check_mk_agent/blob/master/plugins/mk_gluster_mount.sh
echo "<<<mounts>>>";
grep fuse.glusterfs < /proc/mounts
\ No newline at end of file
hsh_checkmk_gluster_plugin: hsh_checkmk_gluster_mounts_plugin:
file.managed: file.managed:
- name: /usr/lib/check_mk_agent/plugins/gluster - name: /usr/lib/check_mk_agent/plugins/mounts.gluster
- source: salt://checkmk/custom-files/gluster - source: salt://checkmk/custom-files/plugins/mounts.gluster
- mode: 755 - mode: 755
- user: root - user: root
- group: root - group: root
hsh_checkmk_gluster_local:
file.managed:
- name: /usr/lib/check_mk_agent/local/gluster
- source: salt://checkmk/custom-files/local/gluster
- mode: 755
- user: root
- group: root
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment