• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Current Qmail Queue Sizes to JSON for use with NodePing

ghazlewood

Basic Pleskian
In case anyone finds it useful I've just written a quick script to output the current QMail Queue sizes (local, remote and total) in JSON format so that I can use the HTTP Parse feature of NodePing (shameless referral link!).

The code is on GitHub here:

https://github.com/ghazlewood/qmq2json

If anyone is using NodePing to monitor services like this and wants to setup something similar you can create the HTTP Parse check and then use the field names:

qmail_queue.total
qmail_queue.local
qmail_queue.remote

Hope someone finds this useful...
 
Back
Top