Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Monitoring executable activity

Posted on 2003-02-18
4
Medium Priority
?
283 Views
Last Modified: 2013-12-19
I have an executable (in-house built app) on a Windows 2000 application server that needs to stay running for our business needs.  

I have been asked to set up monitoring so the machine sends an automatic alert to individuals when the executable stops running (ie process leaves the process list in task manager).  This can be either e-mail or network messages (eg net send).

Can I do this with Performance Monitor (and if so how) or is there a little application out there that will do this for me?
0
Comment
Question by:Steve_L
  • 3
4 Comments
 
LVL 16

Expert Comment

by:JammyPak
ID: 7981650
Well...performance monitor can send email alerts, but the problem is, it can only send alerts on things that it can monitor.

Here's a *maybe*....
you can monitor cpu usage of the process which is your program, and trigger an alert when this value reaches 0. Actually, it only support triggers on readings over or under a given value, so I guess you'd have to say "under 1". Just a thought.

A problem would be that for every time sample, it would trigger an alert (if you had a 1second interval, it would email every second when the program stops. You could always make the interval larger depending on your needs.

hth,
JP
0
 

Author Comment

by:Steve_L
ID: 7984825
JP,
Good idea but I have tried that one.  When the process stops the perf mon doesn't send an alert if you set the elapsed time alert to "Under 1".  Any further ideas?
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 7989946
Hmmm....I just tried it out, and it seemed to work.

Here's what I did
Create a new alert called blah, with the following settings
Object: Process (not *Processor*)
Instance:the process you want (I used syslogd)
Counter: %Processor Time

Alert when the Value is <Under>  <1>

My 'Action' was just to write an event to the application log. When I shut down syslogd, I started getting events in the app log every 5 seconds (my default data sample interval). Since it worked with event log, it should work to run some kind of a program as well.

HTH,
JP
0
 
LVL 16

Accepted Solution

by:
JammyPak earned 300 total points
ID: 7989965
Here's what was in event log:
Counter: \\computername\Process(Syslogd)\% Processor Time has tripped its alert threshold. The counter value of 0.9375 is under the limit value of 1.

and then...

Counter: \\computername\Process(Syslogd)\% Processor Time has tripped its alert threshold. The counter value of 0.625 is under the limit value of 1.

Counter: \\computername\Process(Syslogd)\% Processor Time has tripped its alert threshold. The counter value of 0 is under the limit value of 1.

Interesting one here -

Counter: \\computername\Process(Syslogd)\% Processor Time has tripped its alert threshold. The counter value of 5.62525723551685e-006 is under the limit value of 1.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Resolve DNS query failed errors for Exchange
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Loops Section Overview

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question