Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenebobkov authored Dec 23, 2018
1 parent cdb6b76 commit ac7d975
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions README.md
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)

0 comments on commit ac7d975

Please sign in to comment.