SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
Pandora FMS
Administrator Manual
MongoDB Monitoring
Administrator Manual MongoDB Monitoring
© Artica Soluciones Tecnológicas 2005-2012
Index
1Changelog...........................................................................................................................................3
2Introduction........................................................................................................................................4
3Compatibility matrix .........................................................................................................................5
4Documentation provided by the requesting area................................................................................6
5Modules provided by MongoDB plugin ............................................................................................7
6Requisites ..........................................................................................................................................8
6.1.Configuration of the MongoDB instance...................................................................................8
7File Configuration..............................................................................................................................9
8Installing...........................................................................................................................................10
9Configuration and deployment.........................................................................................................11
1 CHANGELOG
Date Author Change Version
22/11/12 Tomas First version v1r1
2 INTRODUCTION
Page 3
The main objective of this document is the description of the MongoDB database monitoring
procedures on Linux-based systems. We have chosen a set of “base” modules based on our
experience in system monitoring and on the needs of some of our clients.
To extract the information we use:
• An external configuration file where all the plugin parameterization is defined.
• We use the software already installed in the system (mongo, mongostat, awk, grep, etc), for
the monitoring done by the plugin without having to install libraries or third party tools.
• The system is integrated with the Unix agent and with the capacity of distributing file
collections. That way it is posible to distribute the plugin on the one hand and the file
collections in an individual way-by agent-and/or by policies on the other hand.
3 COMPATIBILITY MATRIX
The compatibility matrix for MongoDB monitoring is:
Page 4
Systems where it has been tested • MongoDB v2.2.1
Systems where it should work • MongoDB v2.0.8 or above
4 DOCUMENTATION PROVIDED BY THE REQUESTING AREA
In order to get the MongoDB monitoring done correctly, it is necessary that the technical Area sends some
specific information that will be included in the configuration files. This information is the following:
Page 5
• Port where the MongoDB database is listening.
• Credentials needed to connect to the database, if any.
• MongoDB Config Server port.
• Name of the MongoDB database (case sensitive!).
• MongoDB instance listening IP.
5 MODULES PROVIDED BY MONGODB PLUGIN
This plugin returns 16 modules by instance. All of them generate status graphs. You should fix
thresholds manually to determine whether something is in a warning/critical operative.
• MongoDB_Inserts_$CFG_HOST:$CFG_PORT: DB Inserts per second for this
instance.
Page 6
• MongoDB_Queries_$CFG_HOST:$CFG_PORT: DB Queries per second for this
instance.
• MongoDB_Updates_$CFG_HOST:$CFG_PORT: DB Updates per second for this
instance.
• MongoDB_Deletes_$CFG_HOST:$CFG_PORT: DB Deletes per second for this
instance.
• MongoDB_Getmores_$CFG_HOST:$CFG_PORT: DB Getmores per second for this
instance.
• MongoDB_Commands_$CFG_HOST:$CFG_PORT: DB Commands per second for
this instance.
• MongoDB_Flushes_$CFG_HOST:$CFG_PORT: DB Fsync flushes per second for
this instance.
• MongoDB_PageFaults_$CFG_HOST:$CFG_PORT: DB Page faults per second for
this instance.
• MongoDB_IdxMiss_$CFG_HOST:$CFG_PORT: DB bttree page missed percentage
for this instance.
• MongoDB_ClientReadQueueLength_$CFG_HOST:$CFG_PORT: DB Client read
queue length for this instance.
• MongoDB_ClientWriteQueueLength_$CFG_HOST:$CFG_PORT: DB Client write
queue length for this instance.
• MongoDB_ActiveClientsReading_$CFG_HOST:$CFG_PORT: DB Active reading
clients for this instance.
• MongoDB_ActiveClientsWriting_$CFG_HOST:$CFG_PORT: DB Active writing
clients for this instance.
• MongoDB_NetworkTrafficInBits_$CFG_HOST:$CFG_PORT: DB Network traffic
in bits for this instance.
• MongoDB_NetworkTrafficOutBits_$CFG_HOST:$CFG_PORT: DB Network
traffic out bits for this instance.
• MongoDB_OpenConns_$CFG_HOST:$CFG_PORT: DB Open connections for this
instance.
6 REQUISITES
The MongoDB monitoring is done basically getting data through MongoDB system command
mongostat and through the execution of commands in the Operative System.
Page 7
The requisites to this monitoring could work correctly are the followings:
• To install the Pandora agent (>3.2.1)
• MongoDB instance configuration to accept connections using mongostat.
• Mongo bin folder (where mongostat resides) must be located in the user PATH.
6.1. Configuration of the MongoDB instance
In this section is explained how to deploy and start a MongoDB instance in a Linux-based server. If
you want to deploy multiple instances and monitor sharding controllers, please keep in mind that
this kind of MongoDB instance currently doesn't provide all the information mentioned above, but
a limited set of modules. The steps required to achieve this are simple: are the following: first find
the MongoDB daemon (mongod) and start up as many instances as you need, providing the
listening port, DB path and instance role as parameters:
• Instance startup sample: mongod --rest --dbpath /data/sharddb --shardsvr >&
/var/log/mongoshardsvr.log & (in this case the default port for shard svrs, 27018, is used)
The following document explains how to display and configure the MongoDB instance properly:
http://docs.mongodb.org/manual/administration/configuration/
However, the monitoring system will be able to work right after the instance startup, without
having to wait for additional configuration.
7 FILE CONFIGURATION
The plugin needs to be configured correctly, through an external configuration file in order to
monitor it properly.
NOTE: It is extremely important to consider that the configuration files thought for the plugin in
Page 8
UNIX should be edited and stored with carriage returns type “UNIX” and that if we use carriage
returns type “WINDOWS” the plugin will not work properly.
The configuration file has the following syntax, that we show as example:
mongodb_stats mongostat;check_dbstats;;localhost;27019
The configuration file could have one or several lines, so each line defines the following things:
• Primary operation to execute. (only mongodb_stats as of now)
• Tool used to perform that operation. (should be mongostat, since its location should be
added to the system PATH of the user that executes the agent, otherwise, the absolute path
should be needed as well)
• Operation execution mode. (only check_dbstats mode is supported right now)
• Whether the instance is a sharding controller or not (if it's not the case, leave it blank)
• IP where the MongoDB instance is listening.
• Port where the MongoDB instance is listening.
Each parameter is separated with the “;” character, as we have seen in the previous example.
Authentication support will become available in the next version.
8 INSTALLING
Copy the plugin to the agent plugin directory, or distribute it with file collections. Do the same with
the file conf. The call from the agent will be similar to this, but using the paths where the plugin
Page 9
and conf are.
module_plugin /var/opt/PandoraFMS/etc/pandora/plugins/Pandora_Plugin_MongoDB_v1r1.pl
/var/opt/PandoraFMS/etc/pandora/collections/fc_23/zbea-mongodb.conf
Note: the path of configuration file and plugin file could be what you want.
9 CONFIGURATION AND DEPLOYMENT
The use of these scripts with policies is easy. It is based on creating a policy that contains the
plugin (Pandora_Plugin_MongoDB_v1r1.pl) and a configuration file for each agent. So the call to
the policy plugin uses the $HOST and $PORT variables in that file in order to monitor the
instances needed for each server.
Page 10
If the machine is called ilp0x068.tsm.inet, then we should updload a file with the name:
ilp0x068.tsm.inet-mongodb.conf
And use this hostname as the HOST variable inside the configuration file.
The content of the .conf is specific for each system, but all the .conf are copied to all the systems
associated to the policy. However, even by providing a good credential set, only the user that
executes the pandora agent can read these .conf, so this user should also be able to execute the
system commands needed to monitor Mongo (mongostat in this case).
Page 11

Más contenido relacionado

La actualidad más candente

What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...ScaleGrid.io
 
Nvmfs benchmark
Nvmfs benchmarkNvmfs benchmark
Nvmfs benchmarkLouis liu
 
Security of go modules and vulnerability scanning in go center (1)
Security of go modules and vulnerability scanning in go center (1)Security of go modules and vulnerability scanning in go center (1)
Security of go modules and vulnerability scanning in go center (1)Deep Datta
 
Css讲解及使用
Css讲解及使用Css讲解及使用
Css讲解及使用陈 翔
 
Tuning Elasticsearch Indexing Pipeline for Logs
Tuning Elasticsearch Indexing Pipeline for LogsTuning Elasticsearch Indexing Pipeline for Logs
Tuning Elasticsearch Indexing Pipeline for LogsSematext Group, Inc.
 
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...Ontico
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS
 
HandlerSocket - A NoSQL plugin for MySQL
HandlerSocket - A NoSQL plugin for MySQLHandlerSocket - A NoSQL plugin for MySQL
HandlerSocket - A NoSQL plugin for MySQLJui-Nan Lin
 
Security in PHP - 那些在滲透測試的小技巧
Security in PHP - 那些在滲透測試的小技巧Security in PHP - 那些在滲透測試的小技巧
Security in PHP - 那些在滲透測試的小技巧Orange Tsai
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Yiwei Ma
 
Art of Web Backdoor - Pichaya Morimoto
Art of Web Backdoor - Pichaya MorimotoArt of Web Backdoor - Pichaya Morimoto
Art of Web Backdoor - Pichaya MorimotoPichaya Morimoto
 
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22Yuya Takei
 
How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018Antonios Giannopoulos
 
HandlerSocket plugin for MySQL (English)
HandlerSocket plugin for MySQL (English)HandlerSocket plugin for MySQL (English)
HandlerSocket plugin for MySQL (English)akirahiguchi
 
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...CODE BLUE
 
2015.07.16 Способы диагностики PostgreSQL
2015.07.16 Способы диагностики PostgreSQL2015.07.16 Способы диагностики PostgreSQL
2015.07.16 Способы диагностики PostgreSQLdev1ant
 

La actualidad más candente (20)

What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
 
Nvmfs benchmark
Nvmfs benchmarkNvmfs benchmark
Nvmfs benchmark
 
Security of go modules and vulnerability scanning in go center (1)
Security of go modules and vulnerability scanning in go center (1)Security of go modules and vulnerability scanning in go center (1)
Security of go modules and vulnerability scanning in go center (1)
 
Css讲解及使用
Css讲解及使用Css讲解及使用
Css讲解及使用
 
Tuning Elasticsearch Indexing Pipeline for Logs
Tuning Elasticsearch Indexing Pipeline for LogsTuning Elasticsearch Indexing Pipeline for Logs
Tuning Elasticsearch Indexing Pipeline for Logs
 
ZODB Tips and Tricks
ZODB Tips and TricksZODB Tips and Tricks
ZODB Tips and Tricks
 
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL Plugin
 
HandlerSocket - A NoSQL plugin for MySQL
HandlerSocket - A NoSQL plugin for MySQLHandlerSocket - A NoSQL plugin for MySQL
HandlerSocket - A NoSQL plugin for MySQL
 
Security in PHP - 那些在滲透測試的小技巧
Security in PHP - 那些在滲透測試的小技巧Security in PHP - 那些在滲透測試的小技巧
Security in PHP - 那些在滲透測試的小技巧
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册
 
Ruby Postgres
Ruby PostgresRuby Postgres
Ruby Postgres
 
Art of Web Backdoor - Pichaya Morimoto
Art of Web Backdoor - Pichaya MorimotoArt of Web Backdoor - Pichaya Morimoto
Art of Web Backdoor - Pichaya Morimoto
 
SSRF workshop
SSRF workshop SSRF workshop
SSRF workshop
 
PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22PFIセミナー資料 H27.10.22
PFIセミナー資料 H27.10.22
 
How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018
 
HandlerSocket plugin for MySQL (English)
HandlerSocket plugin for MySQL (English)HandlerSocket plugin for MySQL (English)
HandlerSocket plugin for MySQL (English)
 
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! ...
 
Hack ASP.NET website
Hack ASP.NET websiteHack ASP.NET website
Hack ASP.NET website
 
2015.07.16 Способы диагностики PostgreSQL
2015.07.16 Способы диагностики PostgreSQL2015.07.16 Способы диагностики PostgreSQL
2015.07.16 Способы диагностики PostgreSQL
 

Similar a Pandora FMS: MongoDB plugin

Mongo db sharding_cluster_installation_guide
Mongo db sharding_cluster_installation_guideMongo db sharding_cluster_installation_guide
Mongo db sharding_cluster_installation_guidePhilip Zhong
 
Mongo db program_installation_guide
Mongo db program_installation_guideMongo db program_installation_guide
Mongo db program_installation_guidePhilip Zhong
 
Mongo db reference-manual
Mongo db reference-manualMongo db reference-manual
Mongo db reference-manualDan Llimpe
 
Mongo db reference manual
Mongo db reference manualMongo db reference manual
Mongo db reference manualDeysi Gmarra
 
Pandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise PluginPandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise PluginPandora FMS
 
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...MongoDB
 
Mongo performance tuning: tips and tricks
Mongo performance tuning: tips and tricksMongo performance tuning: tips and tricks
Mongo performance tuning: tips and tricksVladimir Malyk
 
MongoDB basics & Introduction
MongoDB basics & IntroductionMongoDB basics & Introduction
MongoDB basics & IntroductionJerwin Roy
 
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...MongoDB
 
MongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL DatabaseMongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL DatabaseFITC
 
Java Persistence Frameworks for MongoDB
Java Persistence Frameworks for MongoDBJava Persistence Frameworks for MongoDB
Java Persistence Frameworks for MongoDBMongoDB
 
Mdb dn 2016_07_elastic_search
Mdb dn 2016_07_elastic_searchMdb dn 2016_07_elastic_search
Mdb dn 2016_07_elastic_searchDaniel M. Farrell
 
BedCon 2013 - Java Persistenz-Frameworks für MongoDB
BedCon 2013 - Java Persistenz-Frameworks für MongoDBBedCon 2013 - Java Persistenz-Frameworks für MongoDB
BedCon 2013 - Java Persistenz-Frameworks für MongoDBTobias Trelle
 
Architecting Wide-ranging Analytical Solutions with MongoDB
Architecting Wide-ranging Analytical Solutions with MongoDBArchitecting Wide-ranging Analytical Solutions with MongoDB
Architecting Wide-ranging Analytical Solutions with MongoDBMatthew Kalan
 
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...MongoDB
 
Running MongoDB Enterprise on Kubernetes
Running MongoDB Enterprise on KubernetesRunning MongoDB Enterprise on Kubernetes
Running MongoDB Enterprise on KubernetesAriel Jatib
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manualPramod Sharma
 
Setting up mongodb sharded cluster in 30 minutes
Setting up mongodb sharded cluster in 30 minutesSetting up mongodb sharded cluster in 30 minutes
Setting up mongodb sharded cluster in 30 minutesSudheer Kondla
 

Similar a Pandora FMS: MongoDB plugin (20)

Mongo db sharding_cluster_installation_guide
Mongo db sharding_cluster_installation_guideMongo db sharding_cluster_installation_guide
Mongo db sharding_cluster_installation_guide
 
Mongo db program_installation_guide
Mongo db program_installation_guideMongo db program_installation_guide
Mongo db program_installation_guide
 
Mongo db reference-manual
Mongo db reference-manualMongo db reference-manual
Mongo db reference-manual
 
Mongo db reference manual
Mongo db reference manualMongo db reference manual
Mongo db reference manual
 
Pandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise PluginPandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise Plugin
 
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...
MongoDB World 2019: Modern Data Backup and Recovery from On-premises to the P...
 
Mongo performance tuning: tips and tricks
Mongo performance tuning: tips and tricksMongo performance tuning: tips and tricks
Mongo performance tuning: tips and tricks
 
Mongo db report
Mongo db reportMongo db report
Mongo db report
 
MongoDB basics & Introduction
MongoDB basics & IntroductionMongoDB basics & Introduction
MongoDB basics & Introduction
 
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...
MongoDB.local Atlanta: Modern Data Backup and Recovery from On-Premises to th...
 
Gogo Client Guide
Gogo Client GuideGogo Client Guide
Gogo Client Guide
 
MongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL DatabaseMongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL Database
 
Java Persistence Frameworks for MongoDB
Java Persistence Frameworks for MongoDBJava Persistence Frameworks for MongoDB
Java Persistence Frameworks for MongoDB
 
Mdb dn 2016_07_elastic_search
Mdb dn 2016_07_elastic_searchMdb dn 2016_07_elastic_search
Mdb dn 2016_07_elastic_search
 
BedCon 2013 - Java Persistenz-Frameworks für MongoDB
BedCon 2013 - Java Persistenz-Frameworks für MongoDBBedCon 2013 - Java Persistenz-Frameworks für MongoDB
BedCon 2013 - Java Persistenz-Frameworks für MongoDB
 
Architecting Wide-ranging Analytical Solutions with MongoDB
Architecting Wide-ranging Analytical Solutions with MongoDBArchitecting Wide-ranging Analytical Solutions with MongoDB
Architecting Wide-ranging Analytical Solutions with MongoDB
 
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
 
Running MongoDB Enterprise on Kubernetes
Running MongoDB Enterprise on KubernetesRunning MongoDB Enterprise on Kubernetes
Running MongoDB Enterprise on Kubernetes
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
 
Setting up mongodb sharded cluster in 30 minutes
Setting up mongodb sharded cluster in 30 minutesSetting up mongodb sharded cluster in 30 minutes
Setting up mongodb sharded cluster in 30 minutes
 

Más de Pandora FMS

Pandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DBPandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DBPandora FMS
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS
 
Pandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache HbasePandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache HbasePandora FMS
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS
 
Pandora FMS: Plugin de exchange de acceso de web
Pandora FMS: Plugin de exchange de acceso  de web Pandora FMS: Plugin de exchange de acceso  de web
Pandora FMS: Plugin de exchange de acceso de web Pandora FMS
 
Pandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA PluginPandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA PluginPandora FMS
 
Pandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook AnywherePandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook AnywherePandora FMS
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS
 

Más de Pandora FMS (20)

Pandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DBPandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DB
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
 
Pandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache HbasePandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache Hbase
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
 
Pandora FMS: Plugin de exchange de acceso de web
Pandora FMS: Plugin de exchange de acceso  de web Pandora FMS: Plugin de exchange de acceso  de web
Pandora FMS: Plugin de exchange de acceso de web
 
Pandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA PluginPandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA Plugin
 
Pandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook AnywherePandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook Anywhere
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere Plugin
 
Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de Exchange
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise plugin
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de Exchage
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange Plugin
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry Exchange
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange Monitoring
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSync
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync Plugin
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMware
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper V
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 

Último

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 

Último (20)

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 

Pandora FMS: MongoDB plugin

  • 2. Administrator Manual MongoDB Monitoring © Artica Soluciones Tecnológicas 2005-2012 Index 1Changelog...........................................................................................................................................3 2Introduction........................................................................................................................................4 3Compatibility matrix .........................................................................................................................5 4Documentation provided by the requesting area................................................................................6 5Modules provided by MongoDB plugin ............................................................................................7 6Requisites ..........................................................................................................................................8 6.1.Configuration of the MongoDB instance...................................................................................8 7File Configuration..............................................................................................................................9 8Installing...........................................................................................................................................10 9Configuration and deployment.........................................................................................................11
  • 3. 1 CHANGELOG Date Author Change Version 22/11/12 Tomas First version v1r1 2 INTRODUCTION Page 3
  • 4. The main objective of this document is the description of the MongoDB database monitoring procedures on Linux-based systems. We have chosen a set of “base” modules based on our experience in system monitoring and on the needs of some of our clients. To extract the information we use: • An external configuration file where all the plugin parameterization is defined. • We use the software already installed in the system (mongo, mongostat, awk, grep, etc), for the monitoring done by the plugin without having to install libraries or third party tools. • The system is integrated with the Unix agent and with the capacity of distributing file collections. That way it is posible to distribute the plugin on the one hand and the file collections in an individual way-by agent-and/or by policies on the other hand. 3 COMPATIBILITY MATRIX The compatibility matrix for MongoDB monitoring is: Page 4
  • 5. Systems where it has been tested • MongoDB v2.2.1 Systems where it should work • MongoDB v2.0.8 or above 4 DOCUMENTATION PROVIDED BY THE REQUESTING AREA In order to get the MongoDB monitoring done correctly, it is necessary that the technical Area sends some specific information that will be included in the configuration files. This information is the following: Page 5
  • 6. • Port where the MongoDB database is listening. • Credentials needed to connect to the database, if any. • MongoDB Config Server port. • Name of the MongoDB database (case sensitive!). • MongoDB instance listening IP. 5 MODULES PROVIDED BY MONGODB PLUGIN This plugin returns 16 modules by instance. All of them generate status graphs. You should fix thresholds manually to determine whether something is in a warning/critical operative. • MongoDB_Inserts_$CFG_HOST:$CFG_PORT: DB Inserts per second for this instance. Page 6
  • 7. • MongoDB_Queries_$CFG_HOST:$CFG_PORT: DB Queries per second for this instance. • MongoDB_Updates_$CFG_HOST:$CFG_PORT: DB Updates per second for this instance. • MongoDB_Deletes_$CFG_HOST:$CFG_PORT: DB Deletes per second for this instance. • MongoDB_Getmores_$CFG_HOST:$CFG_PORT: DB Getmores per second for this instance. • MongoDB_Commands_$CFG_HOST:$CFG_PORT: DB Commands per second for this instance. • MongoDB_Flushes_$CFG_HOST:$CFG_PORT: DB Fsync flushes per second for this instance. • MongoDB_PageFaults_$CFG_HOST:$CFG_PORT: DB Page faults per second for this instance. • MongoDB_IdxMiss_$CFG_HOST:$CFG_PORT: DB bttree page missed percentage for this instance. • MongoDB_ClientReadQueueLength_$CFG_HOST:$CFG_PORT: DB Client read queue length for this instance. • MongoDB_ClientWriteQueueLength_$CFG_HOST:$CFG_PORT: DB Client write queue length for this instance. • MongoDB_ActiveClientsReading_$CFG_HOST:$CFG_PORT: DB Active reading clients for this instance. • MongoDB_ActiveClientsWriting_$CFG_HOST:$CFG_PORT: DB Active writing clients for this instance. • MongoDB_NetworkTrafficInBits_$CFG_HOST:$CFG_PORT: DB Network traffic in bits for this instance. • MongoDB_NetworkTrafficOutBits_$CFG_HOST:$CFG_PORT: DB Network traffic out bits for this instance. • MongoDB_OpenConns_$CFG_HOST:$CFG_PORT: DB Open connections for this instance. 6 REQUISITES The MongoDB monitoring is done basically getting data through MongoDB system command mongostat and through the execution of commands in the Operative System. Page 7
  • 8. The requisites to this monitoring could work correctly are the followings: • To install the Pandora agent (>3.2.1) • MongoDB instance configuration to accept connections using mongostat. • Mongo bin folder (where mongostat resides) must be located in the user PATH. 6.1. Configuration of the MongoDB instance In this section is explained how to deploy and start a MongoDB instance in a Linux-based server. If you want to deploy multiple instances and monitor sharding controllers, please keep in mind that this kind of MongoDB instance currently doesn't provide all the information mentioned above, but a limited set of modules. The steps required to achieve this are simple: are the following: first find the MongoDB daemon (mongod) and start up as many instances as you need, providing the listening port, DB path and instance role as parameters: • Instance startup sample: mongod --rest --dbpath /data/sharddb --shardsvr >& /var/log/mongoshardsvr.log & (in this case the default port for shard svrs, 27018, is used) The following document explains how to display and configure the MongoDB instance properly: http://docs.mongodb.org/manual/administration/configuration/ However, the monitoring system will be able to work right after the instance startup, without having to wait for additional configuration. 7 FILE CONFIGURATION The plugin needs to be configured correctly, through an external configuration file in order to monitor it properly. NOTE: It is extremely important to consider that the configuration files thought for the plugin in Page 8
  • 9. UNIX should be edited and stored with carriage returns type “UNIX” and that if we use carriage returns type “WINDOWS” the plugin will not work properly. The configuration file has the following syntax, that we show as example: mongodb_stats mongostat;check_dbstats;;localhost;27019 The configuration file could have one or several lines, so each line defines the following things: • Primary operation to execute. (only mongodb_stats as of now) • Tool used to perform that operation. (should be mongostat, since its location should be added to the system PATH of the user that executes the agent, otherwise, the absolute path should be needed as well) • Operation execution mode. (only check_dbstats mode is supported right now) • Whether the instance is a sharding controller or not (if it's not the case, leave it blank) • IP where the MongoDB instance is listening. • Port where the MongoDB instance is listening. Each parameter is separated with the “;” character, as we have seen in the previous example. Authentication support will become available in the next version. 8 INSTALLING Copy the plugin to the agent plugin directory, or distribute it with file collections. Do the same with the file conf. The call from the agent will be similar to this, but using the paths where the plugin Page 9
  • 10. and conf are. module_plugin /var/opt/PandoraFMS/etc/pandora/plugins/Pandora_Plugin_MongoDB_v1r1.pl /var/opt/PandoraFMS/etc/pandora/collections/fc_23/zbea-mongodb.conf Note: the path of configuration file and plugin file could be what you want. 9 CONFIGURATION AND DEPLOYMENT The use of these scripts with policies is easy. It is based on creating a policy that contains the plugin (Pandora_Plugin_MongoDB_v1r1.pl) and a configuration file for each agent. So the call to the policy plugin uses the $HOST and $PORT variables in that file in order to monitor the instances needed for each server. Page 10
  • 11. If the machine is called ilp0x068.tsm.inet, then we should updload a file with the name: ilp0x068.tsm.inet-mongodb.conf And use this hostname as the HOST variable inside the configuration file. The content of the .conf is specific for each system, but all the .conf are copied to all the systems associated to the policy. However, even by providing a good credential set, only the user that executes the pandora agent can read these .conf, so this user should also be able to execute the system commands needed to monitor Mongo (mongostat in this case). Page 11