-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3370 - Add support for monitoring IBM DB2 databases #3439
#3370 - Add support for monitoring IBM DB2 databases #3439
Conversation
Thanks for the pr. Please note that CONTRIBUTING.md
|
You're very welcome 😉
Yeah, I've noticed 😕 Unfortunately, it seems that the only IBM DB2 node module that's available, is based on a native build dependency: https://www.npmjs.com/package/ibm_db After some research, it seems there's not a pure JS module to interface with DB2, and there probably won't ever be one, due to licensing questions...😞
I understand your point, after all, native dependencies are quite a fuss. Besides that, I don't think this Yet, it works quite well on x64, and I was able to test it using the new Codespace Environment that you set up. without any change at all 😄 IMHO, for ease of usage, Docker should be the way to go. Yet, I understand it's not really acceptable to constrain the usage of the app for non docker users... I wonder if it would be possible to use this try {
var foo = require('foo')
var fooVersion = require('foo/package.json').version
} catch (er) {
foo = null
}
if ( notGoodFooVersion(fooVersion) ) {
foo = null
}
// .. then later in your program ..
if (foo) {
foo.doFooThings()
} This way, it would still be compatible with all the required versions, but this db2 monitor functionality would only be available for the compatible architectures. What do you think about this @louislam? Thank you |
This comment was marked as resolved.
This comment was marked as resolved.
@louislam, hi, could you please check my question about the next steps? #3439 (comment) |
I am going to close this PR as support for non-Docker (armv7/arm64) users without native dependencies is a hard requirement for monitors in uptime kuma. As it stands, I don't see how keeping this issue open and hoping that IBM changes their mind will get anywhere. We would like to encourage a second option, developing an agent:
If somebody develops an agent, we can include this in the unofficial/experimental section of our installation guide. |
Hello @CommanderStorm, Thank you for your reply 😄 So, from what I understand, you're not really keen on this approach either #3439 (comment) right? Regarding the Because, in terms of DB Monitor configuration, I do like the existing setup where you can input the Thank you once again |
Running on armv7/arm64 is a hard requirement, sorry Such code would be a mess to test, and I don't see us having the capacity currently to do that, sorry. As stated above: |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Resolves #3370 feature request
Type of change
Please delete any options that are not relevant.
Checklist
(including JSDoc for methods)
Notes
postgres
andMySQL
implementationspostgres
, I've used a default query to make it easier to set upDATABASE=<dbname>;HOSTNAME=<myhost>;UID=db2user;PWD=password;PORT=<dbport>;PROTOCOL=TCPIP
Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.
If you have any question, feedback or suggestion, please do not hesitate to say so :)