项目作者: VitexSoftware

项目描述 :
Nagios/Icinga plugins for monitoring Czech Economic system FlexiBee
高级语言: PHP
项目地址: git://github.com/VitexSoftware/monitoring-plugins-abraflexi.git
创建时间: 2017-09-01T16:14:55Z
项目社区:https://github.com/VitexSoftware/monitoring-plugins-abraflexi

开源协议:Other

下载


Package Logo

monitoring-plugins-abraflexi

Nagios/Icinga plugins for monitoring Czech Economic system AbraFlexi

There is two plugins:

  • check_abraflexi - check if AbraFlexi server is up and operational with valid License
  • check_abraflexi_webhooks - check for zero webhooks penalty

Usage

  1. /usr/lib/nagios/plugins/check_abraflexi -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company

Example:

  1. /usr/lib/nagios/plugins/check_abraflexi_webhooks -s https://demo.flexibee.eu -u winstrom -p winstrom -c demo

Debian Configure

Configuration

  1. define command{
  2. command_name check_abraflexi
  3. command_line $USER1$/check_abraflexi -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company
  4. }
  5. define command{
  6. command_name check_abraflexi_webhooks
  7. command_line $USER1$/check_abraflexi_webhooks -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company
  8. }

You can also use only -f or —file switch to specify use of config file.
Default config file location is /etc/abraflexi/client.json ( also provided by php-abraflexi-config debian package )

Example of /etc/nagions/nrpe.d/abraflexi.cfg :

  1. command[check_flexibe]=/usr/lib/nagios/plugins/check_abraflexi -f
  2. command[check_abraflexi_webhooks]=/usr/lib/nagios/plugins/check_abraflexi_webhooks
  3. command[check_abraflexi_webhook1]=/usr/lib/nagios/plugins/check_abraflexi_webhooks -w https://site.tld/webhook.php
  4. command[check_abraflexi_webhook2]=/usr/lib/nagios/plugins/check_abraflexi_webhooks -w https://hook.integromat.com/xxxxxxxx

Without -f swith the undergoing library php-abraflexi try to use Environment variables:

ABRAFLEXI_URL, ABRAFLEXI_LOGIN, ABRAFLEXI_PASSWORD, ABRAFLEXI_COMPANY

License Expiry

Debian/Ubuntu

Pro Linux jsou k dispozici .deb balíčky. Prosím použijte repo:

  1. sudo apt install lsb-release wget
  2. echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
  3. sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
  4. sudo apt update
  5. sudo apt install monitoring-plugins-abraflexi

Takto vypadá instalace balíčku pomocí gdebi:

Debian Install

Dependencies