Solved

Problem with Performance Monitor in Windows 2003

Posted on 2013-11-20
12
231 Views
Last Modified: 2013-12-16
Hello,

i have this problem. I set the alert in Performance when a hard-disk of my server is full.
I configured two options:

- log an entry in the application event log
- run this program

Run this program doesn't work. I tried each configuration but the program doesn't run.
The file sendmail.bat if i launch it manually it works correctly
config.jpg
0
Comment
Question by:r3helpdesk
[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
  • 7
  • 3
  • 2
12 Comments
 
LVL 9

Expert Comment

by:Ahmed786
ID: 39662684
In Run this program, why are you not pointing to your batch file i.e. to sendmail.bat.

You have at present pointed to cmd.exe
0
 

Author Comment

by:r3helpdesk
ID: 39662932
Hello, i have tried also this configuration, but it doesn't work.
0
 
LVL 9

Expert Comment

by:Ahmed786
ID: 39662985
It may run only when you have met the requirement what it has been set during monitoring.

At same time have you get any log entries in your application event log ?, if no then the batch file can also be not running.

If you get entries in your application log then that batch file should run.
0
Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

 

Author Comment

by:r3helpdesk
ID: 39666585
the event is generated, it appears in the logs but the batch doesn't start
0
 
LVL 37

Expert Comment

by:bbao
ID: 39667234
it won't start as it requires the command shell.

the correct way to call is "CMD.EXE /C D:\xxxx\sendmail\SENDMAIL.BAT"
0
 

Author Comment

by:r3helpdesk
ID: 39677724
ok, i try.

Thanks
0
 

Author Comment

by:r3helpdesk
ID: 39678025
hello, is it correct?
config.jpg
0
 

Author Comment

by:r3helpdesk
ID: 39689358
i have tried this configuration but it doesn't work.
Any help?
0
 
LVL 9

Expert Comment

by:Ahmed786
ID: 39689551
I think you have not put the correct entry,

it is as below

"CMD.EXE /C D:\xxxx\sendmail\SENDMAIL.BAT"  

(There is space after CMD.EXE and also space after /C)
0
 

Accepted Solution

by:
r3helpdesk earned 0 total points
ID: 39713542
Hello i solved - this is the configuration that i applied:
under "Run this program" i put the path of the bat file (d:\sendmail\sendmail.bat) and under "Command line argument" i put the flag in "Measured Value"
0
 
LVL 37

Expert Comment

by:bbao
ID: 39715783
the question should not be deleted. as the author found the solution himself/herself, the posted solution should be accepted as the answer.
0
 

Author Closing Comment

by:r3helpdesk
ID: 39721081
This was the solution to my problem
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to count occurrences of each item in an array.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

635 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