monitoring

WMI Win32_Process WorkingSetSize Vista Issue

On a system monitoring project, I am retrieving process memory usage through WMI. I am using Jacob with Java to do the WMI query: SELECT WorkingSetSize FROM Win32_Process This method retrieves the exact memory usage (comparing to task manager) on Windows XP; however on Windows Vista, the memory usage is about 15% higher than the mem...

Monitoring a large log file in C#

I have to monitor a large log file during the day with C#. The size goes up to 200-300 MB for a day. What is the most efficient way to analyze it? The file is locked by the producing program. Preferably I would either have a read which realises that lines have been added or would read backwards. ...

to monitor local pc network and block ip's is winpcap is the tool ?

Hello i need to build network monitor that sniff the network and to hold ip policy that will enable me to block the network based on this policy for example: if im getting incoming http protocol from ip that is in my ip policy black list and now i like to block it and for example redirect this http request so it could contain now my http...

Window appears "see-through" when trying to append a line of text - Java

I am trying to append a percentage to a text area in java. It involves a loop that determines the percentage and then appends that to another JFrame with the text area in it. The "pro" class simply has a window with a JtextArea. The problem that I am encountering is that the window appears to show the window underneath, as if it were ...

Alternative to WireShark/Ethereal?

I totally love the way Fiddler neatly reduces a flood of HTTP information to just the stuff I want to see. I was wondering whether there is a utility out there that does the same for socket operations and calls? WireShark/Etherial is great, but the flood of data makes it difficult to easily understand what is going on? Is there someth...

Mitigating alarm cascades in monitors

I'm looking into creating some monitoring for various aspects of our systems and wanted to see if anyone had an best practices or methodologies they use. One thing I'm trying to figure out is the best way to prevent cascading alarms. For example if the database is down then you can expect alarms X Y and Z to go off, but X Y and Z are...

Read from a log file as it's being written using python

Hi, I'm trying to find a nice way to read a log file in real time using python. I'd like to process lines from a log file one at a time as it is written. Somehow I need to keep trying to read the file until it is created and then continue to process lines until I terminate the process. Is there an appropriate way to do this? Thanks. ...

Health Monitoring and Windows Services .NET

Can I use health monitoring with Windows Services .NET ?? I was wondering if you can enable Health Monitoring for WebSites and WCF Web services. I'm hosting a number of services in IIS and configured it to send the team email notification when any exceptions are thrown or another events. AppFabric monitoring all WCF Services. But nothin...

How to monitor web application DB query execution plans?

Is there a way in TOAD or some other tool to monitor queries being executed by your web app? I'd like to examine the explain/execution plans for the web app queries. I'm debugging why the webapp queries are slower than when run from sqlplus. ...

.NET - Exception Logging & Monitoring

Hi folks, What's the best way to monitor exception logging in production environment? I have an application where in exceptions are logged to a text file. Everytime, i need access to these log files, i got to request backoffice team to send me a copy. To improvise this process, i have thought of few options: 1) Email the error logs on...

Monitoring traffic to Cassini on localhost

I'm experiencing some really odd timeout issues when running a ASP.NET 2.0 project on Cassini on localhost, and I don't have enough data to get a clue of what's going on. Is there a way to monitor localhost traffic to Cassini, either using some specific development tool or a general-purpose monitoring app such as fiddler? Just to pre-e...

Shell Script to monitor folder and upload found files via FTP

Hi everyone! I'm in a need of a shell script that search for all files in a folder, move all those files to a temp folder, and upload those files via FTP. When the file transfer via FTP completes successfully, the file is moved to a completed folder. In case any of those files fails, the file will be moved to a failed folder. I have v...

monitor process uptime on Windows

We want to monitor some processes on windows machine. If process is down for 30 minutes, an alarm will be raised. Is it possible/or necessary to monitor a process downtime precisely, say, a process is down EXACTLY for 30 minutes, then an alarm will be raised? Normally, we can check it every 1 minute, but technically, most of the time, yo...

Python library for monitoring /proc/diskstats?

Hi, I would like to monitor system IO load from a python program, accessing statistics similar to those provided in /proc/diskstats in linux (although obviously a cross-platform library would be great). Is there an existing python library that I could use to query disk IO statistics on linux? ...

Azure is not responding and/or busy, now what?

We have been experiencing some intermittent Windows Azure issues with our http://odata.stackexchange.com Essentially this is what is happening: We deploy it Everything works fine for a few days The server starts playing up and will flip from "busy" to "unresponsive" Sometimes it comes out of state (3) after a few hours / days and ...

Error monitor for different applications

Currently we have many applications, where each application has its own error notification and reporting mechanism, so we clearly have many problems: Lack of consistent error monitoring across different systems/applications: different GUIs, interfaces, different messages, etc. Different approaches for error notification per application...

Calculating timespans for outages when I have only the results of failed calls

I'm writing a report that shows total downtime for our website. When a user visits our site and something's not working (ie the load balancer thinks our site isn't responsive), it sends visitors to a "Maintenance" page. The maintenance page logs to the database that it's been viewed and displays a friendly message to the visitor. That m...

Monitoring/highlighting terminal stdout for keywords

Because our recent development work, I was put into a position where I have to monitoring a few of our application's output logs, specifically I am looking for a certain error code(s). Because my limited scripting skill right now the only thing I can do is to tail -f the log file and just keep looking for update. I also use PuTTY. I am h...

script, bat to monitor if a user is locked in active directory Windows.

Hi, there is a method to implement this functionality for monitor an specific user in active directory to check if this is blocked.(And if this is locked , unlocked this user automatically) Is a common user, that get blocked frecuently. Or there is a possibilty for avoid the "3 tries for login and then lock" for this specific user. I...

Continuous Performance Monitoring of .NET Applications in Production?

Given a relatively typical .NET 4 system in an SOA environment (i.e. Windows Server 2008 R2, RESTful Web Services on IIS 7, Windows Services for NServiceBus messaging, SQL Server 2008 R2, etc) what are the best practices or de facto solutions (without enterprise price tag) for performing 24x7 performance monitoring in production? Not n...