forked from eugenebobkov/zbxpwsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cdb6b76
commit ac7d975
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,32 @@ | ||
Zabbix templates and modules for database monitoring (PowerShell, mainly on Windows, but partially tested on Linux as well) | ||
### Zabbix templates and modules for database monitoring | ||
|
||
**Purpose:** | ||
|
||
Purpose: | ||
This configuration was created for multidomain environment with limited resources, where central Zabbix Server(s) located in Management Domain only and managed(databases) hosts accessible by using Windows based management hosts in each domain. Scripted schecks run by agent installed on management servers and each check connects to database(and, in case of Windows, ) remotely, based on parameters provided to the script. | ||
|
||
Firewall configuration required only for communication between Zabbix server and its agents on management hosts as Zabbix agents are installed only on Management hosts. | ||
|
||
Scripts aliaces in templates based on UserParameter, see .conf files in zabbix_agentd.conf.d | ||
|
||
Templates: | ||
> RDBMS monitoring: | ||
**Implementation:** | ||
|
||
Modules are written in PowerShell and expected to be run on Windows, but partially it was tested on Linux as well | ||
|
||
Linux OS checks are running bash commands | ||
|
||
**Templates:** | ||
|
||
*RDBMS monitoring:* | ||
|
||
- MS SQL Server (zbx_templates/zbxmssql.xml, module zbxmssql.ps1, ADO.NET, WIP) | ||
- Oracle Database (zbx_templates/zbxoracle.xml, module zbxoracle.ps1, ADO.NET) | ||
- IBM DB2 Database (zbx_templates/zbxdb2.xml, module zbxdb2.ps1, ADO.NET) | ||
- PostgreSQL (zbx_templates/zbxpgsql.xml, module zbxpgsql.ps1, psql as connection agent | ||
|
||
TODO: Npsql not implemented yet) | ||
|
||
> OS Monitoring (mainly database related check, CPU, memory consumption and filesystems' usage) | ||
*OS Monitoring (mainly database related check, CPU, memory consumption and filesystems' usage)* | ||
- Linux (zbx_templates/zbx_db_linux.xml, no modules required, Zabbix SSH Agent, each host expected to have user with public key populated. | ||
TODO: If PowerShell based checks will be required and checks has to be done from Windows Management hosts - it will be, probably, done by using plink ) | ||
|
||
TODO: If PowerShell based checks will be required and checks has to be done from Windows Management hosts - it will be, probably, done by using ```plink``` ) | ||
- Windows (zbx_templates/zbx_db_windows.xml, module zbxdbwin.ps1, WMI remote calls) | ||
|