Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sending performance counter/monitor alerts by email

Posted on 2008-10-03
6
Medium Priority
?
739 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
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.
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). …
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…
Suggested Courses

721 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