indece-official / sshmon-check-heketi

Nagios/Checkmk-compatible check for heketi-clusters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sshmon-check-heketi

Nagios/Checkmk-compatible SSHMon-check for Heketi-Clusters

Installation

  • Download latest Release
  • Move binary to /usr/local/bin/sshmon_check_heketi

Usage

$> sshmon_check_heketi -host 10.2.0.2 -user <youruser> -key <yourkey>
Usage of sshmon_check_heketi:
  -dns string
        Use other dns server
  -host string
        Host
  -key string
        Key
  -port int
        Port (default 5080)
  -service string
        Service name (defaults to Heketi_<host>)
  -user string
        Username
  -v    Print the version info and exit

Output:

0 Heketi_10.2.0.2 - OK - Heketi controller on 10.2.0.2 is up and running
0 Heketi_10.2.0.2_f71522478ae95e57343704b0971ae85d - OK - All 3 nodes of heketi cluster 'f71522478ae95e57343704b0971ae85d' are healthy

Development

Snapshot build

$> make --always-make

Release build

$> BUILD_VERSION=1.0.0 make --always-make

About

Nagios/Checkmk-compatible check for heketi-clusters


Languages

Language:Go 74.0%Language:Makefile 26.0%