This guide explains how to integrate Milestone XProtect with PADS4 to retrieve alarms. PADS4 reads data directly from the Milestone SQL Server database, allowing real-time push notifications for optimized performance.For more details on Milestone XProtect, visit: www.milestonesys.com.
Step 2: Configure SQL Server to Allow PADS4 Access
PADS4 does not connect directly to Milestone; instead, it reads data from the SQL Server database. This approach enables SQL Server to send push notifications when data changes, improving system performance.
Alternatively, you can create a user with read-only access using the following SQL script:
Copy
Ask AI
USE [master]CREATE LOGIN [PADS4Reader] WITH PASSWORD=N'<password>', DEFAULT_DATABASE=[Surveillance], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFFUSE [Surveillance]CREATE USER [PADS4Reader] FOR LOGIN [PADS4Reader]ALTER ROLE [db_datareader] ADD MEMBER [PADS4Reader]GRANT ALTER ON SCHEMA::[dbo] TO [PADS4Reader]GRANT CONTROL ON SCHEMA::[dbo] TO [PADS4Reader];GRANT IMPERSONATE ON USER::[dbo] TO [PADS4Reader];GRANT CREATE PROCEDURE TO [PADS4Reader]GRANT CREATE QUEUE TO [PADS4Reader]GRANT CREATE SERVICE TO [PADS4Reader]GRANT REFERENCES ON CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] TO [PADS4Reader]GRANT SUBSCRIBE QUERY NOTIFICATIONS TO [PADS4Reader]GRANT RECEIVE ON QueryNotificationErrorsQueue TO [PADS4Reader]
Replace<password> with a secure password.
Execute the script in SSMS.
After execution, the PADS4Reader account is created and configured.
This setup enables real-time alarm retrieval from Milestone XProtect using SQL Server notifications. The integration allows automated incident creation in PADS4 based on alarm triggers from connected cameras.For troubleshooting, verify:
SQL Server network access.
Firewall settings.
SQL authentication mode.
User permissions in SQL Server.
By following these steps, your PADS4 system will effectively monitor and respond to Milestone alarms.