glinuz / db2_exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus IBM DB2 exporter
License: MIT License
Prometheus IBM DB2 exporter
License: MIT License
How we can put the password in encrypted format in db2_exporter is there any method helpful for db2_exporter?
I'm getting a error when run this through docker, take a look here to see the implementation.
I really think you will find the issue quickly. Thanks!
Hello,
I am trying to run this monitoring as per the suggested steps, but when I run this command:
./main -log.level debug -dsn "DATABASE=Users;HOSTNAME=localhost;PORT=50000;PROTOCOL=TCPIP;UID=db2inst1;PWD=Test012123; "
I get this error:
panic: SQLGetDiagRec failed: ret = -2
goroutine 1 [running]:
github.com/ibmdb/go_ibm_db.NewError(0x7efc3c, 0xe, 0x75be00, 0xce1100, 0xc000048eb8, 0x4dc5e6)
/usr/local/go/src/github.com/ibmdb/go_ibm_db/error.go:58 + 0x50a
github.com/ibmdb/go_ibm_db.initDriver(0x0, 0x0)
/usr/local/go/src/github.com/ibmdb/go_ibm_db/driver.go:29 + 0x22e
github.com/ibmdb/go_ibm_db.init.0 ()
/usr/local/go/src/github.com/ibmdb/go_ibm_db/driver.go:53 + 0x22
Please could you help me.
I am running a Java client to test the connection and it works perfect with these parameters:
String DB2Driver = "com.ibm.db2.jcc.DB2Driver";
String DB2ConnectionURL_users = "jdbc:db2://localhost:50000/Usuarios";
String DB2UserName = "db2inst1";
String DB2Password = "Test012123";
Thank you.
Is it possible to add prometheus db2 exporter support for the AIX?
panic: SQLGetDiagRec failed: ret=-2
goroutine 1 [running]:
github.com/ibmdb/go_ibm_db.NewError(0x7efcaa, 0xe, 0x75be60, 0xce1100, 0xc000051eb8, 0x4dc686)
/home/db2inst1/go/src/github.com/ibmdb/go_ibm_db/error.go:58 +0x50a
github.com/ibmdb/go_ibm_db.initDriver(0x0, 0x0)
/home/db2inst1/go/src/github.com/ibmdb/go_ibm_db/driver.go:29 +0x22e
github.com/ibmdb/go_ibm_db.init.0()
/home/db2inst1/go/src/github.com/ibmdb/go_ibm_db/driver.go:53 +0x22
Hello,
This monitoring works for a DB2 installed but on Windows?
Regards.
Estimated,
We are trying to implement this monitoring on a Windows server where DB2 is installed, after preparing the environment this message appears when compiling the main.go
C:\Users\db2admin\Desktop\workspace\src\db2_exporter-master>go build main.go
main.go:14:2: no required module provides package github.com/BurntSushi/toml: working directory is not part of a module
main.go:15:2: no required module provides package github.com/ibmdb/go_ibm_db: working directory is not part of a module
main.go:16:2: no required module provides package github.com/prometheus/client_golang/prometheus: working directory is not part of a module
main.go:17:2: no required module provides package github.com/prometheus/common/log: working directory is not part of a module
That could be, in linux it works perfect for us.
Greetings.
Hi @glinuz! Can you generate a Darwin version? Thanks!
Hi,
i get this error doing project build
[root@azwetdb01 db2_exporter-2]# go build main.go
go: inconsistent vendoring in /opt/db2_exporter-2:
github.com/beorn7/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/matttproud/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/BurntSushi/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/ibmdb/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
To ignore the vendor directory, use -mod=readonly or -mod=mod.
To sync the vendor directory, run:
go mod vendor
[root@azwetdb01 db2_exporter-2]#
Is this exporter is compatible with ppc64le linux. What are prerequisite for running on ppc64le linux.
Hi man, my name is Axel Huachacona.
First of all, thank you very much for your work.
Now, if you will allow me, I need some help.
Right now I need to check the status of my DB2 server but inside I have at least 6 different schemas that I use. With just one schema it works perfect but, apparently, the exporter only allows monitoring a single schema (like the SAMPLE schema in your example) but I need to know if it is possible to monitor more than one at the same time without having to raise more than one instance of the exporter.
Is there any possible way to do this?
Thank you again for your work!
I'll leave my environment specifications:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.