Alarms not acknowledged

Alarms not acknowledged

Dear specialists,

I have an issue with "Alarms not acknowledged" system variable. I am using this variable to see how many unacknowledged signals I have. Also, I added sound function when unacknowledged variable is sensed.

However, this variable doesn't work properly; there is/are unacknowledged alarms, but the count of  "Alarms not acknowledged"  is zero. Often, I deleted and again added this variable to the system. After this, the variable shows the count of  "Alarms not acknowledged" and sound function works.

Now, how can I fix it permanently?