Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
zh:docs:guide-user:services:network_monitoring:bandwidthd [2022/11/21 07:30] – [安装] yodozh:docs:guide-user:services:network_monitoring:bandwidthd [2022/11/21 07:42] – [使用] yodo
Line 120: Line 120:
 ===== 使用 ===== ===== 使用 =====
  
-By default, bandwidthd hosts its statistics at /bandwidthd. All packages (**bandwidthd**, **bandwidthd-pgsql** and **bandwidthd-sqlite**) are set by default to graph and if this is not the behaviour that you want, then change the __option graph__ to __false__ in the configuration file (///etc/config/bandwidthd// For example, if the OpenWRT router'IP address is 192.168.1.1, bandwidthd's stats would be available at http://192.168.1.1/bandwidthd +默认情况下bandwidthd在 /bandwidthd 目录存放分析数据。任意一个软件包 (**bandwidthd**, **bandwidthd-pgsql** and **bandwidthd-sqlite**) 默认设置均会生成图形文件,如果不需要生成,修改配置文件(///etc/config/bandwidthd//)的 __option graph__ 选项为 __false__    如果路由器IP192.168.1.1,那么即可访问http://192.168.1.1/bandwidthd
- +
-**bandwidthd-pgsql** can store in a postgresql database and PHP has to be used to generate the graphs that are available at http://192.168.1.1/phphtdocs/index.php (see below) (of course, change the IP address to the one of the web server hosting the PHP files (your router or whatever web server you are using to graph the data)).+
  
 +**bandwidthd-pgsql** 可以将数据库保存到postgresql数据库,然后通过PHP生成图形文件,访问地址为:http://192.168.1.1/phphtdocs/index.php 
 +当然,这里的IP需要修改为web服务器(包含PHP文件)的IP,可以是你的路由器或者其他任何服务器(只要能生成图形文件)。
 ===== 在外置存储空间保存bandwidthd数据 ===== ===== 在外置存储空间保存bandwidthd数据 =====
  
  • Last modified: 2022/11/21 11:33
  • by yodo