Skip to main content

Posts

Showing posts from January, 2016

Zabbix Installation Script on Centos/Redhat 6.x

Installation on zabbix is quit simple and straight forward, but when you are install multiple servers and want to automate installation it is better to use a script. I would have preferred an ansible setup, but we have non of that on the server, so had to make do with good old shell script. Scripts does 2 Major installations. Setting up basic zabbix installation. Setup zabbix trapper using perl script. Script Location here. Here is what the script does at a lower level. Installing zabbix Repo. Install mysql . Install net_snmp , this is used for the snmp_trapper which we install later on. Install zabbix Server and Web interface. Install zabbix Agent. Starting mysql and create zabbix default schema. Configuration of zabbix server. Update web settings with timezone and upload file limit. Setting up perl snmp trapper script. Update snmptrapd configuration. Setting up logrotation for zabbix snmp trapper , Creating directory to store archived logs. diab