bundles/postfix: rework exporter for better usability
This commit is contained in:
parent
9b9465502a
commit
ae0bb8ed58
2 changed files with 2 additions and 4 deletions
|
@ -14,4 +14,4 @@ for line in queue_json.splitlines():
|
|||
queue_counts[j['queue_name']] += 1
|
||||
|
||||
for queue in ('incoming', 'active', 'deferred', 'corrupt', 'hold'):
|
||||
print('postfix_queue,status={} count={}i'.format(queue, queue_counts.get(queue, 0)))
|
||||
print('postfix_queue {}={}i'.format(queue, queue_counts.get(queue, 0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue