commit 11182d4caa6899f2cf002589539f886f7f843aa8 Author: Stanislav N. aka pztrn Date: Tue Oct 27 03:50:52 2020 +0500 Initial commit with PostgreSQL and MySQL/MariaDB templates. diff --git a/README.md b/README.md new file mode 100644 index 0000000..562bbac --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# NetXMS things + +This repository contains a collection of useful things for NetXMS, like templates and helper scripts. Each template is suitable to be imported into NetXMS server using "Tools" -> "Import configuration". + +Each subdirectory might contain own README file. diff --git a/templates/mysql/generic/README.md b/templates/mysql/generic/README.md new file mode 100644 index 0000000..b1783f4 --- /dev/null +++ b/templates/mysql/generic/README.md @@ -0,0 +1,16 @@ +# MySQL generic metrics + +This directory contains a very comprehensive template which will monitor generic MySQL/MariaDB metrics. All available parameters are set. + +## Prerequisites + +You should have nxagent [configured to use one or more MySQL/MariaDB databases](https://www.netxms.org/documentation/adminguide/database-monitoring.html#mysql). + +## Thresholds + +This templates uses some defaults thresholds: + +* Connection pool usage: (2) >= 90% +* Maximum connection pool usage: (2) >= 90% +* Open file pool usage: (2) >= 90% +* Temporary tables created on disk: (2) >= 50% diff --git a/templates/mysql/generic/mysql-generic.xml b/templates/mysql/generic/mysql-generic.xml new file mode 100644 index 0000000..9d20113 --- /dev/null +++ b/templates/mysql/generic/mysql-generic.xml @@ -0,0 +1,1280 @@ + + + 4 + + 3.5.136 + 3.5-136-g37db5ea3c4 + Linux 4.19.0-12-amd64 + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/mysql/innodb/README.md b/templates/mysql/innodb/README.md new file mode 100644 index 0000000..32ef47c --- /dev/null +++ b/templates/mysql/innodb/README.md @@ -0,0 +1,11 @@ +# MySQL InnoDB generic metrics + +This directory contains a very comprehensive template which will monitor InnoDB-related MySQL/MariaDB metrics. All available parameters are set. + +## Prerequisites + +You should have nxagent [configured to use one or more MySQL/MariaDB databases](https://www.netxms.org/documentation/adminguide/database-monitoring.html#mysql). + +## No thresholds + +This template contains no thresholds, feel free to modify it locally according to your needs. diff --git a/templates/mysql/innodb/mysql-innodb.xml b/templates/mysql/innodb/mysql-innodb.xml new file mode 100644 index 0000000..0bf3bc5 --- /dev/null +++ b/templates/mysql/innodb/mysql-innodb.xml @@ -0,0 +1,341 @@ + + + 4 + + 3.5.136 + 3.5-136-g37db5ea3c4 + Linux 4.19.0-12-amd64 + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/mysql/myisam/README.md b/templates/mysql/myisam/README.md new file mode 100644 index 0000000..6688694 --- /dev/null +++ b/templates/mysql/myisam/README.md @@ -0,0 +1,11 @@ +# MySQL MyISAM generic metrics + +This directory contains a very comprehensive template which will monitor MyISAM-related MySQL/MariaDB metrics. All available parameters are set. + +## Prerequisites + +You should have nxagent [configured to use one or more MySQL/MariaDB databases](https://www.netxms.org/documentation/adminguide/database-monitoring.html#mysql). + +## No thresholds + +This template contains no thresholds, feel free to modify it locally according to your needs. diff --git a/templates/mysql/myisam/mysql-myisam.xml b/templates/mysql/myisam/mysql-myisam.xml new file mode 100644 index 0000000..1422434 --- /dev/null +++ b/templates/mysql/myisam/mysql-myisam.xml @@ -0,0 +1,341 @@ + + + 4 + + 3.5.136 + 3.5-136-g37db5ea3c4 + Linux 4.19.0-12-amd64 + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/postgresql/README.md b/templates/postgresql/README.md new file mode 100644 index 0000000..2d8b31e --- /dev/null +++ b/templates/postgresql/README.md @@ -0,0 +1,11 @@ +# PostgreSQL + +This directory contains a very comprehensive template which will monitor PostgreSQL server and databases for you. All available parameters are set. + +## Prerequisites + +You should have nxagent [configured to use one or more PostgreSQL server](https://www.netxms.org/documentation/adminguide/database-monitoring.html#postgresql). + +## No thresholds + +This template contains no thresholds, feel free to modify it locally according to your needs. diff --git a/templates/postgresql/postgresql.xml b/templates/postgresql/postgresql.xml new file mode 100644 index 0000000..1dc0e86 --- /dev/null +++ b/templates/postgresql/postgresql.xml @@ -0,0 +1,1636 @@ + + + 4 + + 3.5.136 + 3.5-136-g37db5ea3c4 + Linux 4.19.0-12-amd64 + + + + + + + + + + + + + + + + + + + + + +