Solved

Sending performance counter/monitor alerts by email

Posted on 2008-10-03
6
731 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

740 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