PidFile=/var/run/zabbix/zabbix_agentd.pid #说明:指定程序PIDFILE路径,可修改到其它路径,但SNC不建议修改 LogFile=/var/log/zabbix/zabbix_agentd.log #说明:客户端AGENT运行产生的日志文件路径,可修改到其它路径,如/var/log/zabbix_agnetd.log,视具体情况修改,也可保持默认 LogFileSize=0 #说明:AGENT产生日...
先在configuration中的hostname配置主机组,新建host,添加进hostname,在agent interfaces将IP地址改为监控服务器地址,可以在选择合适的templates,然后update Item:监控采集的项目,例如agent端的cpu、内存等,但是更加具体的来说,比如说cpu使用率,或者是cpu某个核的使用率或者是cpu的空闲率是这样一个十分具体的项,item是由...
function install_agent() { wget http://安装机:端口/zabbix/zabbix-2.2.4-agent.sh /bin/bash zabbix-2.2.4-agent.sh uninstall $1 /bin/bash zabbix-2.2.4-agent.sh install_proxy_agent $1 rm -rf zabbix-2.2.4-agent.sh } if [ ${ipaddr_shhb} -ge 1 ];then install_agent ${ipaddr_sh...
}staticvoidChangeHostName(intn,stringserverName) { StreamReader sr=newStreamReader(@"C:\Users\lq\Desktop\zabbix\zabbix_agentd.win.conf");string[] all=sr.ReadToEnd().Split('\n'); sr.Close(); StreamWriter sw=newStreamWriter(@"C:\Users\lq\Desktop\zabbix\zabbix_agentd.win.conf");stringw...
Workarounds:If an immediate update is not possible, change the applied local firewall rule to allow the agent port only. --- Steps to reproduce: Download Agent 1 or Agent 2 (Does not Matter) 1. Windows-Any-amd64-6.0 LTS-OpenSSL-MSI 2. Windows...
比如,现在有一个域名是dvlpss.lechange.cn,现在对应的IP地址是118.178.3.148,如图: 而这个118.178.3.148是阿里云负载均衡的地址,里面监听了两个端口分别是9055和9054,如图: 要知道阿里云的负载均衡是不可能让我装一个zabbix-agent进去的,那么既然这样,除了阿里云自带的云监控之外要如何监控这个负载均衡的端口状态?
port=1elseport=0fiif[$1="port"];then echo $port fi chmod+x nginx.sh # 检测下脚本能不能传参成功 # 先重启服务 systemctl restart zabbix-agent zabbix_agentd-t nginx[port]nginx[port][t|0]接着我们切换到zabbix监控主机上看能不能通过get获取值 ...
last(/MSSQL by Zabbix agent 2/net.tcp.service[tcp,{$MSSQL.HOST},{$MSSQL.PORT}])=0 Disaster MSSQL: Version has changed MSSQL version has changed. Acknowledge to close the problem manually. last(/MSSQL by Zabbix agent 2/mssql.version["{$MSSQL.URI}","{$MSSQL.USER}","{$MSSQL...
Change per second Interface {#IFNAME}({#IFALIAS}): Interface type MIB: IF-MIB The type of interface. Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA), through updating the syntax of the IANAifType textual convention. SNMP agent net.if.type[ifType...
TCP 10050— passive agent port, which Zabbix server uses to poll clients;; TCP 10051— port through which Zabbix server receives data from clients (active agents). Remember to open these ports on the firewall. For example, on a Zabbix server running CentOS you can open the ports in firewa...