I apologize if this isn't the correct forum, but I'm having a problem setting up the check_db2_health plugin. My Nagios server is dedicated to Nagios, and I'm trying to get it to monitor DB2 databases on various AIX servers on our network.
Given that I'm running Nagios separately from the DB2 servers, I'll need to install a DB2 client instance on the Nagios box--is that correct?
Thanks,
Mike
Plugin Question
Re: Plugin Question
That plugin is from Console Labs, here's their doc on it:
http://labs.consol.de/lang/en/nagios/check_db2_health/
I think for the DB plugins you only need to open a socket connection to that database, so you wouldn't need an agent. Just make sure that port is accessible from the Nagios server (check your firewall), and there's a user set up in DB2 for Nagios to access whatever information you want to see.
http://labs.consol.de/lang/en/nagios/check_db2_health/
I think for the DB plugins you only need to open a socket connection to that database, so you wouldn't need an agent. Just make sure that port is accessible from the Nagios server (check your firewall), and there's a user set up in DB2 for Nagios to access whatever information you want to see.
Re: Plugin Question
Well, that was my hope, but my problem seems to be that check_db2_health depends on DBD::DB2, which seems to require a DB2 instance. When building DBD::DB2 using cpan, it bombs out with the following error:
[...]
DB2_HOME environment variable must be set to installed location of DB2.
[...]
However, the changelog for DBD::DB2 1.84 makes reference to eliminating the need for a DB2 instance.
I'd love to hear from anyone who has successfully installed and configured check_db2_health, or if they're using something else to monitor DB2 databases.
Thanks,
Mike
[...]
DB2_HOME environment variable must be set to installed location of DB2.
[...]
However, the changelog for DBD::DB2 1.84 makes reference to eliminating the need for a DB2 instance.
I'd love to hear from anyone who has successfully installed and configured check_db2_health, or if they're using something else to monitor DB2 databases.
Thanks,
Mike
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Plugin Question
I believe you can specify environment variables through the command line in the new version..