Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (16 loc) · 608 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 608 Bytes

check_joan

monitor joan displays plugin for Nagios

Usage:

check_joan.sh -H http://joan_host:port -k api_key -s api_secret [-c <critical>] [-w <warning>] [-u]

Options:

  • -H joan server url,
  • -w battery warning level (default 15%),
  • -c battery critical level (default 5%),
  • -k api key,
  • -s api secret,
    can have prefix "file:" followed by location of the file with the secret.
  • -u show uuids in the output

Example:

check_joan.sh -H http://joan.company.com:8081 -k d4508ad5491f14df -s file:etc/joan.secret

Depends on:

curl, openssl, jq, awk