Posts Tagged ‘забикс’
SnamTrap and Zabbix
Centos 6
- edit /etc/snmp/snmptrapd.conf
disableAuthorization yes
traphandle default /usr/sbin/snmptt
snmpTrapdAddr udp:10.100.0.2:162
doNotLogTraps yes
- /etc/snmp/snmptt.ini
snmptt_conf_files = <<END
/etc/snmp/snmptt.conf
END
- Add MIB in /etc/snmp/snmptt.conf
(more…)EVENT linkDown .1.3.6.1.6.3.1.1.5.3 “Status Events” Normal
FORMAT ZBXTRAP $aA Link down on interface $1. Admin state: $2. Operational state: $4
EXEC /usr/lib/zabbix/externalscripts/zabbix_trapper.sh $aA $1 $4EVENT linkUp .1.3.6.1.6.3.1.1.5.4 “Status Events” Normal
FORMAT ZBXTRAP $aA Link up on interface $1. Admin state: $2. Operational state: $4
EXEC /usr/lib/zabbix/externalscripts/zabbix_trapper.sh $aA $1 $4
Zabbix не бачить процесси
Zabbix-agent не бичить процесси, але вони запущені.
/usr/local/bin/zabbix_get -s 127.0.0.1 -p 10050 -k “proc.num[sshd].last(0)”
0
# ps -ax| grep sshd
637 ?? Is 0:13.32 /usr/sbin/sshd
Проблема в цьому….
sysctl -a | grep security.bsd.see_other
(more…)