monitoring

java cpu-intensive app stalls / hangs when increasing nr of workers. Where is the bottleneck, and how to deduce/ moitor it on linux/ubuntu server

I'm running a nightly cpu-intensitive java-application on a Ec2-server (c1.xlarge) which has 8 cores, 7,5 GB RAM (running Linux / Ubuntu 9.10 Karmic 64 bit) The appplication is architected in such a way that a variable number of workers are constructed (each in their own thread) and fetch messages from a queue to process them. Throug...

EC2 and login logging

Hello - I have set up several EC2 instances and intend to give multiple users access to them via SSH. Is there any file on the server that monitors who logs in and when? Any help greatly appreciated. Max. ...

Apache Response Time Monitoring in Hyperic

I seem to be having a hard time getting the Apache module for Hyperic to compile in Ubuntu 8.10. Has anyone had any luck getting it to work? Does anyone have a precompiled version? I am running Hyperic HQ version 4.1.2 build #1053, Apache 2.2.x ...

Monitoring a Java web application - is JMX the right choice?

Hi, We have a Java web application and we'd like to set up some basic monitoring with a view to expanding this monitoring in future. Our plan is as follows: (1) Collect generic information (e.g. memory and threads) about the virtual machine of the web container that application is running in. (2) Monitor the "state" of the applicatio...

Through Java, make a call to Javascript functions on networked device?

I am doing device monitoring on a networked system. I need to know how to make Javascript calls on that device via its IP address to get certain status information (this device's status is only available through Javascript APIs, not SNMP, etc). I am working in Java. ADDED: The specific device is an Amino set-top-box. It has what it call...

Session size in JEE/Seam Application

Hi all, I'm running into problems with the size of my Sessions with my Web Application that is based on the Jboss Seam Framework. I am using MessAdmin to investigate and it is reporting that as soon as a User logs in, their session size jumps from 50KB to 55MB (ouch). This seems crazy as I keep very few Objects in the Conversation/Sess...

Script to check IIS running or not

I would like to write a script to start IIS server automatically if it is stopped. ...

Creating External Monitoring for a web app

Hello, The company I work for built and hosts a web app used by our customers and I am interested in creating some kind of external monitoring page (similar to trust.salesforce.com) that users can go to to see the current state of our servers/app. I know there are tons of different 'monitoring' services out there but I want to create th...

JMX or NetMX real-world examples.

Hi I'm currently researching NetMX (and JMX by association) for a systems monitoring project. Does anyone have any real world examples of either of these libraries? The only examples I can find are manipulating a counter via JConsole which isn't helping me get a bigger picture. Thanks for any help... Jon ...

In a POSIX environment, how do I track files accessed by a child process?

I have my own POSIX application which starts a child process. I want the parent process to be notified with the names of all files the child process reads or writes, as well as the file names of any child processes the child spawns, and any dynamic libraries it loads. Similarly, I need to monitor all child processes spawned by child proc...

Hosted Continuous Application Monitoring Services

Does anybody know of a good service or tool for continuos application monitoring? I'm looking specifically for something that is hosted, so we don't have to worry to much about the fact that the monitoring tool is actually running. Specifically, we have a few e-commerce customers that we would like to provide detailed monitoring service...

command line connect to tcp port, read data, match pattern, print true or false

I'm trying to write a monitoring script. It should connect to some port on my server. Read the output. If the output is the expected value, print 1, otherwise print 0. I'm working on a solution involving cat < /dev/tcp/hostname/port, but the solution eludes me. Maybe something involving expect? Prefer a bash script solution. Help appreci...

Best Tool to collect Java process statistics and Explanation of JMAP

I am looking at collecting more detailed java statistics (in plain text format) i.e. statistics that the jstat command emits - like garbage collection data etc. Can anyone please suggest me the best tool to collect the java process statistics like jmap. EDIT Google gives me advise to use jmap with -histo:live option, but I am not able ...

Show SQL log on a separate monitor

I have an idea of monitoring all SQL queries on a spare monitor which is almost not used in my daily coding. You can see latest SQL queries in runtime. Obviously this is not unique. But I just want to know your opinion on this. Can this approach be useful? Can it help to detect a problems in your SQL queries faster? Can it help you in ...

any way to know how many checkouts of my code have happened from code.google.com?

I have hosted the code for one of my projects on code.google.com. While I am able to monitor incoming traffic to my project page using google analytics, I do not find a way to track how many checkouts of my code have happened. Is there any way to find details on checkouts that are happening? ...

App Engine urlfetch is raising exceptions when i think it should not be

I've written my first Python application with the App Engine APIs, it is intended to monitor a list of servers and notify me when one of them goes down, by sending a message to my iPhone using Prowl, or sending me an email, or both. Problem is, a few times a week it notifies me a server is down even when it clearly isn't. I've tested it...

Monitor the status of a c# web service without using error handling

Is there a good way to check if a web service is available that does not involve simply calling a served method? That is, I was looking for something like a .TryConnect() or .IsAvailable() method I could call before calling my .TransferData(data) method. I've tried reading the State variable of the service, but it even while the servic...

What Linux tools are available to monitor/configure deployed code?

I'm writing some telecommunications software, and must devise a way to monitor and configure the software after it has been deployed on a server. The company I work for currently has an in-house solution, but we're exploring other options. What tools are available that can do the following (preferably all in one package): 1) Deliver s...

IRP_MJ_WRITE latency up to 15 seconds

We have written an application that performs small (22kB) writes to multiple files at once (one thread performing asynchronous queued writes to multiple locations on behalf of other threads) on the same local volume (RAID1). 99.9% of the writes are low-latency but occasionally (maybe every minute or two) we get one or two huge latency wr...

How to dynamically monitor Java heap size?

Hi, I am trying to monitor the java heap size dynamically. Does anybody know how to get the maxmium memory used in the process of running a piece of codes? Does the Runtime.maxMemory() do the trick? Thanks ...