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

monitor joan displays plugin for Nagios

License

Notifications You must be signed in to change notification settings

anilech/check_joan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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