Skip to main content
Version: 2024.04

DB2 Monitor

Monitors the backups and tablespaces of a DB2 database

General

ExecutableDB2_Monitor.exe
Connection methodODBC
Ports
  • 5912
Lookup files
  • itesys.db2monitor.hadr.ovl
  • itesys.db2monitor.tblspacemaxsize.ovl

Default parameters

Parameter namePossible valuesDefaultDescription
Host<ip> | <hostname>emptyHostname or IP of the database system.
DBNamestringemptyName of the database
DBPortnumber5912Port to establish ODBC connection.
DBUsernamestringemptyDatabase user
DBPasswordstringemptyPassword of the database user

Sensor-specific parameters

Parameter namePossible valuesDefaultDescription
Days10
IgnoreTBSPAutoresize1

Channels

Channel nameDescriptionLookup file
Successful BackupsNumber of successful backups in the last <Days>
Error BackupsNumber of backups with errors in the last <Days>
Successful LogBackupsNumber of successful log backups in the last <Days>
Error LogBackupsNumber of log backups with errors in the last <Days>
HADR StateHADR Statusitesys.db2monitor.hadr.ovl
TBSP <tablespace> - % freePercentage free space of tablespaces with auto-resize = disabled and tablespaces with auto-resize = enabled (is deactivated by default)
TBSP with Max Size enabledChecks the activation of MAXSIZE of auto-resized tablespaces and if there is enough free space available before the defined MAXSIZE value has reacheditesys.db2monitor.tblspacemaxsize.ovl

Important notes

warning

Please check the channel limits in PRTG if they fit for your alerting.

Troubleshooting

SymptomPossible solution
Not all tablespaces are shown under channel TBSP <tablespace> - % freeBy default the value of parameter IgnoreTBSPAutoresize is set to 1 which means that only the tablespaces for which the auto-resize is disabled are displayed. By using 0 instead of 1 also tablespaces with auto-resize is enabled are shown.
Receiving error message Could not connect to DB2 database: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifiedPlease install 32-bit IBM DB2 ODBC driver on the PRTG probe.

Changelog

VersionChanges
2023.03Corrected wrong count of backups when using different backup tools.
2020.06
  • Added new channels TBSP <tablespace> - % free & TBSP with Max Size enabled
  • Added new parameter IgnoreTBSPAutoresize
1.4.0.1Rebuild for new signature of AddChannel method
1.4.0.0Build for installer 1.4.0
1.3.6.0First stable release