Discovery
This plugin can be integrated with Pandora FMS Discovery.
To do this, you must load the “.disco” package, which you can download from the Pandora FMS library.
Once loaded, Microsoft SQL Server environments can be monitored by creating Discovery tasks from the Management > Discovery > Applications section.
For each task, the following minimum information will be requested:
- Connection strings:
host='172.17.0.2', port=6379|redis_agent - Tentacle IP: IP address of the Tentacle server to which agent data should be sent. Normally, this parameter will not be modified.
- Tentacle Port: Port of the Tentacle server to which the data should be sent. Normally, this parameter will not be modified.
- Tentacle extra options: Additional options for sending data using the Tentacle client. Normally, this parameter will not be modified.
También se podrá ajustar la configuración de la tarea para personalizar la monitorización deseada:
- Max threads: To optimize execution time, multiple threads can be configured to monitor task agents. Keep in mind that configuring multiple threads can increase the CPU usage of the task.
- Use prefix for modules: Enable this token to specify a prefix.
- Prefix for modules created: Specify a prefix that will be added to the agents modules created.
- Use prefix for agents: Enable this token to specify a prefix.
- Prefix for agents created: Specify a prefix that will be added to the agents created.
- Regexp to filter modules: Enable this token to specify a regexp pattern for filtering.
- Allow regexp: Regex value; only modules that match this pattern will be created.
- Regexp to discard modules: Enable this token to specify a regexp pattern to discard.
- Deny regexp: Regex value, modules matching this pattern will be discarded.
-
Scan server stats : If enabled, it will monitor server statistics.
-
Scan clients stats : If enabled, it will monitor client statistics.
-
Scan memory stats : If enabled, it will monitor memory statistics.
-
Scan persistance stats : If enabled, it will monitor persistence statistics.
-
Scan threads stats :If enabled, it will monitor thread statistics.
-
Scan stats : If enabled, it will monitor general Redis statistics.
-
Scan replication stats : If enabled, it will monitor replication statistics.
-
Scan CPU stats : If enabled, it will monitor CPU statistics.
-
Scan command stats : If enabled, it will monitor command statistics.
-
Scan latency stats : If enabled, it will monitor latency statistics.
-
Scan cluster stats : If enabled, it will monitor cluster statistics.
-
Scan modules stats : If enabled, it will monitor module statistics.
-
Scan keyspace stats : If enabled, it will monitor keyspace statistics.
-
Scan error stats : If enabled, it will monitor error statistics.
- Define tresholds:
EnInestethisapartadosection,seyoupuedecanespecificarspecifyumbralesthresholdsquethatsewillaplicaranbe applied to the modules. You can specify alosmodulemódulos.nameSetopuedewhichespecificartheunthresholdnombrewilldebemóduloapplied,queorsera en el que se aplique el umbral, o un patron dea regexpparapatternañadirtoeladdumbraltheenthresholdlostomódulosmodulesquecontainingcontengan esethat regexp.
LaThe sintaxissyntax parafor especificarspecifying cadaeach query semust debebe especificarspecified enon unaa lineadifferent diferenteline parafor cadaeach umbralthreshold yand esis laas siguiente :follows:
< nombre modulo a aplicar el umbral, o patron de regexp > [< tipo, name si es un nombre o regexp si es patron ] = umbral, separando cada umbral por | >
PorFor ejemploexample, siif queremoswe aplicarwant umbralesto apply thresholds to a unspecific módulo concreto:module:
SiIf queremoswe aplicarwant umbralesto apply thresholds to a ungroup grupoof demodules, módulos,determined determinadosby por un patrona regexp :pattern:
- Custom queries:
BloqueConfigurationdeblockconfiguracióntoparadefinedefinirthelascustomconsultasqueriespersonalizadastoquebeseexecuted.ejecutarán.EachCadaqueryconsultawillgenerarágenerateunanuevonewmódulomoduleparaforcadaeachagentetaskde la tarea.agent.
LaThe sintaxissyntax parafor especificarspecifying cadaeach umbralthreshold semust debebe especificarspecified enon unaa lineadifferent diferenteline parafor cadaeach query yand esis laas siguiente :follows:
< nombre módulo > | < tipo modulo > | < nombre index > | < query > | < field (opcional) >
Por ejemplo:Example:
El
The campo,field sirvesection parais especificarused unato "key"specify dela documento“key” enfor elthe quedocument extraerfrom elwhich valor.to Siextract nothe sevalue. usa,If oit siis lanot used, or if the query devuelvereturns variosmultiple documentos,documents, elthe valorvalue serawill losbe documentosthe endocuments string.
in string format.
Las
Successfully tareascompleted quetasks sewill completenhave exitosamentean dispondránexecution desummary unwith sumariothe defollowing ejecución con la siguiente información:information:
- Total agents: Total
deagentsagentesgeneratedgeneradosbyporthela tarea.task.
LasTasks tareasthat queare nonot sesuccessfully completencompleted exitosamentewill dispondránhave dean unexecution sumariosummary derecording ejecuciónthe registrandoerrors losthat errores producidos.occurred.








