SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
General DB2 server monitoring plugin
Version 1.0r1
12/12/2012
Índice de contenido
1 DB2 Server Monitoring ...................................................................................................................
1.1. Introduction .............................................................................................................................
1.2. Compatibility matrix ...............................................................................................................
1.3. Prerequisites ............................................................................................................................
1.4. DB2 Configuration ..................................................................................................................
2 Plugin Configuration ........................................................................................................................
3 Plugin Use ........................................................................................................................................
3.1. Tokens Configuration ..............................................................................................................
3.2. Configuration Files Creation: ..................................................................................................
3.3. Policies creation .......................................................................................................................
1 DB2 SERVER MONITORING
Introduction
This plugin permits general DB2 server monitoring done manually or automatically. It uses the
general DB2 client administration utilities. .
Operations executed by the plugin:
• Obtain data of the availability of the DB2 server. When set with a type of test and
aditionally name of the object to monitor from all the tests being done. It is given a general
sentence to verify if the result is correct.
To do those tests it's necessary to have de DB2 utility, the credentials of the database to
monitor and the path of DB2 binaries set into the system or the agent path.
• Verification of the availability of the database. Activation, connection and verification of
the status of the database instance to monitor, with or without credentials.
• Verification of the availability in one instance of database applications.
- Check the status of the connection of every aplication asociated with an instance of the
database.
- Data of a filesystem or a physical device showing the amount of free disc.
- Log file parsing uing the log parsing plugin of Pandora FMS,setting the path of the plugin.
- Obtain data of the availability of a DB2 server using the wsadmin application (Needs to be
configured correctly before being used). Data that can be obtained:
◦ DB2 Connection Status
◦ DB2 Application Status
◦ DB2 Total Connected Application Count
◦ DB2 Total Disconnected Application Count
◦ DB2 Active Application Count
The plugin has a configuration file where all these tests can be configured. There is no limit to the
number of tests that can be done of the data mentioned above. Every module includes an extended
description of its meaning and general use.
1.2 Compatibility Matrix
Systems where it has been used • Solaris 10 SPARC V9 con DB2 10.1
Systems where it can be used
• Same system or superior
• Any DB2 capable of extracting snapshots of
the different monitor switches of a single
instance.
1.3 Prerequisites
A single configuration file will be created for each server with the following values needed to set
manually:
• The name of the process to monitor.
• The name of the volume to monitor.
• The log or the chain to test in case of senteces search in a log file.
• User with priveledges and connection with the database are needed in order to obtain DB2
information.
1.4 DB2 Configuration
In order to configure correctly the system include the variables, path to the DB2 libraries and
binaries and the instance to connect to.
DB2INSTANCE=db2inst1
LD_LIBRARY_PATH=/export/home/db2inst1/sqllib/lib64:/export/home/db2inst1/sqllib/lib3
2
PATH=/usr/bin:/export/home/db2inst1/sqllib/bin:/export/home/db2inst1/sqllib/adm:/exp
ort/home/db2inst1/sqllib/misc:/export/home/db2inst1/sqllib/db2tss/bin
CLASSPATH=/export/home/db2inst1/sqllib/java/db2java.zip:/export/home/db2inst1/sqllib
/java/db2jcc.jar:/export/home/db2inst1/sqllib/java/sqlj.zip:/export/home/db2inst1/sq
llib/function:/export/home/db2inst1/sqllib/java/db2jcc_license_cu.jar:.
2. PLUGIN CONFIGURATION
Once the plugin and the configuration file, with the values to monitor, is copied to the disk the plugin
call should be included in the pandora_agent.conf file.
The pandora_agent.conf file is the Pandora agent configuration file, where all local agent plugins
shoul be included.
In Linux systems:
/etc/pandora/pandora_agent.conf
In Windows systems:
c:program filespandora_agentpandora_agent.conf
Once located the following should be written in order to issue the call of the plugin in Unix
systems.
module_plugin /etc/pandora/collections/fc_x/Pandora_Plugin_DB2_vx.yrz.pl
/etc/pandora/collections/fc_x/$HOSTNAME-db2.conf 2> plugin_error.log
It's important to redirect the errors to /dev/null or to a log because the execution of the DB” tests
requiere a connection with It's interface in order to extract the information with can end up at
stderr. If an error occurs and the redirection of data isn't activated would mean a data loss n del
plugin o el fallo en la ejecución due to the conflict between these data and the XML information
extracted to be processed by the Data Server en Pandora.
3 PLUGIN USE
This example is based upon Filecollections and deployment policies monitoring a DB2 8.5 server
running on Solaris 10 using SPARC v9.
3.1 Configuration Tokens
The configuration Tokens are the following:
logparser <path_to_log>
Uses the logparser included in the path. To use the log option It's necessary to configure this token.
logparser /etc/pandora/plugins/grep_log
volume <web_server>;<X>
Disk monitoring, obtaining the amount of free disk in %.
volume main_server;/opt
process <module_name>;<process_path>
Returns information about the process. Once the name of the module in Pandora and the name of
the system process is set it would return the status, use of memory (all instancies) and total CPU use
(all instancies).
process webserver;webservd -d /opt/oracle/webserver7/admin-server
log <path_to_log>;<regexp to match>
Parses a log file, creating a module named log_test, looking for the sentence “error”. To use this
option the token “logparser” should be configured.
log /tmp/error.log;log_test;error
db2_stats
db2;<check_type>;<instance_name>;<database_name>;<app_name>;<system_username>;<
db2_username>;<db2_password>
Obtains values of the DB2 server status using the DB2 client interface. Currently the supported tests
are:
– check_dbconnect (Obtains information and status of the DB2 connection with a single
instance of the database)
– check_application (Obtains information about a single application when named, all
aplictaions when * is set or general information of the total amount of applications
connected or disconnected)
– db2_stats db2;check_application;db2instl;SAMPLE;db2stmm;db2instl;;
3.2 Creation of configuration files
Create a file named :
zbea-db2.conf
It's content is the following:
logparser /var/opt/pandora/etc/pandora/plugins/grep_log
log /tmp/db2backup.log;DB2_BackupStatus;successful
db2_stats db2;check_dbconnect;db2instl;SAMPLE;;db2instl;;
#db2_stats db2;check_application;db2instl;SAMPLE;db2stmm;db2instl;;
db2_stats db2;check_application;db2instl;SAMPLE;*;db2instl;;
db2_stats db2;check_application;db2instl;SAMPLE;;db2instl;;
Using * in a check_application test obtains information of every single application being ran
in a single instance of the database.
Create the FC called “DB2” with fc_1355338194 ID and copy the plugin and scripts it
depends on.
3.3 Policies Creation
Create a local module with the following policy:
Link the file collection to the policy.
Aply the policy and wait for the modules to appear.
Now use massive operations and change the thresholds for some of the results like use of CPU:
Alerts can be asigned to all modules PROCESS_STATUS eventhough all of them have the same
name.

Weitere ähnliche Inhalte

Andere mochten auch

Novedades en Pandora FMS 5.0
Novedades en Pandora FMS 5.0Novedades en Pandora FMS 5.0
Novedades en Pandora FMS 5.0Pandora FMS
 
Pandora FMS - Selenium Enterprise Plugin
Pandora FMS - Selenium Enterprise PluginPandora FMS - Selenium Enterprise Plugin
Pandora FMS - Selenium Enterprise PluginPandora FMS
 
Pandora FMS: Monitorización de servidor FTP
Pandora FMS: Monitorización de servidor FTPPandora FMS: Monitorización de servidor FTP
Pandora FMS: Monitorización de servidor FTPPandora 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: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 AgentPandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 AgentPandora FMS
 
Pandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise PluginPandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise PluginPandora FMS
 
Pandora FMS: ePolicy Orchestrator
Pandora FMS: ePolicy Orchestrator Pandora FMS: ePolicy Orchestrator
Pandora FMS: ePolicy Orchestrator Pandora FMS
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS
 
Pandora FMS: Tomcat Monitoring
Pandora FMS: Tomcat MonitoringPandora FMS: Tomcat Monitoring
Pandora FMS: Tomcat MonitoringPandora 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: Monitorización básica WMI
Pandora FMS: Monitorización básica WMIPandora FMS: Monitorización básica WMI
Pandora FMS: Monitorización básica WMIPandora FMS
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS
 
Pandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIuginPandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIuginPandora 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: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos FimPandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos FimPandora FMS
 
Pandora FMS: Fim Events Plugin
Pandora FMS: Fim Events PluginPandora FMS: Fim Events Plugin
Pandora FMS: Fim Events PluginPandora FMS
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS
 
Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0Pandora FMS
 

Andere mochten auch (20)

Novedades en Pandora FMS 5.0
Novedades en Pandora FMS 5.0Novedades en Pandora FMS 5.0
Novedades en Pandora FMS 5.0
 
Pandora FMS - Selenium Enterprise Plugin
Pandora FMS - Selenium Enterprise PluginPandora FMS - Selenium Enterprise Plugin
Pandora FMS - Selenium Enterprise Plugin
 
Pandora FMS: Monitorización de servidor FTP
Pandora FMS: Monitorización de servidor FTPPandora FMS: Monitorización de servidor FTP
Pandora FMS: Monitorización de servidor FTP
 
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: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 AgentPandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 Agent
 
Pandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise PluginPandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise Plugin
 
Pandora FMS: ePolicy Orchestrator
Pandora FMS: ePolicy Orchestrator Pandora FMS: ePolicy Orchestrator
Pandora FMS: ePolicy Orchestrator
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix plugin
 
Pandora FMS: Tomcat Monitoring
Pandora FMS: Tomcat MonitoringPandora FMS: Tomcat Monitoring
Pandora FMS: Tomcat Monitoring
 
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: Monitorización básica WMI
Pandora FMS: Monitorización básica WMIPandora FMS: Monitorización básica WMI
Pandora FMS: Monitorización básica WMI
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere Plugin
 
Pandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIuginPandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIugin
 
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: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos FimPandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos Fim
 
Pandora FMS: Fim Events Plugin
Pandora FMS: Fim Events PluginPandora FMS: Fim Events Plugin
Pandora FMS: Fim Events Plugin
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server Monitoring
 
Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0
 

Ähnlich wie Pandora FMS: DB2 Enterprise Plugin

Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )varasteh65
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahksqlserver.co.il
 
Stored-Procedures-Presentation
Stored-Procedures-PresentationStored-Procedures-Presentation
Stored-Procedures-PresentationChuck Walker
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2Mario Redón Luz
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best PracticesMohsen B
 
Microsoft SharePoint Disaster Recovery to Azure
Microsoft SharePoint Disaster Recovery to AzureMicrosoft SharePoint Disaster Recovery to Azure
Microsoft SharePoint Disaster Recovery to AzureDavid J Rosenthal
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationSreenivasa Setty
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewDell World
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02Gopi Raghavendra
 
performancetestingjmeter-121109061704-phpapp02 (1)
performancetestingjmeter-121109061704-phpapp02 (1)performancetestingjmeter-121109061704-phpapp02 (1)
performancetestingjmeter-121109061704-phpapp02 (1)QA Programmer
 
cynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guidecynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guidecynapspro GmbH
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshopRohit Kelapure
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 
Securing Your Enterprise Web Apps with MongoDB Enterprise
Securing Your Enterprise Web Apps with MongoDB Enterprise Securing Your Enterprise Web Apps with MongoDB Enterprise
Securing Your Enterprise Web Apps with MongoDB Enterprise MongoDB
 

Ähnlich wie Pandora FMS: DB2 Enterprise Plugin (20)

Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )Oracle Real Application Cluster ( RAC )
Oracle Real Application Cluster ( RAC )
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
 
Stored-Procedures-Presentation
Stored-Procedures-PresentationStored-Procedures-Presentation
Stored-Procedures-Presentation
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best Practices
 
Readme
ReadmeReadme
Readme
 
Microsoft SharePoint Disaster Recovery to Azure
Microsoft SharePoint Disaster Recovery to AzureMicrosoft SharePoint Disaster Recovery to Azure
Microsoft SharePoint Disaster Recovery to Azure
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB plugin
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation Demonstration
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting Overview
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Data Guard25 August
Data Guard25 AugustData Guard25 August
Data Guard25 August
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02
 
performancetestingjmeter-121109061704-phpapp02 (1)
performancetestingjmeter-121109061704-phpapp02 (1)performancetestingjmeter-121109061704-phpapp02 (1)
performancetestingjmeter-121109061704-phpapp02 (1)
 
cynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guidecynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guide
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshop
 
11i Logs
11i Logs11i Logs
11i Logs
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
Securing Your Enterprise Web Apps with MongoDB Enterprise
Securing Your Enterprise Web Apps with MongoDB Enterprise Securing Your Enterprise Web Apps with MongoDB Enterprise
Securing Your Enterprise Web Apps with MongoDB Enterprise
 

Mehr von 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: 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: 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: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync 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: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS
 
Pandora FMS:Cassandra Plugin
Pandora FMS:Cassandra PluginPandora FMS:Cassandra Plugin
Pandora FMS:Cassandra PluginPandora FMS
 
Pandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQLPandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQLPandora FMS
 

Mehr von 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: 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: 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: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync 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: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo Imap
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL Plugin
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQL
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix Plugin
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
 
Pandora FMS:Cassandra Plugin
Pandora FMS:Cassandra PluginPandora FMS:Cassandra Plugin
Pandora FMS:Cassandra Plugin
 
Pandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQLPandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQL
 

Kürzlich hochgeladen

Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 

Kürzlich hochgeladen (20)

Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 

Pandora FMS: DB2 Enterprise Plugin

  • 1. General DB2 server monitoring plugin Version 1.0r1 12/12/2012
  • 2. Índice de contenido 1 DB2 Server Monitoring ................................................................................................................... 1.1. Introduction ............................................................................................................................. 1.2. Compatibility matrix ............................................................................................................... 1.3. Prerequisites ............................................................................................................................ 1.4. DB2 Configuration .................................................................................................................. 2 Plugin Configuration ........................................................................................................................ 3 Plugin Use ........................................................................................................................................ 3.1. Tokens Configuration .............................................................................................................. 3.2. Configuration Files Creation: .................................................................................................. 3.3. Policies creation .......................................................................................................................
  • 3. 1 DB2 SERVER MONITORING Introduction This plugin permits general DB2 server monitoring done manually or automatically. It uses the general DB2 client administration utilities. . Operations executed by the plugin: • Obtain data of the availability of the DB2 server. When set with a type of test and aditionally name of the object to monitor from all the tests being done. It is given a general sentence to verify if the result is correct. To do those tests it's necessary to have de DB2 utility, the credentials of the database to monitor and the path of DB2 binaries set into the system or the agent path. • Verification of the availability of the database. Activation, connection and verification of the status of the database instance to monitor, with or without credentials. • Verification of the availability in one instance of database applications. - Check the status of the connection of every aplication asociated with an instance of the database. - Data of a filesystem or a physical device showing the amount of free disc. - Log file parsing uing the log parsing plugin of Pandora FMS,setting the path of the plugin. - Obtain data of the availability of a DB2 server using the wsadmin application (Needs to be configured correctly before being used). Data that can be obtained: ◦ DB2 Connection Status ◦ DB2 Application Status ◦ DB2 Total Connected Application Count ◦ DB2 Total Disconnected Application Count ◦ DB2 Active Application Count The plugin has a configuration file where all these tests can be configured. There is no limit to the number of tests that can be done of the data mentioned above. Every module includes an extended description of its meaning and general use. 1.2 Compatibility Matrix Systems where it has been used • Solaris 10 SPARC V9 con DB2 10.1
  • 4. Systems where it can be used • Same system or superior • Any DB2 capable of extracting snapshots of the different monitor switches of a single instance. 1.3 Prerequisites A single configuration file will be created for each server with the following values needed to set manually: • The name of the process to monitor. • The name of the volume to monitor. • The log or the chain to test in case of senteces search in a log file. • User with priveledges and connection with the database are needed in order to obtain DB2 information. 1.4 DB2 Configuration In order to configure correctly the system include the variables, path to the DB2 libraries and binaries and the instance to connect to. DB2INSTANCE=db2inst1 LD_LIBRARY_PATH=/export/home/db2inst1/sqllib/lib64:/export/home/db2inst1/sqllib/lib3 2 PATH=/usr/bin:/export/home/db2inst1/sqllib/bin:/export/home/db2inst1/sqllib/adm:/exp ort/home/db2inst1/sqllib/misc:/export/home/db2inst1/sqllib/db2tss/bin CLASSPATH=/export/home/db2inst1/sqllib/java/db2java.zip:/export/home/db2inst1/sqllib /java/db2jcc.jar:/export/home/db2inst1/sqllib/java/sqlj.zip:/export/home/db2inst1/sq llib/function:/export/home/db2inst1/sqllib/java/db2jcc_license_cu.jar:. 2. PLUGIN CONFIGURATION Once the plugin and the configuration file, with the values to monitor, is copied to the disk the plugin call should be included in the pandora_agent.conf file. The pandora_agent.conf file is the Pandora agent configuration file, where all local agent plugins shoul be included. In Linux systems: /etc/pandora/pandora_agent.conf
  • 5. In Windows systems: c:program filespandora_agentpandora_agent.conf Once located the following should be written in order to issue the call of the plugin in Unix systems. module_plugin /etc/pandora/collections/fc_x/Pandora_Plugin_DB2_vx.yrz.pl /etc/pandora/collections/fc_x/$HOSTNAME-db2.conf 2> plugin_error.log It's important to redirect the errors to /dev/null or to a log because the execution of the DB” tests requiere a connection with It's interface in order to extract the information with can end up at stderr. If an error occurs and the redirection of data isn't activated would mean a data loss n del plugin o el fallo en la ejecución due to the conflict between these data and the XML information extracted to be processed by the Data Server en Pandora.
  • 6. 3 PLUGIN USE This example is based upon Filecollections and deployment policies monitoring a DB2 8.5 server running on Solaris 10 using SPARC v9. 3.1 Configuration Tokens The configuration Tokens are the following: logparser <path_to_log> Uses the logparser included in the path. To use the log option It's necessary to configure this token. logparser /etc/pandora/plugins/grep_log volume <web_server>;<X> Disk monitoring, obtaining the amount of free disk in %. volume main_server;/opt process <module_name>;<process_path> Returns information about the process. Once the name of the module in Pandora and the name of the system process is set it would return the status, use of memory (all instancies) and total CPU use (all instancies). process webserver;webservd -d /opt/oracle/webserver7/admin-server log <path_to_log>;<regexp to match> Parses a log file, creating a module named log_test, looking for the sentence “error”. To use this option the token “logparser” should be configured. log /tmp/error.log;log_test;error db2_stats db2;<check_type>;<instance_name>;<database_name>;<app_name>;<system_username>;< db2_username>;<db2_password> Obtains values of the DB2 server status using the DB2 client interface. Currently the supported tests are: – check_dbconnect (Obtains information and status of the DB2 connection with a single instance of the database) – check_application (Obtains information about a single application when named, all aplictaions when * is set or general information of the total amount of applications connected or disconnected) – db2_stats db2;check_application;db2instl;SAMPLE;db2stmm;db2instl;;
  • 7. 3.2 Creation of configuration files Create a file named : zbea-db2.conf It's content is the following: logparser /var/opt/pandora/etc/pandora/plugins/grep_log log /tmp/db2backup.log;DB2_BackupStatus;successful db2_stats db2;check_dbconnect;db2instl;SAMPLE;;db2instl;; #db2_stats db2;check_application;db2instl;SAMPLE;db2stmm;db2instl;; db2_stats db2;check_application;db2instl;SAMPLE;*;db2instl;; db2_stats db2;check_application;db2instl;SAMPLE;;db2instl;; Using * in a check_application test obtains information of every single application being ran in a single instance of the database. Create the FC called “DB2” with fc_1355338194 ID and copy the plugin and scripts it depends on. 3.3 Policies Creation Create a local module with the following policy:
  • 8. Link the file collection to the policy. Aply the policy and wait for the modules to appear. Now use massive operations and change the thresholds for some of the results like use of CPU: Alerts can be asigned to all modules PROCESS_STATUS eventhough all of them have the same name.