Доброго времени суток, форумчане. Столкнулся со следующей проблемой. Поставил на archlinux LAMP, затем скачал, скомпилировал исходники zabbix 2.0, настроил mysql по archwiki. Все это делал на виртуальной машине. При доступе к вебморде, пишет что
вот http.conf
zabbix_server.conf
ls -lha /srv/http/zabbix
ls -lha /srv/http/zabb/
Code:
На веб-сайте произошла ошибка при получении http://192.168.10.210/zabbix/. Веб-сайт может быть закрыт на обслуживание или настроен неправильно.
Code:
# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log" # with ServerRoot set to "/etc/httpd" will be interpreted by the # server as "/etc/httpd//var/log/httpd/foo_log". # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path. If you point # ServerRoot at a non-local disk, be sure to point the LockFile directive # at a local disk. If you wish to share the same ServerRoot for multiple # httpd daemons, you will need to change at least LockFile and PidFile. # ServerRoot "/etc/httpd" # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_dbd_module modules/mod_authn_dbd.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule cache_module modules/mod_cache.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule dbd_module modules/mod_dbd.so LoadModule dumpio_module modules/mod_dumpio.so LoadModule reqtimeout_module modules/mod_reqtimeout.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule include_module modules/mod_include.so LoadModule filter_module modules/mod_filter.so LoadModule substitute_module modules/mod_substitute.so LoadModule deflate_module modules/mod_deflate.so LoadModule ldap_module modules/mod_ldap.so LoadModule log_config_module modules/mod_log_config.so LoadModule log_forensic_module modules/mod_log_forensic.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so LoadModule ident_module modules/mod_ident.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule unique_id_module modules/mod_unique_id.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule version_module modules/mod_version.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_scgi_module modules/mod_proxy_scgi.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule ssl_module modules/mod_ssl.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule asis_module modules/mod_asis.so LoadModule info_module modules/mod_info.so LoadModule suexec_module modules/mod_suexec.so LoadModule cgi_module modules/mod_cgi.so LoadModule cgid_module modules/mod_cgid.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule imagemap_module modules/mod_imagemap.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule php5_module modules/libphp5.so # phpMyAdmin configuration Include conf/extra/httpd-phpmyadmin.conf AddHandler php5-script php <IfModule !mpm_netware_module> <IfModule !mpm_winnt_module> # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User http Group http </IfModule> </IfModule> # 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # <VirtualHost> definition. These values also provide defaults for # any <VirtualHost> containers you may define later in the file. # # All of these directives may appear inside <VirtualHost> containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. [email protected] # ServerAdmin [email protected] # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName 192.168.10.210 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/srv/http" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # <Directory "/srv/http"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module> DirectoryIndex index.php </IfModule> # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a <VirtualHost> # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a <VirtualHost> # container, that host's errors will be logged there and not here. # ErrorLog "/var/log/httpd/error_log" # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn <IfModule log_config_module> # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a <VirtualHost> # container, they will be logged here. Contrariwise, if you *do* # define per-<VirtualHost> access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog "/var/log/httpd/access_log" common # # If you prefer a logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog "/var/log/httpd/access_log" combined </IfModule> <IfModule alias_module> # # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path # # If you include a trailing / on /webpath then the server will # require it to be present in the URL. You will also likely # need to provide a <Directory> section to allow access to # the filesystem path. # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/" </IfModule> <IfModule cgid_module> # # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock /var/run/httpd/cgisock </IfModule> # # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/srv/http/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> # # DefaultType: the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain <IfModule mime_module> # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig conf/mime.types # # AddType allows you to add to or override the MIME configuration # file specified in TypesConfig for specific file types. # #AddType application/x-gzip .tgz # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .html AddType application/x-httpd-php .htm # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # #AddHandler cgi-script .cgi # For type maps (negotiated resources): #AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml </IfModule> # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # #MIMEMagicFile conf/magic # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /missing.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.example.com/subscription_info.html # # # MaxRanges: Maximum number of Ranges in a request before # returning the entire resource, or one of the special # values 'default', 'none' or 'unlimited'. # Default setting is to accept 200 Ranges. #MaxRanges unlimited # # EnableMMAP and EnableSendfile: On systems that support it, # memory-mapping or the sendfile syscall is used to deliver # files. This usually improves server performance, but must # be turned off when serving from networked-mounted # filesystems or if support for these functions is otherwise # broken on your system. # #EnableMMAP off #EnableSendfile off # Supplemental configuration # # The configuration files in the conf/extra/ directory can be # included to add extra features or to modify the default configuration of # the server, or you may simply copy their contents here and change as # necessary. # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf # Multi-language error messages Include conf/extra/httpd-multilang-errordoc.conf # Fancy directory listings Include conf/extra/httpd-autoindex.conf # Language settings Include conf/extra/httpd-languages.conf # User home directories Include conf/extra/httpd-userdir.conf # Real-time info on requests and configuration #Include conf/extra/httpd-info.conf # Virtual hosts #Include conf/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual #Include conf/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Include conf/extra/httpd-dav.conf # Various default settings Include conf/extra/httpd-default.conf # Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf Include conf/extra/php5_module.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule>
Code:
# This is a configuration file for Zabbix Server process
# To get more information about Zabbix,
# visit http://www.zabbix.com
############ GENERAL PARAMETERS #################
### Option: NodeID
# Unique NodeID in distributed setup.
# 0 - standalone server
#
# Mandatory: no
# Range: 0-999
# Default:
# NodeID=0
### Option: ListenPort
# Listen port for trapper.
#
# Mandatory: no
# Range: 1024-32767
# Default:
# ListenPort=10051
### Option: SourceIP
# Source IP address for outgoing connections.
#
# Mandatory: no
# Default:
# SourceIP=
### Option: LogFile
# Name of log file.
# If not set, syslog is used.
#
# Mandatory: no
# Default:
# LogFile=
LogFile=/tmp/zabbix_server.log
### Option: LogFileSize
# Maximum size of log file in MB.
# 0 - disable automatic log rotation.
#
# Mandatory: no
# Range: 0-1024
# Default:
# LogFileSize=1
### Option: DebugLevel
# Specifies debug level
# 0 - no debug
# 1 - critical information
# 2 - error information
# 3 - warnings
# 4 - for debugging (produces lots of information)
#
# Mandatory: no
# Range: 0-4
# Default:
# DebugLevel=3
### Option: PidFile
# Name of PID file.
#
# Mandatory: no
# Default:
# PidFile=/tmp/zabbix_server.pid
### Option: DBHost
# Database host name.
# If set to localhost, socket is used for MySQL.
# If set to empty string, socket is used for PostgreSQL.
#
# Mandatory: no
# Default:
# DBHost=localhost
### Option: DBName
# Database name.
# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
#
# Mandatory: yes
# Default:
# DBName=
DBName=zabbix
### Option: DBSchema
# Schema name. Used for IBM DB2.
#
# Mandatory: no
# Default:
# DBSchema=
### Option: DBUser
# Database user. Ignored for SQLite.
#
# Mandatory: no
# Default:
# DBUser=
DBUser=root
### Option: DBPassword
# Database password. Ignored for SQLite.
# Comment this line if no password is used.
#
# Mandatory: no
# Default:
DBPassword=qwer
### Option: DBSocket
# Path to MySQL socket.
#
# Mandatory: no
# Default:
# DBSocket=/tmp/mysql.sock
### Option: DBPort
# Database port when not using local socket. Ignored for SQLite.
#
# Mandatory: no
# Range: 1024-65535
# Default (for MySQL):
# DBPort=3306
############ ADVANCED PARAMETERS ################
### Option: StartPollers
# Number of pre-forked instances of pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPollers=5
### Option: StartIPMIPollers
# Number of pre-forked instances of IPMI pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartIPMIPollers=0
### Option: StartPollersUnreachable
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI).
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPollersUnreachable=1
### Option: StartTrappers
# Number of pre-forked instances of trappers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartTrappers=5
### Option: StartPingers
# Number of pre-forked instances of ICMP pingers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPingers=1
### Option: StartDiscoverers
# Number of pre-forked instances of discoverers.
#
# Mandatory: no
# Range: 0-250
# Default:
# StartDiscoverers=1
### Option: StartHTTPPollers
# Number of pre-forked instances of HTTP pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartHTTPPollers=1
### Option: JavaGateway
# IP address (or hostname) of Zabbix Java gateway.
# Only required if Java pollers are started.
#
# Mandatory: no
# Default:
# JavaGateway=
### Option: JavaGatewayPort
# Port that Zabbix Java gateway listens on.
#
# Mandatory: no
# Range: 1024-32767
# Default:
# JavaGatewayPort=10052
### Option: StartJavaPollers
# Number of pre-forked instances of Java pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartJavaPollers=0
### Option: SNMPTrapperFile
# Temporary file used for passing data from SNMP trap daemon to the server.
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
#
# Mandatory: no
# Default:
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
### Option: StartSNMPTrapper
# If 1, SNMP trapper process is started.
#
# Mandatory: no
# Range: 0-1
# Default:
# StartSNMPTrapper=0
### Option: ListenIP
# List of comma delimited IP addresses that the trapper should listen on.
# Trapper will listen on all network interfaces if this parameter is missing.
#
# Mandatory: no
# Default:
# ListenIP=0.0.0.0
# ListenIP=127.0.0.1
### Option: HousekeepingFrequency
# How often Zabbix will perform housekeeping procedure (in hours).
# Housekeeping is removing unnecessary information from history, alert, and alarms tables.
#
# Mandatory: no
# Range: 1-24
# Default:
# HousekeepingFrequency=1
### Option: MaxHousekeeperDelete
# The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
# [housekeeperid], [tablename], [field], [value].
# No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
# will be deleted per one task in one housekeeping cycle.
# SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
# If set to 0 then no limit is used at all. In this case you must know what you are doing!
#
# Mandatory: no
# Range: 0-1000000
# Default:
# MaxHousekeeperDelete=500
### Option: DisableHousekeeping
# If set to 1, disables housekeeping.
#
# Mandatory: no
# Range: 0-1
# Default:
# DisableHousekeeping=0
### Option: SenderFrequency
# How often Zabbix will try to send unsent alerts (in seconds).
#
# Mandatory: no
# Range: 5-3600
# Default:
# SenderFrequency=30
### Option: CacheSize
# Size of configuration cache, in bytes.
# Shared memory size for storing hosts and items data.
#
# Mandatory: no
# Range: 128K-1G
# Default:
# CacheSize=8M
### Option: CacheUpdateFrequency
# How often Zabbix will perform update of configuration cache, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
# CacheUpdateFrequency=60
### Option: StartDBSyncers
# Number of pre-forked instances of DB Syncers
#
# Mandatory: no
# Range: 1-100
# Default:
# StartDBSyncers=4
### Option: HistoryCacheSize
# Size of history cache, in bytes.
# Shared memory size for storing history data.
#
# Mandatory: no
# Range: 128K-1G
# Default:
# HistoryCacheSize=8M
### Option: TrendCacheSize
# Size of trend cache, in bytes.
# Shared memory size for storing trends data.
#
# Mandatory: no
# Range: 128K-1G
# Default:
# TrendCacheSize=4M
### Option: HistoryTextCacheSize
# Size of text history cache, in bytes.
# Shared memory size for storing character, text or log history data.
#
# Mandatory: no
# Range: 128K-1G
# Default:
# HistoryTextCacheSize=16M
### Option: NodeNoEvents
# If set to '1' local events won't be sent to master node.
# This won't impact ability of this node to propagate events from its child nodes.
#
# Mandatory: no
# Range: 0-1
# Default:
# NodeNoEvents=0
### Option: NodeNoHistory
# If set to '1' local history won't be sent to master node.
# This won't impact ability of this node to propagate history from its child nodes.
#
# Mandatory: no
# Range: 0-1
# Default:
# NodeNoHistory=0
### Option: Timeout
# Specifies how long we wait for agent, SNMP device or external check (in seconds).
#
# Mandatory: no
# Range: 1-30
# Default:
# Timeout=3
### Option: TrapperTimeout
# Specifies how many seconds trapper may spend processing new data.
#
# Mandatory: no
# Range: 1-300
# Default:
# TrapperTimeout=300
### Option: UnreachablePeriod
# After how many seconds of unreachability treat a host as unavailable.
#
# Mandatory: no
# Range: 1-3600
# Default:
# UnreachablePeriod=45
### Option: UnavailableDelay
# How often host is checked for availability during the unavailability period, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
# UnavailableDelay=60
### Option: UnreachableDelay
# How often host is checked for availability during the unreachability period, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
# UnreachableDelay=15
### Option: AlertScriptsPath
# Full path to location of custom alert scripts.
# Default depends on compilation options.
#
# Mandatory: no
# Default:
# AlertScriptsPath=${datadir}/zabbix/alertscripts
### Option: ExternalScripts
# Full path to location of external scripts.
# Default depends on compilation options.
#
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
# Make sure that fping binary has root ownership and SUID flag set.
#
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
### Option: Fping6Location
# Location of fping6.
# Make sure that fping6 binary has root ownership and SUID flag set.
# Make empty if your fping utility is capable to process IPv6 addresses.
#
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
### Option: SSHKeyLocation
# Location of public and private keys for SSH checks and actions
#
# Mandatory: no
# Default:
# SSHKeyLocation=
### Option: LogSlowQueries
# How long a database query may take before being logged (in milliseconds).
# 0 - don't log slow queries.
#
# Mandatory: no
# Range: 1-3600000
# Default:
# LogSlowQueries=0
### Option: TmpDir
# Temporary directory.
#
# Mandatory: no
# Default:
# TmpDir=/tmp
### Option: Include
# You may include individual files or all files in a directory in the configuration file.
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
#
# Mandatory: no
# Default:
# Include=
# Include=/usr/local/etc/zabbix_server.general.conf
# Include=/usr/local/etc/zabbix_server.conf.d/
### Option: StartProxyPollers
# Number of pre-forked instances of pollers for passive proxies.
#
# Mandatory: no
# Range: 0-250
# Default:
# StartProxyPollers=1
### Option: ProxyConfigFrequency
# How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
# This parameter is used only for proxies in the passive mode.
#
# Mandatory: no
# Range: 1-3600*24*7
# Default:
# ProxyConfigFrequency=3600
### Option: ProxyDataFrequency
# How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
# This parameter is used only for proxies in the passive mode.
#
# Mandatory: no
# Range: 1-3600
# Default:
# ProxyDataFrequency=1
Code:
итого 16K drwxr-xr-x 3 root root 4,0K июня 9 12:26 . drwxr-xr-x 4 root root 4,0K июня 6 14:13 .. -rw-r--r-- 1 root root 4 июня 8 16:11 index.html drwxr-xr-x 11 root root 4,0K июня 9 12:43 zabbix
Code:
итого 1,2M drwxr-xr-x 11 root root 4,0K июня 9 12:43 . drwxr-xr-x 3 root root 4,0K июня 9 12:26 .. -rwxr-xr-x 1 1000 1000 7,2K мая 21 18:07 acknow.php -rwxr-xr-x 1 1000 1000 20K мая 21 18:07 actionconf.php -rwxr-xr-x 1 1000 1000 5,1K мая 21 18:07 adm.gui.php -rwxr-xr-x 1 1000 1000 3,4K мая 21 18:07 adm.housekeeper.php -rwxr-xr-x 1 1000 1000 5,3K мая 21 18:07 adm.iconmapping.php -rwxr-xr-x 1 1000 1000 5,3K мая 21 18:07 adm.images.php -rwxr-xr-x 1 1000 1000 6,2K мая 21 18:07 adm.macros.php -rwxr-xr-x 1 1000 1000 4,8K мая 21 18:07 adm.other.php -rwxr-xr-x 1 1000 1000 7,9K мая 21 18:07 adm.regexps.php -rwxr-xr-x 1 1000 1000 5,2K мая 21 18:07 adm.triggerdisplayingoptions.php -rwxr-xr-x 1 1000 1000 5,1K мая 21 18:07 adm.triggerdisplayoptions.php -rwxr-xr-x 1 1000 1000 5,2K мая 21 18:07 adm.triggerseverities.php -rwxr-xr-x 1 1000 1000 6,7K мая 21 18:07 adm.valuemapping.php -rwxr-xr-x 1 1000 1000 2,9K мая 21 18:07 adm.workingtime.php drwxr-xr-x 4 1000 1000 4,0K мая 21 21:41 api -rwxr-xr-x 1 1000 1000 1,7K мая 21 18:07 api_jsonrpc.php -rwxr-xr-x 1 1000 1000 9,6K мая 21 18:07 applications.php drwxr-xr-x 2 1000 1000 4,0K мая 21 21:41 audio -rwxr-xr-x 1 1000 1000 4,6K мая 21 18:07 auditacts.php -rwxr-xr-x 1 1000 1000 6,8K мая 21 18:07 auditlogs.php -rwxr-xr-x 1 1000 1000 7,4K мая 21 18:07 authentication.php -rwxr-xr-x 1 1000 1000 1,1K мая 21 18:07 browserwarning.php -rwxr-xr-x 1 1000 1000 3,9K мая 21 18:07 chart2.php -rwxr-xr-x 1 1000 1000 5,6K мая 21 18:07 chart3.php -rwxr-xr-x 1 1000 1000 6,4K мая 21 18:07 chart4.php -rwxr-xr-x 1 1000 1000 6,1K мая 21 18:07 chart5.php -rwxr-xr-x 1 1000 1000 3,1K мая 21 18:07 chart6.php -rwxr-xr-x 1 1000 1000 3,4K мая 21 18:07 chart7.php -rwxr-xr-x 1 1000 1000 21K мая 21 18:07 chart_bar.php -rwxr-xr-x 1 1000 1000 2,5K мая 21 18:07 chart.php -rwxr-xr-x 1 1000 1000 7,5K мая 21 18:07 charts.php drwxr-xr-x 2 1000 1000 4,0K мая 21 21:41 conf -rwxr-xr-x 1 1000 1000 5,5K мая 21 18:07 conf.import.php -rwxr-xr-x 1 1000 1000 162 мая 21 18:07 css.css -rwxr-xr-x 1 1000 1000 15K мая 21 18:07 dashboard.php -rwxr-xr-x 1 1000 1000 8,7K мая 21 18:07 dashconf.php -rwxr-xr-x 1 1000 1000 9,1K мая 21 18:07 discoveryconf.php -rwxr-xr-x 1 1000 1000 4,2K мая 21 18:07 discovery.php -rwxr-xr-x 1 1000 1000 15K мая 21 18:07 disc_prototypes.php -rwxr-xr-x 1 1000 1000 24K мая 21 18:07 events.php drwxr-xr-x 2 1000 1000 4,0K мая 21 21:41 fonts -rwxr-xr-x 1 1000 1000 20K мая 21 18:07 graphs.php -rwxr-xr-x 1 1000 1000 19K мая 21 18:07 history.php -rwxr-xr-x 1 1000 1000 13K мая 21 18:07 host_discovery.php -rwxr-xr-x 1 1000 1000 9,8K мая 21 18:07 hostgroups.php -rwxr-xr-x 1 1000 1000 4,5K мая 21 18:07 hostinventoriesoverview.php -rwxr-xr-x 1 1000 1000 9,3K мая 21 18:07 hostinventories.php -rwxr-xr-x 1 1000 1000 7,6K мая 21 18:07 host_screen.php -rwxr-xr-x 1 1000 1000 32K мая 21 18:07 hosts.php -rwxr-xr-x 1 1000 1000 16K мая 21 18:07 httpconf.php -rwxr-xr-x 1 1000 1000 11K мая 21 18:07 httpdetails.php -rwxr-xr-x 1 1000 1000 11K мая 21 18:07 httpmon.php -rwxr-xr-x 1 1000 1000 1,9K мая 21 18:07 image.php drwxr-xr-x 6 1000 1000 4,0K мая 21 21:41 images -rwxr-xr-x 1 1000 1000 3,1K мая 21 18:07 imgstore.php drwxr-xr-x 4 1000 1000 4,0K мая 21 21:41 include -rwxr-xr-x 1 1000 1000 3,8K мая 21 18:07 index.php -rwxr-xr-x 1 1000 1000 44K мая 21 18:07 items.php drwxr-xr-x 3 1000 1000 4,0K мая 21 21:41 js -rwxr-xr-x 1 1000 1000 7,4K мая 21 18:07 jsLoader.php -rwxr-xr-x 1 1000 1000 4,9K мая 21 18:07 jsrpc.php -rwxr-xr-x 1 1000 1000 19K мая 21 18:07 latest.php drwxr-xr-x 22 1000 1000 4,0K мая 21 21:41 locale -rwxr-xr-x 1 1000 1000 17K мая 21 18:07 maintenance.php -rwxr-xr-x 1 1000 1000 5,8K мая 21 18:07 map.php -rwxr-xr-x 1 1000 1000 6,0K мая 21 18:07 maps.php -rwxr-xr-x 1 1000 1000 9,0K мая 21 18:07 media_types.php -rwxr-xr-x 1 1000 1000 5,0K мая 21 18:07 nodes.php -rwxr-xr-x 1 1000 1000 5,0K мая 21 18:07 overview.php -rwxr-xr-x 1 1000 1000 5,4K мая 21 18:07 popup_bitem.php -rwxr-xr-x 1 1000 1000 2,3K мая 21 18:07 popup_httpstep.php -rwxr-xr-x 1 1000 1000 4,7K мая 21 18:07 popup_media.php -rwxr-xr-x 1 1000 1000 6,7K мая 21 18:07 popup_period.php -rwxr-xr-x 1 1000 1000 59K мая 21 18:07 popup.php -rwxr-xr-x 1 1000 1000 4,4K мая 21 18:07 popup_right.php -rwxr-xr-x 1 1000 1000 12K мая 21 18:07 popup_trexpr.php -rwxr-xr-x 1 1000 1000 3,0K мая 21 18:07 popup_usrgrp.php -rwxr-xr-x 1 1000 1000 7,1K мая 21 18:07 profile.php -rwxr-xr-x 1 1000 1000 8,5K мая 21 18:07 proxies.php -rwxr-xr-x 1 1000 1000 8,3K мая 21 18:07 queue.php -rwxr-xr-x 1 1000 1000 1,4K мая 21 18:07 report1.php -rwxr-xr-x 1 1000 1000 9,0K мая 21 18:07 report2.php -rwxr-xr-x 1 1000 1000 5,8K мая 21 18:07 report3.php -rwxr-xr-x 1 1000 1000 7,4K мая 21 18:07 report4.php -rwxr-xr-x 1 1000 1000 6,2K мая 21 18:07 report5.php -rwxr-xr-x 1 1000 1000 7,4K мая 21 18:07 report6.php -rwxr-xr-x 1 1000 1000 8,9K мая 21 18:07 screenconf.php -rwxr-xr-x 1 1000 1000 11K мая 21 18:07 screenedit.php -rwxr-xr-x 1 1000 1000 5,7K мая 21 18:07 screens.php -rwxr-xr-x 1 1000 1000 2,2K мая 21 18:07 scripts_exec.php -rwxr-xr-x 1 1000 1000 9,6K мая 21 18:07 scripts.php -rwxr-xr-x 1 1000 1000 13K мая 21 18:07 search.php -rwxr-xr-x 1 1000 1000 14K мая 21 18:07 services.php -rwxr-xr-x 1 1000 1000 4,9K мая 21 18:07 setup.php -rwxr-xr-x 1 1000 1000 6,3K мая 21 18:07 slideconf.php -rwxr-xr-x 1 1000 1000 8,8K мая 21 18:07 slides.php -rwxr-xr-x 1 1000 1000 6,0K мая 21 18:07 srv_status.php drwxr-xr-x 3 1000 1000 4,0K мая 21 21:41 styles -rwxr-xr-x 1 1000 1000 7,7K мая 21 18:07 sysmap.php -rwxr-xr-x 1 1000 1000 12K мая 21 18:07 sysmaps.php -rwxr-xr-x 1 1000 1000 19K мая 21 18:07 templates.php -rwxr-xr-x 1 1000 1000 3,2K мая 21 18:07 tr_comments.php -rwxr-xr-x 1 1000 1000 5,3K мая 21 18:07 tr_events.php -rwxr-xr-x 1 1000 1000 13K мая 21 18:07 trigger_prototypes.php -rwxr-xr-x 1 1000 1000 16K мая 21 18:07 triggers.php -rwxr-xr-x 1 1000 1000 14K мая 21 18:07 tr_logform.php -rwxr-xr-x 1 1000 1000 26K мая 21 18:07 tr_status.php -rwxr-xr-x 1 1000 1000 6,1K мая 21 18:07 tr_testexpr.php -rwxr-xr-x 1 1000 1000 15K мая 21 18:07 usergrps.php -rwxr-xr-x 1 1000 1000 15K мая 21 18:07 users.php -rwxr-xr-x 1 1000 1000 2,7K мая 21 18:07 vtext.php -rwxr-xr-x 1 1000 1000 2,2K мая 21 18:07 warning.php
сначала при обращении на host/zabbix/setup.php выдавало в браузере содержание файла setup.php, после танцев с бубнами в конфиге apache выдает при обращении к setup вход (запрос логин-пароля) на вебморду c кучей ошибок, ругается, что не созданы таблицы. А таблиц нет, как я понимаю, в связи с тем, что не проведена первичная настройка через вебморду. Когда-то устанавливал на другой сервер - такой проблемы не было, даже не знаю, куда копать.
Comment