?
Solved

Monitoring executable activity

Posted on 2003-02-18
4
Medium Priority
?
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

741 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