monitoring

SQL Client Profiler?

霸气de小男生 提交于 2019-12-25 03:08:09
问题 I am aware of " SQL Server Profiler ", But is there any tools or methods available to monitor the issued sql queries from the client machine? Some of the things currently in my mind are: 1) The SysInternals ProcMon can log and tell when the executable process on client machine connects to sql server. Any similar but more advanced tools available to tell more data? 2) Any debug version or instrumented version of client libraries and APIs available for client machine to allow such operation?

Why an auto scheduled app from Java didn't start on Windows?

霸气de小男生 提交于 2019-12-25 02:09:12
问题 I have a Java Swing app that is supposed to start a 2nd JVM, my code looks like this : public class App_A implements Runnable { ... public static void start2ndJVM() throws Exception { String separator=System.getProperty("file.separator"),classpath=System.getProperty("java.class.path"),path=System.getProperty("java.home")+separator+"bin"+separator+"java"; pb=new ProcessBuilder(path,"-cp",classpath,App_B.class.getName(),"Auto Exit !"); pb.directory(new File("Dir_Data")); File log=new File("Log

How do I get a custom Nagios plugin to work with NRPE?

老子叫甜甜 提交于 2019-12-24 21:17:35
问题 I have a system with no internet access where I want to install some Nagios monitoring services/plugins. I installed NRPE (Nagios Remote Plugin Executor), and I can see commands defined in it, like check_users , check_load , check_zombie_procs , etc. command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 ... I am able to run the commands like so: /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c

Standard node.js metrics?

偶尔善良 提交于 2019-12-24 13:13:14
问题 Are there any standard metrics publishing packages for node.js? I'm not asking about general metrics libraries, but rather packages that produce a specific set of metrics (e.g. http QPS, runtime memory usage, gc stats, etc...) If you wanted to offer a monitoring service for node.js users, what would you monitor? 回答1: I believe that Node Application Metrics ('appmetrics') provides what your looking for. This is a module that provides a set of metrics about a running Node.js process, rather

How to calculate/validate captured data size on Wireshark

谁都会走 提交于 2019-12-24 09:41:33
问题 I want to monitor data size transferred into and out of my database. I'm using a Java client application & Firebird v2.5 database. Both are deployed locally on one machine. It turns out that Firebird does not provide any monitoring variable like "Bytes_received" or "Bytes_sent" that are available in MySQL. as discussed in Is there any way to monitor the size of data transfer In/Out of database So I set up some tools to capture the local traffic and analyse it. WireShark - to analyse the

Is there any way to monitor the size of data transfer In/Out of database

南笙酒味 提交于 2019-12-24 09:27:33
问题 I am developing a stock management system using Java Swing Framework and Firebird v2.5 My aim is to calculate the amount of data being transferred In/Out of the database for a defined interval. I've been searching online, found out that in MySQL they have these monitoring variables Like "Bytes_received" or "Bytes_sent" which can be used to get Session oriented or Global count for bytes being receive & sent respectively. Is there any better approach to calculate that? 来源: https://stackoverflow

How to find which Program or User executed Query using Query Store in SQL Server 2016+

二次信任 提交于 2019-12-24 05:02:25
问题 After enabling query store, how to find who executed the query. For example, in case of trace collection, there is TRC file which will get the hostname and program details for query and in case of Extended-Events, we have XEL file which will get the hostname and program details. We tried code SELECT des.program_name, des.host_name, * FROM sys.query_store_query_text qt -- Query Text JOIN sys.query_store_query q ON qt.query_text_id = q.query_id -- Query Data JOIN sys.query_store_plan qp on qp

How to find which Program or User executed Query using Query Store in SQL Server 2016+

半世苍凉 提交于 2019-12-24 05:02:21
问题 After enabling query store, how to find who executed the query. For example, in case of trace collection, there is TRC file which will get the hostname and program details for query and in case of Extended-Events, we have XEL file which will get the hostname and program details. We tried code SELECT des.program_name, des.host_name, * FROM sys.query_store_query_text qt -- Query Text JOIN sys.query_store_query q ON qt.query_text_id = q.query_id -- Query Data JOIN sys.query_store_plan qp on qp

Can I include Custom data in a AWS Cloudwatch Alert?

こ雲淡風輕ζ 提交于 2019-12-24 00:59:07
问题 I'm using AWS Cloudwatch to monitor application log files on my AWS EC2 instances. Is there a way to include Custom data (I.E. stack trace) in the Cloudwatch Alert when it is triggered by the metric I define? 回答1: I ended up routing the alert event to a REST service I wrote rather than to the SNS notification group. The web service uses the "event name" and timestamp to generate a custom notification. It pulls diagnostic information from several services, including our ELK stack, and includes

ColdFusion Server Monitoring - Not Working

送分小仙女□ 提交于 2019-12-24 00:54:29
问题 I am trying to launch the ColdFusion Server Monitor on a Windows Server 2003 (Web Edition) machine running ColdFusion 8 (ver. 8,0,0,176276). It is running in stand-alone configuration. The pop-up window launches as http://www.mydomain.com/CFIDE/administrator/monitor/launch-monitor.cfm. However, I get a Flash dialogue box then with the error information 'ColdFusion Server is unavailable'. The dialogue box also has a place to fill out the server details (such as port number and username