Project

General

Profile

Actions

Install check_db2_health

Important note: Install this addon on the Nagios machine.

Official website: http://labs.consol.de/nagios/check_db2_health/

Prerequisites

This addon requires the following Perl modules in order to work properly:
  • DBI
  • DBD::DB2

Installation Steps

DB2 server (which to be monitored by Nagios)

  1. login to the server
    1. if nagios user and nagios group do not exist:
      # useradd nagios
      # passwd nagios
      
    2. if nagios user and nagios group exist, proceed to next step
  2. login to the server with the DB2 user, e.g. db2inst1, and execute:
    db2inst1$ db2 update dbm cfg using sysmon_group nagios
    db2inst1$ db2 grant select,update on table SYSTOOLS.STMG_DBSIZE_INFO to nagios
    db2inst1$ db2stop; db2start
    

Nagios server

  1. download the source file check_db2_health
  2. extract the downloaded file
    # tar -xvzf check_db2_health-1.0.1.tar.gz
    
  3. cd to the extracted directory
    # cd check_db2_health-1.0.1
    
  4. make and install the package:
    # ./configure
    

Updated by chin-yeh over 14 years ago · 7 revisions