Solved

Sending performance counter/monitor alerts by email

Posted on 2008-10-03
6
733 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
[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
  • 4
6 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22637757
0
 
LVL 4

Expert Comment

by:asrdias
ID: 22637997
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
ID: 22638537
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 4

Expert Comment

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

Accepted Solution

by:
dipich earned 0 total points
ID: 22638625
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
ID: 22638990
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

710 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