-
Incident report
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
None
Hello yesterday my zabbix server ver 2.2.21 crash twice. In attachment I put log files. zabbix server is working on the following machine:
CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
HDD: 682G
RAM: 9.65162 G
On the same machine I have all components of zabbix (front-end, server, db). To be sure that zabbix server is always running, I added the following script to crontab
#!/bin/bash
SHELL=/bin/bash
PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
echo $(date +%d/%m/%Y-%H:%M)
service=zabbix_server
if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
echo "$service is running!!!"
echo " "
else
echo "Zabbix Server is not running on $HOSTNAME!!!" > /tmp/mail_zabbix_server
mail -s "Zabbix server is down on !!!" [email protected] < /tmp/mail_zabbix_server
/etc/init.d/zabbix-server start
rm -rf /tmp/mail_zabbix_server
fi
Regards
Mick