Accueil Forums HAast (High Availability for Asterisk) Configuration & Optimization Uploading QueueMetrics data before peer demotes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Avatar photoCustomer Inquiry
    Participant
    Post count: 203

    I want to ensure my demoting peer (switching from Active to Standby) uploads its QueueMetrics data before Asterisk stops. How can I do that?

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    You should use the Asterisk pre-stop event handler to run qloaderd (which uploads queue_log data into a MySQL database for further analysis).

    Create a bash script called asterisk.stop.pre and place it in the HAAst event’s directory. In that script call qloaderd with any parameters you need.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.