zabbix 网页默认使用英文 1. 如果英文熟悉的话建议直接用英文 2. 把 Admin用户修改为中文 zabbix默认的字段问题 1. 中文会有部分乱码的情况 2. 监控 -> 图形里的监控图形会有乱码的产生 解决zabbix部分乱码 1. 下载微软雅黑字体 https://raw.github ...
分类:
Web程序 时间:
2020-05-24 21:07:16
阅读次数:
88
编写如下脚本(根据实际情况来修改邮件发送目的地址):[root@centos02~]#catsystem.sh#!/bin/bashdug=$(df-h|grep"/$"|awk‘{print$5}‘|awk-F%‘{print$1}‘)cug=$(expr100-$(mpstat|tail-1|awk‘{print$12}‘|awk-F.‘{print$1}‘))mug=$(expr$(free
分类:
系统相关 时间:
2020-05-24 20:54:21
阅读次数:
69
一、环境介绍 官网地址:http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/ 二、代理安装 1、将代理程序拷贝至Node1服务器的/usr/src/zabbix3.4.5/目录下 下载路径: http://repo.zabbix.com/zabbix/3. ...
分类:
其他好文 时间:
2020-05-24 11:54:33
阅读次数:
87
What is the difference between sed and awk sed is a stream editor. It works with streams of characters on a per-line basis. It has a primitive program ...
分类:
其他好文 时间:
2020-05-24 11:34:00
阅读次数:
81
ZABBIX服务器添加一台被监控的目标设备,主要信息如下:
> Host name:10.10.10.1
> Visible name:NJ-OA-01-02
> Groups:LNX_APP_OA系统
> Agent interfaces:
> IP 地址:10.10.10.1
> Connect to:IP
> Port:10...
分类:
其他好文 时间:
2020-05-24 10:09:48
阅读次数:
136
5.0的安装参考官方文档或我之前的记录 Ubuntu18.04+psq+nginx https://www.zabbix.com/download?zabbix=5.0&os_distribution=ubuntu&os_version=18.04_bionic&db=postgresql&ws=n ...
分类:
其他好文 时间:
2020-05-24 10:05:13
阅读次数:
320
在shell脚本中使用三类命令: unix命令 概念:管道、重定向、backtick 流程控制 1 unix命令 echo "some text":在屏幕上输出信息 ls:文件列表 wc -l file wc -w file wc -c file:计算文件的行数(line)、单词数(word)、字符 ...
分类:
系统相关 时间:
2020-05-23 10:05:11
阅读次数:
70
docker 下部署zabbix 图表时间显示错误
分类:
其他好文 时间:
2020-05-23 10:01:15
阅读次数:
158
###awk### awk -F':' '{print $NF}' /etc/passwd$NF:输出最后一个字段awk -F':' '{print $(NF-1)}' /etc/passwd$(NF-1):输出倒数第二个字段awk 'NR==3 {print}' /etc/passwdNR: 打印 ...
分类:
其他好文 时间:
2020-05-22 19:26:04
阅读次数:
44
windows环境下安装卸载agent 安装和启动 cmd /c "C:\zabbix\bin\win64\zabbix_agentd.exe c c:\zabbix\conf\zabbix_agentd.win.conf i" cmd /c "C:\zabbix\bin\win64\zabbix_ ...