diff --git a/local/share/check_mk/agents/special/agent_mailcow b/local/share/check_mk/agents/special/agent_mailcow index cc368d2..dac2e54 100755 --- a/local/share/check_mk/agents/special/agent_mailcow +++ b/local/share/check_mk/agents/special/agent_mailcow @@ -150,8 +150,11 @@ def getMailboxInfo(headers, verify, base_url): name = data[i].get("name") # get number of messages in mailbox num_messages = data[i].get("messages") - # get quota used in percent + # get quota used in percent (rounded to full percent) percent_in_use = data[i].get("percent_in_use") + # get quota and quota used in bytes + quota = data[i].get("quota") + quota_used = data[i].get("quota_used") # get creation and last modification date created = data[i].get("created") modified = data[i].get("modified")