monitoring

Administration and Monitoring of Apache-Camel routes in ServiceMix

孤街浪徒 提交于 2019-12-07 03:25:16
问题 Being a user of Camel and ServiceMix I frequently need to monitor those tools for development purposes. I mainly use JConsole to access MBeans from ServiceMix and Camel. It gives a few really helpful metrics for an ESB developer. I also use karaf (web)console to track my route and bundles status. Looking around StackOverflow I found an interesting link that explains how to setup Hyperic HQ for ServiceMix 4: Monitoring Servicemix with Hyperic HQ. Are they other tools you would consider worthy

How to monitoring directory for files in Delphi XE? [duplicate]

核能气质少年 提交于 2019-12-07 01:48:50
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Delphi notification when a file gets updated Need monitoring for create files and count them. OS: WinXP and high. 回答1: Last year I had the same need and tried out Iztok Kacin's Directory Watch: http://www.cromis.net/blog/downloads/directory-watch/. He responded to email and was very helpful in answering my questions. His code worked, but I needed to be notified at the moment a file in a specific folder was

How to use proximity sensor programmatically with iOS development?

时间秒杀一切 提交于 2019-12-06 20:49:04
问题 After some googling, I can understand that the "proximity sensor" which is used to on/off screen when the device is away/near from the user. I watched this video (watch from 30th sec) and surprised about this cool stuff. I want to implement it in my app. But I come to know that there is no public API is available that can protect the screen lock when proximityMonitoringEnabled is YES . Then how can the above app did this? For clear understanding, I'm copying some code. Enable the proximity

PDF report in zabbix 2.2.9

本小妞迷上赌 提交于 2019-12-06 13:29:25
问题 I am using Zabbix for the first time and successfully configured the same. Now the next very important step is to generate report and download as PDF. There are few links available to facilitate the same but I am unable to get the desired output. https://www.zabbix.com/forum/showthread.php?t=24998 Please help with some solutions. 回答1: zabbix-dynamic-pdf-report zabbix-dynamic-pdf-report module allow us to generate pdf reports. Once implemented we have options to generate reports for ‘Host’,

How do I enable snmp on CoreOS

半腔热情 提交于 2019-12-06 13:23:12
I cannot seem to find any useful info on the topic. Furthermore, what is the best way to monitor CoreOS (we use observium). If standard Linux SNMP metrics are most you need, you just want to deploy a container that runs SNMP daemon. For that purpose you will probably need to expose it to host's network namespace ( --net=host , if you are using Docker) and then you definitely need to bind-mount /proc (with -v /proc:/hostproc passed to docker run ). The only unusual thing you would need point the SNMP daemon at is the /hostproc instead of /proc . You can probably try using the polinux/snmpd

How can I monitor / limit network traffic used by my app?

∥☆過路亽.° 提交于 2019-12-06 12:37:05
I would like to be able to measure network traffic and limit it. I'm looking for something that lets me know between two calls how much data has been sent and received. Also, I would like to be able to limit network traffic (in & out) for my app. Something like the NetLimiter software (great app!) but which I can control from my code. Do you know some third party components to do this ? This is meant to be used on a datasnap 2009 thin-client. If you use Indy, then use the TIdInterceptThrottler class. Simply set the BitsPerSec property. My understanding is that DataSnap is based on Indy. If you

Using inotify in a script to monitor a directory

无人久伴 提交于 2019-12-06 12:07:24
问题 I have written a bash script to monitor a particular directory "/root/secondfolder/" the script is as follows: #!/bin/sh while inotifywait -mr -e close_write "/root/secondfolder/" do echo "close_write" done When I create a file called "fourth.txt" in "/root/secondfolder/" and write stuff to it, save and close it, it outputs the following but it does not echo "close_write": /root/secondfolder/ CLOSE_WRITE,CLOSE fourth.txt can someone point me in the right direction? 回答1: You are not far away

Tomcat Thread Monitoring Mbeans Description

情到浓时终转凉″ 提交于 2019-12-06 11:48:49
In thread related Mbeans of Tomcat I see under Catalina.ThreadPool. there are different attributes viz. maxThreads, currentThreadCount, currentThreadsBusy etc. So, where can I get the description of these Mbean attributes, what each of these attribute is indicating, I need to include this in my monitoring automation code, Which will provide the Thread utilization stats. also possible I would like to see the Source code, where can I get it? When I see the Mbean class name (through jconsole) it shows as org.apache.tomcat.util.modeler.BaseModelMBean, but when I go through the source code of

Automatically restarting HHVM when it stops responding but process not dead

情到浓时终转凉″ 提交于 2019-12-06 11:15:18
I'm having a problem where every 12-24 hours, HHVM crashes but it seems to leave the process running. It seems most providers just use php5-fpm as a failover within nginx for stability. However, this won't restart the non-responsive hhvm instance. Since the process is left running, most server monitoring solutions will see it as a live daemon, and not restart it. HTTP monitoring can be slow to react. Is it possible to trigger the hhvm restart on failover? If not, what would be the best solution to ensure a listening daemon that's non responsive is restarted. kristapsk posted a solution on

Observing or monitoring users working with an application remotely

只谈情不闲聊 提交于 2019-12-06 10:42:52
问题 I'm a believer in observing what users are doing with an application. I think that it is the only way to get an accurate picture of what people are doing. However, I don't always want to be sitting with them and peering over their shoulder; apart from the time burden it is a distracting for them and may also change their behaviour. What I'd really like is a way of observing/recording/monitoring/logging what users are doing in a windows form application. I'd also like to be able to analyse the