Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit daeb9ec2 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 935cd2fd
Branches master
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/vzlogger-0.0.1-20230806.mkp "vzlogger-0.0.1-20230806.mkp"
[PACKAGE]: ../../raw/master/mkp/vzlogger-0.0.1-20230806.mkp "vzlogger-0.0.1-20230806.mkp"
# Monitors values form the vzlogger middleware
see https://wiki.volkszaehler.org/software/controller/vzlogger
......
title: Dummy check man page - used as template for new check manuals
agents: linux, windows, aix, solaris, hpux, vms, freebsd, snmp
catalog: see modules/catalog.py for possible values
license: GPL
distribution: check_mk
description:
Describe here: (1) what the check actually does, (2) under which
circumstances it goes warning/critical, (3) which devices are supported
by the check, (4) if the check requires a separated plugin or
tool or separate configuration on the target host.
item:
Describe the syntax and meaning of the check's item here. Provide all
information one needs if coding a manual check with {checks +=} in {main.mk}.
Give an example. If the check uses {None} as sole item,
then leave out this section.
examples:
# Give examples for configuration in {main.mk} here. If the check has
# configuration variable, then give example for them here.
# set default levels to 40 and 60 percent:
foo_default_values = (40, 60)
# another configuration variable here:
inventory_foo_filter = [ "superfoo", "superfoo2" ]
perfdata:
Describe precisely the number and meaning of performance variables
the check sends. If it outputs no performance data, then leave out this
section.
inventory:
Describe how the inventory for the check works. Which items
will it find? Describe the influence of check specific
configuration parameters to the inventory.
[parameters]
foofirst(int): describe the first parameter here (if parameters are grouped
as tuple)
fooother(string): describe another parameter here.
[configuration]
foo_default_levels(int, int): Describe global configuration variable of
foo here. Important: also tell the user how they are preset.
File moved
File moved
File added
File moved
File moved
File moved
......@@ -14,5 +14,5 @@
'title': 'vzlogger',
'version': '0.0.1-20230806',
'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p7',
'version.packaged': '2.2.0p17',
'version.usable_until': None}
File deleted
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.
from cmk.gui.i18n import _
from cmk.gui.plugins.metrics.utils import (
metric_info,
perfometer_info,
)
metric_info['meter_reading'] = {
'title': _('Meter reading'),
'unit': 'wh',
'color': '41/a',
}
perfometer_info.append({
'type': 'logarithmic',
'metric': 'meter_reading',
'half_value': 50000000.0, # 50MWh
'exponent': 4,
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment