monitoring

Visual Basic using tail on a specific file in a folder

删除回忆录丶 提交于 2019-12-13 21:20:05
问题 I have a VB script that is running on a server, several times a day. One of the things this script is doing is creating log files, stating the status of certain files, determined by the age of the files. I do this by first finding the oldest and newest file, and if the newest file is within a specific timestamp(5 min) the status is “OK”, IF something in the check goes wrong the status is changed to “ERROR” the status variable is string variable(should have been a Boolean, but that is for

Elasticsearch + Kibana + Alerting (X-Pack) For Energy Monitoring System

安稳与你 提交于 2019-12-13 17:21:45
问题 Can somebody help me with Alerting Via X-Pack for Energy monitoring system project? The main problem here is I can't collect the 'Value' data from the database, as I want to compare it later with the upper and the lower threshold. So here is the index: PUT /test-1 { "mappings": { "Test1": { "properties": { "Value": { "type": "integer" }, "date": { "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ss.SSSZ" }, "UpperThreshold": { "type": "integer" }, "LowerThreshold": { "type": "integer" } } } } }

JVM Memory Types

吃可爱长大的小学妹 提交于 2019-12-13 15:54:19
问题 I'm working on a monitoring project; we have the monitoring software working and recollecting the metrics from the server. Everything is working fine, but we need some information about the JVM Memory Usage details. We have some columns with different memory types. We need to know what these are: Heap Non Heap Usage Peak Coll We've got maximums for all these columns (HeapMax, NonHeapMax, UsageMax, PeakMax and CollMax) and also used (HeapUsed, NonHeapUsed, UsageUsed, PeakUsed and CollUsed) We

How do I measure net used disk space change due to activity by a given process in Linux?

血红的双手。 提交于 2019-12-13 12:18:15
问题 I'd like to monitor disk space requirements of a running process. Ideally, I want to be able to point to a process and find out the net change in used disk space attributable to it. Is there an easy way of doing this in Linux? (I'm pretty sure it would be feasible, though maybe not very easy, to do this in Solaris with DTrace) 回答1: Probably you'll have to ptrace it (or get strace to do it for you and parse the output), and then try to work out what disc is being used. This is nontrivial, as

Azure AKS Monitoring - custom dashboard resources

天涯浪子 提交于 2019-12-13 08:56:33
问题 I am trying to create a custom dashboard with some specific data for the AKS cluster. What i would like to do is assemble a dashboard with a graph of the RAM and CPU usage per selected controllers and nodes, and if possible number of restarts per pod. How can i create a custom graphs with the controllers average resource usage ? 回答1: You can click on "Logs" link on the left on your AKS cluster blade in Azure Portal (make sure you have Insights enabled by clicking on "Insights" first - if it

Use Cacti to Monitor HTTP Status Codes of Request Responses?

人盡茶涼 提交于 2019-12-13 03:38:54
问题 I have a proxy script that makes HTTP GET requests to other pages using cURL through PHP. Is it possible to monitor what response codes are returned to those cURL requests, using Cacti? If not Cacti, possible with any similar monitoring system? For example, I want a report that shows how many responses came in each status category, ie, with a 200, a 404, 500, etc. 回答1: Sure, you CAN use Cacti to do such things. You can graph just about anything with it. http://docs.cacti.net/manual:087:3a

Perf Monitoring for rdtsc dynamically

烈酒焚心 提交于 2019-12-13 03:27:13
问题 Is there a way to monitor for assembly instructions in "real-time" dynamically using perf? I have seen that if I use perf record /perf top and then click on the recorded functions, I see the assembly instructions, but can I directly monitor specific assembly instructions e.g., rdtsc or clflush e.g., how often they are called by a process within certain period using perf? I am using Debian 9 on Skylake and also on Haswell. sudo uname -a Linux bla 4.9.0-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27

Config file finding unexpected $end, not sure why

橙三吉。 提交于 2019-12-13 02:37:22
问题 I am using a custom config of collectd and for some reason I keep getting a failure when I try and run the service. Originally I had everything in one big file, but to make changing configs easier I want to separate out the settings for various plugins and components. Collectd has a Include option to do exactly this. It seems to work, but when collectd tries to grab the external part of the program I get the following error: Parse error in file `/etc/collectd/collectd.conf.d/http.conf', line

ajax for displaying database information

天涯浪子 提交于 2019-12-13 00:41:28
问题 I have a script for chatting that Used Ajax, I would like to do a monitoring script in order to allow the administrator to see all exchanges between users. The thing is that I did not find any script that explain how to receive data from databse with no reload of the page. If anybody could help me to find that script or give me a tutorial to build it I'll be glad. Receive All my utmost Respect. Kind regards. SP. 回答1: You are using ajax.. the whole concept of ajax is not having to reload the

Know of any tools to monitor the REAL performance of an amazon ec2 instance? [closed]

大城市里の小女人 提交于 2019-12-12 20:56:00
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . There are times (like this morning for 15 minutes) when the performance of my cc1.4xlarge is horrible and it is not anything running on my instance as evidenced by the aws console monitoring graphs and my own investigation. It seems like the physical box that it is on is having problems or maybe Xen isn't