Audible Alarms
search cancel

Audible Alarms

book

Article ID: 438404

calendar_today

Updated On:

Products

Network Observability VMware Smart Assurance

Issue/Introduction

  • There is a requirement to have audible alarms on Smarts.

  • When Smarts console gets a new alarm for a particular Asset or Device, NOC uses want it to play a sound.

  • Can this feature be implemented on Smarts?

Environment

All supported Smarts releases

Resolution

To implement audible alarms, you must configure a Script Notifier Adapter on the Windows machine where the SAM console is installed. This adapter will listen for notifications and trigger a local script to play a sound.

1. Create the Sound Script Create a batch file (e.g., playsound.bat) that triggers a sound. Place this file in the local actions directory: Path: <Base-Dir>\CONSOLE\smarts\local\actions\playsound.bat

2. Configure the Notifier Adapter Edit thescript-notify.conf file located in the configuration directory: Path: <Base-Dir>\CONSOLE\smarts\conf\notifier\script-notify.conf

Update the following parameters:

  • serverName = "INCHARGE-SA-PRES" (The name of your SAM Presentation server)
  • scriptName = "playsound.bat" (The script created in Step 1)
  • NLName = "Your_Notification_List" (The specific Notification List subscription to monitor)

3. Configure Connection Permissions To allow the adapter to connect without manual prompts, ensure the clientConnect.conf file allows the connection.

  • Locate clientConnect.conf.
  • Comment out any PROMPT entries that might interfere with automated adapter login.

4. Start the Adapter Run the adapter from the Command Line Interface (CLI): <Base-Dir>\CONSOLE\smarts\local\actions\sm_notify.exe --conf=script-notify.conf script

 

Refer for more details.