You can use message templates in commands (see E-mail notification, SMS notification, Executing a web query) that involve sending notifications:
{eventNode} - Server name (used if the macro launching condition is not linked to a particular camera);
{cameraLabel} - just the camera's name;
{rectangles} - coordinates and size of the object that triggered the detection tool;
statistics templates:
{cpuUsage} - percentage of CPU load on a Server;
{netUsage} - percentage of used network bandwidth on a Server;
{memoryUsage} - percentage of used RAM on a Server;
{diskUsage} - percentage of disk usage;
{archiveUsage} - percentage of Video Footage usage.
You can apply statistics templates only if you launch a macro by a corresponding statistical condition (see Triggering macros by statistical data). |
Templates allow {} and %%. For example, %cameraId%. |
E.g. this macro sends an email of the following format when a water level detection tool triggers:
Subject: Notification: Attention, water level detection is triggered. Server: Server1 Camera: 10.0.11.36 34.Camera Time: 20190812T085517.926430 |