Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with Performance Monitor in Windows 2003

Posted on 2013-11-20
12
Medium Priority
?
235 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
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

916 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