Actions
Install check db2 health » History » Revision 6
« Previous |
Revision 6/7
(diff)
| Next »
chin-yeh, 09/08/2010 05:22 PM
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
)¶
- login to the server
- if
nagios
user andnagios
group do not exist:# useradd nagios # passwd nagios
- if
nagios
user andnagios
group exist, proceed to next step
- if
- 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¶
- download the source file check_db2_health
- extract the downloaded file
# tar -xvzf check_db2_health-1.0.1.tar.gz
cd
to the extracted directory# cd check_db2_health-1.0.1
make
andinstall
the package:# ./configure
Updated by chin-yeh over 14 years ago · 6 revisions