Hello,
I am struggling with configuring a script or setting to play a sound when a (critical and new) alert comes up.
I've tried several scripts and command line methods to use together with a Command Notification Channel. Another free solution is also welcome. Basically what we have is the Management Server (PC1) and a Simple Notebook (PC2) connected to a big screen which has the Web Console running. This shows the new warning and critical alerts on the screen for our whole IT department.
I want to play a sound on PC2 by running a script either standing on PC1 or PC2. It doesn't really matter.
I am able to play sounds with wmplayer.exe or mplayerc.exe and have tried several scripts I found on the internet without any positive results. I also tried to use PsExec.exe with remote commands through either PowerShell or just Command Prompt.
I am however able to succesfully play a sound on the remote computer (PC2) by using manual commands like:
- PsExec.exe -i -d -u DOMAIN\SVC-ACCOUNT -p PASSWORD \\PC2 cmd /c "\\PC1.DOMAIN.LOCAL\SCOMShare\mplayerc.exe /close \\PC1.DOMAIN.LOCAL\SCOMShare\alert.wav"
- PsExec.exe -i -d -u DOMAIN\SVC-ACCOUNT -p PASSWORD \\PC2 \\PC1.DOMAIN.LOCAL\SCOMShare\mplayerc.exe /close \\PC1.DOMAIN.LOCAL\SCOMShare\alert.wav
We really want this to work because having a monitor only is just to quite. We have notifications through e-mail aswell but it's just not the same as being able to play a sound when an actual alert shows up.
Thanks in advance,
Bram