zabbix

zabbix zabbix_proxy A Zabbix proxy can collect performance and availability data on behalf of the Zabbix server. This way, a proxy can take on itself some of the load of collecting data and offload the Zabbix server. Also, using a proxy is the easiest way of implementing centralized and distributed monitoring, when all agents and proxies report to one Zabbix server and all data is collected centrally. web monitoring 当存在proxy的时候,创建到agent上的web 监控实际上是在zabbix proxy上执行。
Read more

python-list-tips

复制列表 my_foods = ['pizza', 'falafel', 'carrot cake'] # 下面两个变量指向了同一个list friend_foods = my_foods # 新建了变量并且赋值 friend_foods = my_foods[:]
Read more

debian-tips

最小化安装完debian 12后给vim安装插件,发现vim编译没有支持python3 于是网上搜了一圈发现都在说要自己编译vim 我 xxoo? 其实安装vim-nox 这个包就能支持了 sudo apt install vim-nox This package contains a version of vim compiled with support for scripting with Lua, Perl, Python 3, Ruby, and Tcl but no GUI.
Read more

iperf3测速

iperf3 服务端 iperf3 --server iperf3 客户端 perf3 -c 10.179.0.1 -t 60 -b 1M 常用参数 Server or Client: -p, --port # server port to listen on/connect to Server specific: -s, --server run in server mode -D, --daemon run the server as a daemon -I, --pidfile file write PID file -1, --one-off handle one client connection then exit Client specific: -c, --client <host> run in client mode, connecting to <host> -u, --udp use UDP rather than TCP -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited) (default 1 Mbit/sec for UDP, unlimited for TCP) (optional slash and packet count for burst mode) -t, --time # time in seconds to transmit for (default 10 secs) 结果
Read more

vim tips

查看设置BOM标记 :set bomb? :set bomb :set nobomb 新窗口打开文件 :vs /dir/to/file 重新载入vim配置文件 :so /dir/to/vimrc
Read more