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 7a17a626 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent ff8290f9
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/squid-2.0.4-2023-09-21.mkp "squid-2.0.4-2023-09-21.mkp"
# Squid Web Proxy
This CheckMK plugin monitors the performance of the _**Squid Web Proxy**_. This plugin is intended to use with the Agent Bakery of CheckMK.
......
......@@ -14,6 +14,8 @@
# 2023-05-20: moved agent plugin from ~/local/share/check_mk/agents/plugins/linux
# to ~/local/share/check_mk/agents/plugins
# renamed bakery plugin from squid to squid.py
# 2023-09-21: moved file to ~/local/lib/check_mk/base/cee/plugins/bakery
# fix crash if port not configured in wato
from pathlib import Path
from cmk.base.cee.plugins.bakery.bakery_api.v1 import (
......@@ -33,7 +35,7 @@ def get_squid_files(conf) -> FileGenerator:
yield PluginConfig(
base_os=OS.LINUX,
lines=[f'port={conf["port"]}'],
lines=[f'port={conf.get("port", 3128)}'],
target=Path('squid.cfg'),
include_header=False,
)
......
......@@ -7,12 +7,13 @@
'Rewritten for CMK 2.1.x\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'agent_based': ['squid.py'],
'agents': ['bakery/squid.py', 'plugins/squid'],
'agents': ['plugins/squid'],
'checkman': ['squid'],
'gui': ['wato/squid.py', 'metrics/squid.py']},
'gui': ['wato/squid.py', 'metrics/squid.py'],
'lib': ['python3/cmk/base/cee/plugins/bakery/squid.py']},
'name': 'squid',
'title': 'Squid3 Health Check',
'version': '2.0.3-2023-05-22',
'version': '2.0.4-2023-09-21',
'version.min_required': '2.1.0b1',
'version.packaged': '2.1.0p21',
'version.usable_until': None}
\ No newline at end of file
'version.packaged': '2.2.0p7',
'version.usable_until': None}
File added
File deleted
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