Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions checks/check_auto_downtimes_arg_thingy
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Copyright (C) 2024 SVA System Vertrieb Alexander GmbH
# by michael.hoess@sva.de + colleagues

import os

def arguments_maintenance(params):
args = []
Expand All @@ -37,6 +38,11 @@ def arguments_maintenance(params):
args += ["--verify_ssl"]
if no_proxy:
args += ["--no_proxy"]
else:
args += ["--omd_host", "127.0.0.1"]
args += ["--omd_port", "5000"]
args += ["--omd_site", os.getenv("OMD_SITE")]
args += ["--no_proxy"]

if "display_service_name" in params:
args += ["--display_service_name", params["display_service_name"]]
Expand Down
2 changes: 1 addition & 1 deletion web/plugins/wato/auto_downtimes_active_check_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def CB(
Checkbox(
title=_("Enable debugging"),
help=_(
"Enable debugging to ~/tmp/maintenance.py.log. Only enable on problems, may fill up your filesystem and eat performance!"
"Enable debugging to ~/tmp/auto_downtimes.log. Only enable on problems, may fill up your filesystem and eat performance!"
),
default_value=False,
),
Expand Down