Ich versuche Skript zu erstellen Host-Ausfallzeiten zu setzen,Check_mk wiederkehrende maintenace geplant
erstellten Benutzer (check_mk Administrator) und ein geheimes gesetzt,
dann su sitename curl -n -s "http://localhost/site/check_mk/view.py?_do_confirm=yes&_transid=-1&_do_actions=yes&host=host&site=site&view_name=host&_down_comment=COMMENT&_down_from_now=From+now+for&_down_minutes=1&_username=automation&_secret=secret
laufen
bekam aber
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
</body></html>
Geheimnis und Benutzername sind OK