Skip to content

Commit

Permalink
adds metric translation for size
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Jun 4, 2024
1 parent 75645b2 commit 9a87531
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
24 changes: 24 additions & 0 deletions postfix_mailq_details/web/plugins/metrics/postfix_mailq_details.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env python3
# -*- encoding: utf-8; py-indent-offset: 4 -*-

#
# (c) 2024 Heinlein Support GmbH
# Robert Sander <[email protected]>
#

# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation in version 2. This file is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more de-
# ails. You should have received a copy of the GNU General Public
# License along with GNU Make; see the file COPYING. If not, write
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.

check_metrics["check_mk-postfix_mailq_details"] = {
"size": {
"name": "total_file_size"
},
}

0 comments on commit 9a87531

Please sign in to comment.