Solved

Problem with Performance Monitor in Windows 2003

Posted on 2013-11-20
12
216 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
Comment Utility
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
Comment Utility
Hello, i have tried also this configuration, but it doesn't work.
0
 
LVL 9

Expert Comment

by:Ahmed786
Comment Utility
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
Comment Utility
the event is generated, it appears in the logs but the batch doesn't start
0
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
Comment Utility
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
Comment Utility
ok, i try.

Thanks
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:r3helpdesk
Comment Utility
hello, is it correct?
config.jpg
0
 

Author Comment

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

Expert Comment

by:Ahmed786
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
This was the solution to my problem
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

762 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

11 Experts available now in Live!

Get 1:1 Help Now