![munin-node apache_ 具有基本身份验证 - 请更具体一点](https://linux22.com/image/805214/munin-node%20apache_%20%E5%85%B7%E6%9C%89%E5%9F%BA%E6%9C%AC%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%20-%20%E8%AF%B7%E6%9B%B4%E5%85%B7%E4%BD%93%E4%B8%80%E7%82%B9.png)
有人可以向我解释一下吗:
在这个答案中: 如何使用 munin-node apache_ 进行基本身份验证?
有一句台词是这么说的:
如果您需要对 URL 进行身份验证访问,您可以在 URL 中指定用户名和密码。例如:
[apache_volume] <env.url http://munin:spamalot@localhost/server-status?auto>
我不明白。
例如,如果用户名是xxxx
,密码是,yyyy
我该如何更改:
<env.url http://munin:spamalot@localhost/server-status?auto>
以对应用户名xxxx
和密码yyyy
?
答案1
答案就在你面前
http://munin:spamalot@localhost/server-status?auto
变得
http://xxxx:yyyy@localhost/server-status?auto