Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitexsoftware/monitoring-plugins-abraflexi
Nagios/Icinga plugins for monitoring Czech Economic system FlexiBee
https://github.com/vitexsoftware/monitoring-plugins-abraflexi
debian easephp flexibee icinga-plugin monitoring-plugins-flexibee nagios
Last synced: about 18 hours ago
JSON representation
Nagios/Icinga plugins for monitoring Czech Economic system FlexiBee
- Host: GitHub
- URL: https://github.com/vitexsoftware/monitoring-plugins-abraflexi
- Owner: VitexSoftware
- License: other
- Created: 2017-09-01T16:14:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-22T19:39:46.000Z (about 1 year ago)
- Last Synced: 2023-11-22T20:32:05.391Z (about 1 year ago)
- Topics: debian, easephp, flexibee, icinga-plugin, monitoring-plugins-flexibee, nagios
- Language: PHP
- Size: 410 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: license-expiry-check.png
Awesome Lists containing this project
README
![Package Logo](social-preview.svg?raw=true "Project Logo")
# monitoring-plugins-abraflexiNagios/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 penaltyUsage
-----/usr/lib/nagios/plugins/check_abraflexi -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company
Example:
/usr/lib/nagios/plugins/check_abraflexi_webhooks -s https://demo.flexibee.eu -u winstrom -p winstrom -c demo
![Debian Configure](monitoring-plugins-abraflexi.png?raw=true "run")
Configuration
-------------```
define command{
command_name check_abraflexi
command_line $USER1$/check_abraflexi -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company
}
define command{
command_name check_abraflexi_webhooks
command_line $USER1$/check_abraflexi_webhooks -s https://$HOSTADDRESS$ -u USERNAME -p PASSWORD -c company
}
```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](https://github.com/VitexSoftware/php-abraflexi-config) debian package )Example of [/etc/nagions/nrpe.d/abraflexi.cfg](debian/conf/abraflexi.cfg) :
```
command[check_flexibe]=/usr/lib/nagios/plugins/check_abraflexi -f
command[check_abraflexi_webhooks]=/usr/lib/nagios/plugins/check_abraflexi_webhooks
command[check_abraflexi_webhook1]=/usr/lib/nagios/plugins/check_abraflexi_webhooks -w https://site.tld/webhook.php
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](license-expiry-check.png?raw=true "License")
Debian/Ubuntu
-------------Pro Linux jsou k dispozici .deb balíčky. Prosím použijte repo:
```shell
sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install monitoring-plugins-abraflexi
```Takto vypadá instalace balíčku pomocí gdebi:
[Debian Install](debian-install.png)
Dependencies
------------* https://github.com/VitexSoftware/php-ease-core
* https://github.com/Spoje-NET/php-abraflexi