Windows Server 2003
1825061 Members
4865 Online
109679 Solutions
New Discussion юеВ

Re: Performance Monitor: An easy one?

 
Edgar Zapata
Esteemed Contributor

Performance Monitor: An easy one?

I want to setup an alert. It prompts me for an .exe file program to run when some conditions are met.
The thing is, I only want a sound to be played (e.g.: ding.wav)
I chose this .wav file instead of a program to be run.

NOTHING HAPPENS

BTW: The Windows audio service is already started.

Am I doing anything wrong?
Please, ┬бI need help, guys!
regards
7 REPLIES 7
Ganesh Babu
Honored Contributor

Re: Performance Monitor: An easy one?

what is teh audio player that is installed in the machine??

try using the audio player's exe name and pass the ding.wav as a parameter to that..

just a guess..

Ganesh
Rune J. Winje
Honored Contributor

Re: Performance Monitor: An easy one?

Try "mplayer2 \ding.wav"

Cheers,
Rune
Edgar Zapata
Esteemed Contributor

Re: Performance Monitor: An easy one?

I tried running the following from a .bat file.

C:\>start "c:\Archivos de Porgrama\windows Media Player\wmplayer" c:\windows\media\ding.wav

It worked, but I don't seem to be able to make it work in the perfmon alerts.

any ideas?

regards.
Ganesh Babu
Honored Contributor

Re: Performance Monitor: An easy one?

Hi,
this is how u assigned the command line parameter..

In the Action tab of Alert settings..

1) Check the "Run This program" option
2) Browse are enter the complete path of windows media player
3) Then click on command line arguments button and then
Uncheck all the existing parameters and choose "Text Message" only and then enter the ding.wav file name there.

Click ok to save the settings..


If this is not the way u did, give it a try..

Ganesh
Ganesh Babu
Honored Contributor

Re: Performance Monitor: An easy one?

Hi,
this is how u assigned the command line parameter???..

In the Action tab of Alert settings..

1) Check the "Run This program" option
2) Browse are enter the complete path of windows media player
3) Then click on command line arguments button and then
Uncheck all the existing parameters and choose "Text Message" only and then enter the ding.wav file name there.

Click ok to save the settings..


If this is not the way u did, give it a try..

Ganesh
Ganesh Babu
Honored Contributor

Re: Performance Monitor: An easy one?

while giving ding.wav u have to give the complete path..

Ganesh
Edgar Zapata
Esteemed Contributor

Re: Performance Monitor: An easy one?

tnks.
It didn't work.
any ideas??
rgds.