IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 系统运维 -> SmartPing 安装部署 -> 正文阅读

[系统运维]SmartPing 安装部署

SmartPing 安装配置使用

背景

监控ppoe客户端是否在线

安装

官网地址:http://smartping.org/

yum -y install lrzsz #拖动文件到Xshell 上传文件#

tar xf smartping-v0.8.0.tar.gz #解压文件#

SmartPing就这样安装完了,端口是8899

配置

http://ip:8899?然后点击系统配置

可以在web页面直接进行配置,也可以在config文件直接编辑,编辑之后保存文件 并 ./control restart 重启服务器即可

vi config.json

  • {
  • "Ver": "0.8.0",
  • "Port": 8899,
  • "Name": "本机",
  • "Addr": "127.0.0.1",
  • "Mode": {
  • "Endpoint": "",
  • "LastSuccTime": "",
  • "Status": "true",
  • "Type": "local"
  • },
  • "Base": {
  • "Archive": 7,
  • "Refresh": 1,
  • "Timeout": 5
  • },
  • "Topology": {
  • "Tline": "2",
  • "Tsound": "/alert.mp3",
  • "Tsymbolsize": "65"
  • },
  • "Alert": {
  • "EmailHost": "…………………………",
  • "RevcEmailList": "………………",
  • "SendEmailAccount": "…………………………",
  • "SendEmailPassword": "…………………………"
  • },
  • "Network": {
  • "127.0.0.1": {
  • "Name": "本机",
  • "Addr": "127.0.0.1",
  • "Smartping": true,
  • "Ping": [
  • "127.0.0.1",
  • "………………………………",
  • "223.5.5.5"
  • ],
  • "Topology": [
  • {
  • "Addr": "223.5.5.5",
  • "Name": "阿里DNS",
  • "Thdavgdelay": "200",
  • "Thdchecksec": "900",
  • "Thdloss": "30",
  • "Thdoccnum": "3"
  • },
  • {
  • "Addr": "……………………",
  • "Name": "……………………",
  • "Thdavgdelay": "200",
  • "Thdchecksec": "900",
  • "Thdloss": "30",
  • "Thdoccnum": "3"
  • }
  • ]
  • },
  • "223.5.5.5": {
  • "Name": "阿里DNS",
  • "Addr": "223.5.5.5",
  • "Smartping": false,
  • "Ping": [],
  • "Topology": []
  • },
  • "58.246.35.182": {
  • "Name": "兆程网络",
  • "Addr": "58.246.35.182",
  • "Smartping": false,
  • "Ping": [],
  • "Topology": []
  • }
  • },
  • "Chinamap": {
  • "上海": {
  • "cmcc": [
  • "117.184.42.114"
  • ],
  • "ctcc": [
  • "180.163.15.160"
  • ],
  • "cucc": [
  • "223.167.104.117"
  • ]
  • },
  • "云南": {
  • "cmcc": [
  • "183.224.236.156"
  • ],
  • "ctcc": [
  • "116.55.99.129"
  • ],
  • "cucc": [
  • "221.3.207.78"
  • ]
  • },
  • "内蒙古": {
  • "cmcc": [
  • "111.56.43.26"
  • ],
  • "ctcc": [],
  • "cucc": [
  • "116.112.10.10"
  • ]
  • },
  • "北京": {
  • "cmcc": [
  • "111.13.217.125"
  • ],
  • "ctcc": [
  • "120.92.180.135"
  • ],
  • "cucc": [
  • "111.207.189.5"
  • ]
  • },
  • "台湾": {
  • "cmcc": [],
  • "ctcc": [
  • "168.95.1.1 ",
  • "168.95.192.1",
  • "168.95.192.2"
  • ],
  • "cucc": []
  • },
  • "吉林": {
  • "cmcc": [
  • "219.149.194.55"
  • ],
  • "ctcc": [
  • "219.149.194.55"
  • ],
  • "cucc": [
  • "139.209.90.60"
  • ]
  • },
  • "四川": {
  • "cmcc": [
  • "183.221.253.42"
  • ],
  • "ctcc": [
  • "125.71.204.74"
  • ],
  • "cucc": [
  • "119.6.197.206"
  • ]
  • },
  • "天津": {
  • "cmcc": [],
  • "ctcc": [
  • "219.150.32.132"
  • ],
  • "cucc": [
  • "202.99.104.68"
  • ]
  • },
  • "宁夏": {
  • "cmcc": [
  • "120.253.6.92"
  • ],
  • "ctcc": [
  • "202.100.96.68"
  • ],
  • "cucc": [
  • "220.200.148.194"
  • ]
  • },
  • "安徽": {
  • "cmcc": [
  • "211.138.180.2"
  • ],
  • "ctcc": [
  • "61.132.163.68"
  • ],
  • "cucc": []
  • },
  • "山东": {
  • "cmcc": [
  • "111.14.216.66"
  • ],
  • "ctcc": [
  • "222.173.55.210"
  • ],
  • "cucc": [
  • "60.216.20.189"
  • ]
  • },
  • "山西": {
  • "cmcc": [
  • "111.53.153.78"
  • ],
  • "ctcc": [
  • "59.49.42.135"
  • ],
  • "cucc": [
  • "60.222.40.21"
  • ]
  • },
  • "广东": {
  • "cmcc": [
  • "120.236.14.140"
  • ],
  • "ctcc": [
  • "218.17.216.171"
  • ],
  • "cucc": [
  • "58.252.2.194"
  • ]
  • },
  • "广西": {
  • "cmcc": [
  • "111.59.168.3"
  • ],
  • "ctcc": [
  • "222.83.136.138"
  • ],
  • "cucc": [
  • "121.31.113.130"
  • ]
  • },
  • "新疆": {
  • "cmcc": [
  • "221.181.53.4"
  • ],
  • "ctcc": [
  • "219.151.36.46"
  • ],
  • "cucc": [
  • "60.13.189.118"
  • ]
  • },
  • "江苏": {
  • "cmcc": [
  • "58.240.74.98"
  • ],
  • "ctcc": [
  • "49.65.121.176"
  • ],
  • "cucc": [
  • "119.6.6.6"
  • ]
  • },
  • "江西": {
  • "cmcc": [],
  • "ctcc": [
  • "202.101.224.69"
  • ],
  • "cucc": [
  • "220.248.192.13"
  • ]
  • },
  • "河北": {
  • "cmcc": [
  • "111.63.2.147"
  • ],
  • "ctcc": [
  • "222.222.49.242"
  • ],
  • "cucc": [
  • "202.99.166.4"
  • ]
  • },
  • "河南": {
  • "cmcc": [
  • "211.142.101.66"
  • ],
  • "ctcc": [
  • "219.150.188.237"
  • ],
  • "cucc": [
  • "61.136.70.164"
  • ]
  • },
  • "浙江": {
  • "cmcc": [
  • "183.246.69.139"
  • ],
  • "ctcc": [
  • "115.236.169.86"
  • ],
  • "cucc": [
  • "60.12.214.156"
  • ]
  • },
  • "海南": {
  • "cmcc": [
  • "111.44.132.67"
  • ],
  • "ctcc": [
  • "218.77.140.213"
  • ],
  • "cucc": [
  • "150.255.228.12"
  • ]
  • },
  • "湖北": {
  • "cmcc": [
  • "120.202.66.111"
  • ],
  • "ctcc": [
  • "111.175.242.178"
  • ],
  • "cucc": [
  • "219.140.62.34"
  • ]
  • },
  • "湖南": {
  • "cmcc": [],
  • "ctcc": [
  • "222.246.129.80"
  • ],
  • "cucc": []
  • },
  • "澳门": {
  • "cmcc": [
  • "202.175.3.3"
  • ],
  • "ctcc": [
  • "202.175.3.3",
  • "202.175.3.8"
  • ],
  • "cucc": []
  • },
  • "甘肃": {
  • "cmcc": [
  • "218.203.160.194",
  • "218.203.160.195"
  • ],
  • "ctcc": [
  • "60.165.176.139"
  • ],
  • "cucc": [
  • "115.85.246.62"
  • ]
  • },
  • "福建": {
  • "cmcc": [],
  • "ctcc": [
  • "218.85.152.99"
  • ],
  • "cucc": []
  • },
  • "西藏": {
  • "cmcc": [
  • "111.11.192.34"
  • ],
  • "ctcc": [
  • "219.151.35.99"
  • ],
  • "cucc": [
  • "221.13.74.148"
  • ]
  • },
  • "贵州": {
  • "cmcc": [
  • "117.187.11.25"
  • ],
  • "ctcc": [
  • "222.85.151.87"
  • ],
  • "cucc": [
  • "111.85.152.144"
  • ]
  • },
  • "辽宁": {
  • "cmcc": [
  • "223.100.1.79"
  • ],
  • "ctcc": [
  • "59.46.77.186"
  • ],
  • "cucc": [
  • "113.232.54.154"
  • ]
  • },
  • "重庆": {
  • "cmcc": [
  • "218.201.4.3"
  • ],
  • "ctcc": [
  • "61.128.192.68"
  • ],
  • "cucc": [
  • "221.5.203.98"
  • ]
  • },
  • "陕西": {
  • "cmcc": [
  • "218.200.6.139"
  • ],
  • "ctcc": [
  • "61.185.14.232"
  • ],
  • "cucc": [
  • "221.11.20.98"
  • ]
  • },
  • "青海": {
  • "cmcc": [
  • "111.12.185.118"
  • ],
  • "ctcc": [
  • "202.100.128.68"
  • ],
  • "cucc": [
  • "221.207.21.53"
  • ]
  • },
  • "香港": {
  • "cmcc": [
  • "203.80.96.10"
  • ],
  • "ctcc": [
  • "14.199.252.50"
  • ],
  • "cucc": [
  • "202.181.202.140"
  • ]
  • },
  • "黑龙江": {
  • "cmcc": [
  • "218.203.11.103"
  • ],
  • "ctcc": [
  • "219.150.32.132"
  • ],
  • "cucc": [
  • "221.212.18.170"
  • ]
  • }
  • },
  • "Toollimit": 0,
  • "Authiplist": "",
  • "Password": "smartping"
  • }

  系统运维 最新文章
配置小型公司网络WLAN基本业务(AC通过三层
如何在交付运维过程中建立风险底线意识,提
快速传输大文件,怎么通过网络传大文件给对
从游戏服务端角度分析移动同步(状态同步)
MySQL使用MyCat实现分库分表
如何用DWDM射频光纤技术实现200公里外的站点
国内顺畅下载k8s.gcr.io的镜像
自动化测试appium
ctfshow ssrf
Linux操作系统学习之实用指令(Centos7/8均
上一篇文章      下一篇文章      查看所有文章
加:2021-07-24 11:53:55  更:2021-07-24 11:54:56 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 -2024/12/27 10:32:09-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码
数据统计