ContributionsMost RecentMost LikesSolutionsRe: Let's talk about Swag...baby! @A11ey .. really like the idea. Yes. Both. Shirts, T-shirts, mugs/cupscoolers, sweatshirts Quiz and Challenges (if possible hackathon’s too). 😎 Re: Can we put only of the running Oracle instances in one server to SDT? Hi @Mike Moniz , Thanks for your response. I apologize for not properly paraphrasing my question. Actually we have multiple datasources for DB monitoring, and under each one of them there are multiple DB instances. Now if one particular undergoes a maintenance window, we have to manually go inside each of the datasource’s discovered instances and put them in SDT. That’s a tedious job. So we were looking to see if there’s any efficient way of doing that. Thanks Can we put only of the running Oracle instances in one server to SDT? We have servers where there are multiple DBs hosted. Not all of them undergo the maintenance window at the same time. So the DB team would like to have the option of putting only the required DB instance to SDT. Re: Regarding GO API Programming Hi @Stuart Weenig, I tried that. Python kept failing due to multiple library dependencies. I am looking for something like a "Step by Step" guide to run at least one on of the simplest programs in Python from Linux. I think I am missing something, also in our environment its not possible to "pip install ****" due to not having open internet connectivity from Linux. Regarding GO API Programming Hi All, I am new to both GO as well as to API Programming. I have downloaded the SDK and kept it inside one of our Linux boxes (where GO is installed). When I am running go mod tidy, this is the output I am receiving. [root@server]# go mod tidy go: finding module for package github.com/go-openapi/runtime go: finding module for package github.com/go-openapi/runtime/client go: finding module for package github.com/go-openapi/strfmt go: finding module for package github.com/logicmonitor/lm-sdk-go/client/lm go: finding module for package github.com/go-openapi/errors go: finding module for package github.com/go-openapi/swag go: finding module for package github.com/logicmonitor/lm-sdk-go/models go: finding module for package github.com/go-openapi/validate github.com/LM/github.com/logicmonitor/lm-sdk-go/client imports github.com/go-openapi/runtime: module github.com/go-openapi/runtime: Get "https://proxy.golang.org/github.com/go-openapi/runtime/@v/list": read tcp x.x.x.x :21126->142.250.191.113:443: read: connection reset by peer github.com/LM/github.com/logicmonitor/lm-sdk-go/client imports github.com/go-openapi/runtime/client: module github.com/go-openapi/runtime/client: Get "https://proxy.golang.org/github.com/go-openapi/runtime/client/@v/list": read tcp x.x.x.x:21130->142.250.191.113:443: read: connection reset by peer github.com/LM/github.com/logicmonitor/lm-sdk-go/client imports github.com/go-openapi/strfmt: module github.com/go-openapi/strfmt: Get "https://proxy.golang.org/github.com/go-openapi/strfmt/@v/list": read tcp x.x.x.x:21132->142.250.191.113:443: read: connection reset by peer I am inside this path /home/user/LM and the SDKs are unzipped under /home/user/github.com. I have put "x" instead of the actual server IP. Please suggest. Thanks Re: Linux SSH Filesystem Monitoring Dynamic Thresholds based on Size Thanks @Stuart Weenig, is there any SSH equivalent? We don't have SNMP in our environment Re: Linux SSH Filesystem Monitoring Dynamic Thresholds based on Size Hi@Stuart Weenig, can you please tell me the built-in datasource name? Linux SSH Filesystem Monitoring Dynamic Thresholds based on Size Hi All, Can anyone please tell me if you have a solution to the below situation. Currently we have a static thresholds for all the filesystem 85, 90 and 95% utilization. This actually causes a lot of alerts for bigger filesystems, which could be dealt with less priority than the small sized ones. So what we are looking is to find a way to is to have dynamic thresholds which would change based on the total size of the filesystem. Let's say for filesystems of size 1GB to 100GB -->85, 90 and 95% 101GB to 500GB ---> 88, 92, 96% 501GB to 2TB --> 92, 95, 97 2TB above --> 96, 98, 99 One of the solution is to probably have a separate datasource for bigger filesystems or to have something by manipulating the complex datapoints. Is there any better solution for this? Re: Linux SSH ID Monitoring Pardon my ignorance, but I am fairly new to groovy. Can you please tell me if this looks ok? import com.jcraft.jsch.JSch import com.santaba.agent.util.Settings host = hostProps.get("system.hostname") user = hostProps.get("ssh.user") pass = hostProps.get("ssh.pass") port = hostProps.get("ssh.port")?.toInteger() ?: 22 //cert = hostProps.get("ssh.cert") ?: '~/.ssh/id_rsa' timeout = 15000 // timeout in milliseconds try { jsch = new JSch() session = jsch.getSession(user, host, port) session.setConfig("StrictHostKeyChecking", "no"); String authMethod = Settings.getSetting(Settings.SSH_PREFEREDAUTHENTICATION, Settings.DEFAULT_SSH_PREFEREDAUTHENTICATION); session.setConfig("PreferredAuthentications", authMethod); if (user && pass) { session.connect() } } catch(Exception e) { System.out.println(e); } finally { session.disconnect() } Re: Linux SSH ID Monitoring @Stuart Weenig, thanks. Are you referring to something like below? if (user && pass) { // Both user and pass exist, try to auth and if we get an invalid login error, warn the user try { def jsch = new JSch() session = jsch.getSession(user, host, port) session.connect() } catch(Exception e) { System.out.println(e); } }
Top ContributionsRe: Let's talk about Swag...baby!Re: Can we put only of the running Oracle instances in one server to SDT?Can we put only of the running Oracle instances in one server to SDT?Re: Regarding GO API ProgrammingRegarding GO API ProgrammingRe: Linux SSH Filesystem Monitoring Dynamic Thresholds based on SizeRe: Linux SSH Filesystem Monitoring Dynamic Thresholds based on SizeLinux SSH Filesystem Monitoring Dynamic Thresholds based on SizeRe: Linux SSH ID MonitoringRe: Linux SSH ID Monitoring