warhansen
warhansen

Reputation: 736

How to install DBD::DB2 on Windows (For nagios db2check)

I am trying to install DBD::DB2 perl module for Windows Server. I have installed Strawberry Perl, however none of the repositories I have tried worked, including this one:

ppm install http://www.bribes.org/perl/ppm64/DBD-DB2.ppd

It gives the error: it is not intended for this build

I want to run the check_db2_health from a Centos Nagios Server and I need this on the Windows Server to be able to do so. Link here

Is there a way I can install the DBD::DB2 and DBI modules?

Upvotes: 0

Views: 650

Answers (1)

hrodic
hrodic

Reputation: 25

See my answer

I've found a work around for this, just insert this the following files:

  • Constants/Constants.xs
  • DB2.h

https://stackoverflow.com/a/65591186/1750851

Upvotes: 0

Related Questions