Solved

Sending performance counter/monitor alerts by email

Posted on 2008-10-03
6
728 Views
Last Modified: 2008-10-08
We are using the connector for lotusnotes to communicate with the rest of a large company. sometimes the connector service stops working - it means the service is running but does not bring mail accress the two systems and the queues are growing.

i'm able to read the performace counters (number of msgs in the queue) and i would like to get a notification by mail when a special treshold is reached.

when i create an alert using performance monitor i can choose different actions. when i check to create a syslog entry it works fine ... but when i also check the "run this programm" and select e.g. a batfile which normaly sends a mail or also choose "clac.exe" nothing happens. when i choose calc.exe - i see only a calc.exe task in the taskmanager but no calc opens ....

doers anybody have an idea how i can send a mail when a counter reaches a treshold????

thx a lot
0
Comment
Question by:dipich
  • 4
6 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
Comment Utility
0
 
LVL 4

Expert Comment

by:asrdias
Comment Utility
This explains why calc or notepad wont work...
http://support.microsoft.com/kb/117371/en

But not lauching a batch file is odd...

0
 
LVL 4

Expert Comment

by:asrdias
Comment Utility
I've been testing this with Process Monitor from sysinternals.

In my case I had a batch file on c:\ that echos to a file the parameteres passed by perfmon alert.
It turned out in my case that the user that launches the cmd /c is nt authority\network service and It was having access denied.

I gave the network service full permition in the root of C: and now it works ok.

Hope it can help you
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 4

Expert Comment

by:asrdias
Comment Utility
As an add the nt authority\network service user is "network service"
0
 

Accepted Solution

by:
dipich earned 0 total points
Comment Utility
hi guy

after reviewing some of the answers and trying this and this i found a solution:

putting the full path in fron of the script (e.g. c:\alert\bmail.exe) and the /c behind the exe file helped ...

thx 4 help and the quick respnose.
0
 
LVL 4

Expert Comment

by:asrdias
Comment Utility
For a clear understanding that might help others please explainn exactly how you set it up.

using the /c after the command line you want to run causes the perfmon stating that the command you want to execute is invalid.

Need to know - What command is on the parameters field for the "run this command" in the perfmon action setup tab.

0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now