Solved

Problem with Performance Monitor in Windows 2003

Posted on 2013-11-20
12
217 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
 

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:Bing CISM / CISSP
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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:Bing CISM / CISSP
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

It is a common problem that often server suffers from the lack of space on system volume. Old servers or new ones from vendors come with preformatted small volume - 5-6GB in total and after installing updates or applications the free space on system…
I wrote an article (http://www.experts-exchange.com/articles/2245/Anti-rootkit-software.html) some time ago with a reference to nLite  (http://www.nliteos.com/)slipstreaming software.  I recently changed that link to point to NTLite (https://www.ntl…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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.

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now