7.zabbix常用item
zabbix常用item
zabbix常用item vfs.file.md5sum[/etc/crontab] {basic:vfs.file.md5sum[/etc/crontab].diff()}=1(文件md5值不同返回1) vm.memory.size[available] {basic:vm.memory.size[available].last(0)}<768M system.cpu.util[,iowait] {basic:system.cpu.util[,iowait].avg(5m)}>45 system.cpu.util[,user,avg1] {basic:system.cpu.util[,user,avg1].last()}>70 vfs.fs.size[/,used] net.if.in[eth0] {basic:net.if.out[eth0].last()}>8000K net.if.out[eth0] system.users.num proc.num[] proc.num[,,zomb,] {basic:proc.num[,,zomb,].avg(5m)}>200 net.tcp.listen[10911] {172.16.0.155:net.tcp.listen[10911].last()}<>1 (端口不存在返回非1)
net.tcp.port[<ip>,port] log[/var/log/secure,"(Failed) password",,,skip,] {172.16.0.159:log[/var/log/secure,"(Failed) password",,,skip,].nodata(60)}=0