Solved

Problem with Performance Monitor in Windows 2003

Posted on 2013-11-20
12
218 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 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