1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

DirectAdmin一键安装MRTG网卡流量监控 Linux服务器负载图

本帖由 post2020-11-23 发布。版面名称:Linux

  1. post

    post New Member

    注册:
    2019-10-24
    帖子:
    465
    DirectAdmin论坛有个大神写了一个脚本update.script for DirectAdmin, 里面包括安装MRTG.
    http://forum.directadmin.com/showthread.php?t=22587

    mkdir /usr/local/updatescript
    cd /usr/local/updatescript
    wget --no-check-certificate https://www.wael.name/script/update.script
    chmod 755 update.script

    ./update.script
    ./update.script MRTG


    完成后输入你的http://ip/mrtg 查看

    [​IMG]

    # GNU GENERAL PUBLIC LICENSE
    # Version 2, June 1991
    # Copyright (C) 2006,2007 Free Software Foundation, Inc.
    # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    # Everyone is permitted to copy and distribute verbatim copies
    # of this license document, but changing it is not allowed.
    #
    # Update script made by Wael Isa
    # H188, R4008, Arad 240, Kingdom of Bahrain
    # https://www.wael.name/
    # Version: 1.8.4
    # Release Date: 1/9/2006
    # Update Date : 18/8/2017