• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Problem with Performance Monitor in Windows 2003

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
r3helpdesk
Asked:
r3helpdesk
  • 7
  • 3
  • 2
1 Solution
 
Ahmed786Commented:
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
 
r3helpdeskAuthor Commented:
Hello, i have tried also this configuration, but it doesn't work.
0
 
Ahmed786Commented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
r3helpdeskAuthor Commented:
the event is generated, it appears in the logs but the batch doesn't start
0
 
bbaoIT ConsultantCommented:
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
 
r3helpdeskAuthor Commented:
ok, i try.

Thanks
0
 
r3helpdeskAuthor Commented:
hello, is it correct?
config.jpg
0
 
r3helpdeskAuthor Commented:
i have tried this configuration but it doesn't work.
Any help?
0
 
Ahmed786Commented:
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
 
r3helpdeskAuthor Commented:
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
 
bbaoIT ConsultantCommented:
the question should not be deleted. as the author found the solution himself/herself, the posted solution should be accepted as the answer.
0
 
r3helpdeskAuthor Commented:
This was the solution to my problem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 7
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now