monitoring

How to use MemoryPoolMXBean

Hi all. We develop a server and we want to program congestion control into it. What we want to do is detect when free heap is below a certain threshold and stop accepting new data until free memory goes up again. Our first approach used runtime.freeMemory. This caused false positives as free heap went below the threshold before GC kicked...

JBoss Monitoring with Cacti

Hi all! If there is anyone out there who has experience with monitoring JBoss with Cacti, I need help! I used this template posted on the Cacti forums. It has 3 template graphs, and 2 of those graphs are working really well. For some reason though, the third graph (Transaction Manager) isn't working. I'm get 0's for all the values. I...

SNMP monitoring tool(s) for full network monitoring with hookable alerting/notifications

I'm looking for a full network monitoring tool that is able to understand the SNMP protocol (for MySQL), preferably an open-source solution. We specifically want to be able to hook into the alerting mechanism so we can have it forward alerts and notifications to our internal logging and alerting tools. Are there any suggestions? The n...

how do i get system stats in PHP

i am launching a beta version of a web app and i want to log system information about resources. system monitors eat up way too much resources and do a lot more than what i need. What i want to do is get key stats and log them every time a user logs in. these are the stats i am interested in: number of users - i have done this alread...

Network monitoring systems

I am trying to find a good network monitoring system, easy to configure and to still have a lot of features. I want to try Nagio but it seems to be very complicated. I saw that are also a lot of systems direved from it (or work with it), like groundwork or Shinken. Do you know or recommend a good solution for this? ...

Simple self-hosted website monitoring

Hi, I'm looking for a simple self hosted website monitoring tool. It should be somthing similar to watchmouse.com or pimgdom.com, with a nice UI, colorful charts and so on (Customers like that :)). At the moment we use Zabbix also for HTTP monitoring, but since now our hoster care about the hardware and software monitoring on the machi...

What happens to a user request when a Mongrel thread locks up & gets restarted by monit?

Hi, I cannot find an answer to this anywhere I've looked so hoping someone can help. We run a pack of 30 mongrel servers & have just started to use monit to identify locked threads and restart them. My question is, what happens to the users request, which was being handled by the locked thread when this happens - especially, what do ...

Problems with jetty crashing intermittently

Hi, I'm having problems with jetty crashing intermittently, I'm using Jetty 6.1.24. I'm running a neo4j Spring MVC webapp, Jetty will stay running for approx 1 hour and then I have to restart Jetty. It is running on small amazon ec2 instance, debian with 1.7gb of RAM. I start Jetty using java -Xmx900m -server -jar start.jar I am conn...

Is there a way to actively monitor HTTP requests on Rails, to direct the request to another mongrel if it times out?

Hi, I am working with a client who's server admin refuses to install monit or god on their webserver to restart locked or slow mongrels / threads as they reckon the application should just work flawlessly and threads should never lock / go slow. Unfortunately their app makes a lot of calls to 3rd party webservices, many of which are sl...

declare window in selenium with browsermob

I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My problem is when I try to use window.document.getElementsByName("name"); browsermob says that window is not defined. How do you define window? ...

Monitor Multiple Pylons Application

Are there any tools that I can run on my server to monitor multiple Pylons applications? I need to monitor the number of requests each application receives, how much memory each application is using, how much of the cpu is being used and other stats similar to those. I need to see the stats for each individual Pylons application. All i...

Hibernate Monitoring Solution

Hello, I would like to monitor hibernate action. I see on the internet the zentracker monitor solution that permit to monitor a lot of activity of hibernate. But It is compatible with the last version of hibernate 3.5.*? if it's not, do you have solution to monitor query execution time, sessionFactory opened, persitence object created...

Monitoring button clicks using UI Automation Framework

Hi All, I am trying to use UI Automation Framework to monitor button clicks in my WPF app.I got hold of the individual buttons in my applications, but it seems that I can only call the Invoke method on my button. So my question is can the UI Automation Framework be used to monitor clicks on buttons or is it only to simulate the clicks?...

Monitor File for Read and Change Data?

Is there any way, using C#, to monitor a specific file then change its contents before it is read by specific applications? Here is the situation: I have a Windows 2003 Server running ASP.NET with a configuration file (xml) which contains LDAP information. I want to have the LDAP password encrypted. I'm trying to devise a way to monit...

email alert if program crashes

I have a program which needs to be constantly running on my Windows XP box. When I'm away from home (or even when I'm at home) I'd like to get an email notification if that program were to ever crash, which it does occasionally. If it is a scheduled task that monitors it a 5m interval between checks is OK. Any suggestions? ...

How can I programmatically detect ssh authentication types available?

I'd like to write a monitoring plugin that checks various hosts on my network to make sure that password or interactive SSH authentication is not enabled. That is, I need to write code that: Connects to an SSH port. Enumerates available authentication methods. Verifies that only key based authentication is possible. Methods using eit...

monitor WPD devices using WMI

I'm trying to monitor all removable devices that are installed on my computer, and for that I'm using the Win32_logicaldisk WMI class (for monitoring drive letters) The problem is that WPD devices (for example a photo camera which doesn't have a letter) don't show up there. Any idea if this can be done with WMI? ...

Use jpathwatch to find out when a program finished writing to a file

I'm currently using jpathwatch to watch for new files created in a folder. All fine, but I need to find out when a program finished writing to a file. The library's author describes on his website (http://jpathwatch.wordpress.com/faq/) how that's done but somehow I don't have a clue how to do that. Maybe it's described a bit unclear or ...

Calling/monitoring JVM via JMX from a non java client

I am using Nagios for monitoring - and looking at NPRE for various monitoring on a given box. I have some java processes - would be nice to "peek into them" via JMX etc.. I can't see a way to do this without starting up a JVM and connecting remotely? Any ideas? ...

Why would you use an HTTP Module over ASP.NET Health Monitoring or visa versa?

I have come across this question several times, you need to do some performance testing (request process times, load times, etc) or track unhanded exceptions. The answers usually come down to writing a HTTP Module, hook into specific events and log them somewhere, or use the built in health monitoring? Why would we use one over the othe...