Solved

Sending performance counter/monitor alerts by email

Posted on 2008-10-03
6
735 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 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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…
Suggested Courses

622 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