Advertising:
Zabbix
Jump to navigation
Jump to search
/etc/zabbix/zabbix_server.conf
LogFile=/var/log/zabbix/zabbix_server.log LogFileSize=0 PidFile=/var/run/zabbix/zabbix_server.pid SocketDir=/var/run/zabbix DBHost=192.168.1.10 DBName=zabbix DBUser=zabbix DBPassword=zbxpsw StartPollers=150 StartPollersUnreachable=20 StartTrappers=100 StartPingers=15 StartDiscoverers=20 StartHTTPPollers=5 StartTimers=5 StartEscalators=5 StartAlerters=3 StartVMwareCollectors=8 VMwareCacheSize=128M VMwareTimeout=20 SNMPTrapperFile=/tmp/zabbix_traps.tmp StartSNMPTrapper=1 MaxHousekeeperDelete=10000 CacheSize=512M StartDBSyncers=4 HistoryCacheSize=32M HistoryIndexCacheSize=16M TrendCacheSize=64M ValueCacheSize=1024M Timeout=30 UnreachablePeriod=55 UnreachableDelay=30 AlertScriptsPath=/usr/lib/zabbix/alertscripts ExternalScripts=/usr/lib/zabbix/externalscripts FpingLocation=/usr/bin/fping Fping6Location=/usr/bin/fping6 SSHKeyLocation=/home/zabbix/.ssh LogSlowQueries=0 StartProxyPollers=5
/etc/zabbix/zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid LogFile=/var/log/zabbix/zabbix_agentd.log LogFileSize=0 DebugLevel=3 EnableRemoteCommands=1 Server=127.0.0.1,192.168.1.10 ServerActive=127.0.0.1,192.168.1.10 Hostname=zbxmon01 RefreshActiveChecks=60 Timeout=30 Include=/etc/zabbix/zabbix_agentd.d/*.conf
/etc/httpd/conf.d/zabbix.conf
# # Zabbix monitoring system php web frontend # Alias /zabbix /usr/share/zabbix <Directory "/usr/share/zabbix"> Options FollowSymLinks AllowOverride None Require all granted <IfModule mod_php5.c> php_value max_execution_time 300 php_value memory_limit 512M php_value post_max_size 32M php_value upload_max_filesize 10M php_value max_input_time 300 php_value max_input_vars 10000 php_value always_populate_raw_post_data -1 php_value date.timezone Europe/Madrid # php_value date.timezone Europe/Riga </IfModule> </Directory> <Directory "/usr/share/zabbix/conf"> Require all denied </Directory> <Directory "/usr/share/zabbix/app"> Require all denied </Directory> <Directory "/usr/share/zabbix/include"> Require all denied </Directory> <Directory "/usr/share/zabbix/local"> Require all denied </Directory>
/etc/zabbix/web/zabbix.conf.php
<?php // Zabbix GUI configuration file. global $DB; $DB['TYPE'] = 'POSTGRESQL'; $DB['SERVER'] = '192.168.1.10'; $DB['PORT'] = '0'; #$DB['PORT'] = '6432'; $DB['DATABASE'] = 'zabbix'; $DB['USER'] = 'zabbix'; $DB['PASSWORD'] = 'zbxpsw'; // Schema name. Used for IBM DB2 and PostgreSQL. $DB['SCHEMA'] = ; $ZBX_SERVER = 'localhost'; $ZBX_SERVER_PORT = '10051'; $ZBX_SERVER_NAME = 'zbxmon01'; $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;