Ad Widget

Collapse

не могу запустить zabbix сервер

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zvava
    Junior Member
    • May 2010
    • 4

    #1

    не могу запустить zabbix сервер

    скачал все необходимые пакеты, сделал mysql базу, сконфигурил
    ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl
    всё прошло успешно
    дальше делаю
    make install
    опять всё успешно
    перехожу в /usr/local/sbin/
    запускаю сервер ./zabbix_server
    а дальше ничего не происходит, никаких ошибок и прочее ,просто переходит опять в командную строку...
    в top процесса заббикса не видно

    подскажите, плз ,в чём может быть проблема
  • sega
    Junior Member
    • May 2010
    • 11

    #2
    Сделали ?
    Code:
    mysql zabbix < ${PREFIX}/share/zabbix/server/create/schema/mysql.sql
    mysql zabbix < ${PREFIX}/share/zabbix/server/create/data/data.sql
    mysql zabbix < ${PREFIX}/share/zabbix/server/create/data/images_mysql.sql
    Файл существует ?
    Code:
    {$PREFIX}/etc/zabbix/zabbix_server.conf
    На что указывает переменная конфига LogFile ?
    Существует файл лога ? Что в нем ?

    Что показывает ps ax | grep zabbix ?

    Comment

    • zvava
      Junior Member
      • May 2010
      • 4

      #3
      Originally posted by sega
      Сделали ?
      Code:
      mysql zabbix < ${PREFIX}/share/zabbix/server/create/schema/mysql.sql
      mysql zabbix < ${PREFIX}/share/zabbix/server/create/data/data.sql
      mysql zabbix < ${PREFIX}/share/zabbix/server/create/data/images_mysql.sql
      Файл существует ?
      Code:
      {$PREFIX}/etc/zabbix/zabbix_server.conf
      На что указывает переменная конфига LogFile ?
      Существует файл лога ? Что в нем ?

      Что показывает ps ax | grep zabbix ?
      mysql базу я заполнил

      оказалось, что у меня был некорректно настроен файл /etc/zabbix/zabbix_server.conf

      /etc/zabbix/zabbix_server.conf существует
      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.
      #
      # 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: 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=
      
      DBPassword=mypassword
      
      ### 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.
      #       You shouldn't run more than 30 pollers normally.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartPollers=5
      
      ### Option: StartIPMIPollers
      #       Number of pre-forked instances of IPMI pollers.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartIPMIPollers=0
      
      ### Option: StartPollersUnreachable
      #       Number of pre-forked instances of pollers for unreachable hosts.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartPollersUnreachable=1
      
      ### Option: StartTrappers
      #       Number of pre-forked instances of trappers
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartTrappers=5
      
      ### Option: StartPingers
      #       Number of pre-forked instances of ICMP pingers.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartPingers=1
      
      ### Option: StartDiscoverers
      #       Number of pre-forked instances of discoverers.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartDiscoverers=1
      
      ### Option: StartHTTPPollers
      #       Number of pre-forked instances of HTTP pollers.
      #
      # Mandatory: no
      # Range: 0-255
      # Default:
      # StartHTTPPollers=1
      
      ### Option: ListenIP
      #       Listen interface for trapper.
      #       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.
      #       If PostgreSQL is used, suggested value is 24, as it performs VACUUM.
      #
      # 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-1048576
      # 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: 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
      
      # TrapperTimeout=5
      ### 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.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # UnavailableDelay=60
      
      ### Option: UnreachableDelay
      #       How often host is checked for availability during the unreachability period
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # UnreachableDelay=15
      
      ### Option: AlertScriptsPath
      #       Location of custom alert scripts
      #
      # Mandatory: no
      # Default:
      # AlertScriptsPath=/home/zabbix/bin/
      
      ### Option: ExternalScripts
      #       Location of external scripts
      #
      # Mandatory: no
      # Default:
      # ExternalScripts=/etc/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 keys for SSH checks
      #
      # Mandatory: no
      # Default:
      # SSHKeyLocation=
      
      ### 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.
      #
      # Mandatory: no
      # Default:
      # Include=
      
      # Include=/etc/zabbix/zabbix_server.general.conf
      # Include=/etc/zabbix/zabbix_server/
      теперь сервер запускается
      ps ax | grep zabbix показывает
      Code:
      [root@student2 zabbix]# ps ax | grep zabbix
      18225 ?        SN     0:00 ./zabbix_server
      18227 ?        SN     0:00 ./zabbix_server
      18228 ?        SN     0:00 ./zabbix_server
      18230 ?        SN     0:00 ./zabbix_server
      18231 ?        SN     0:00 ./zabbix_server
      18232 ?        SN     0:00 ./zabbix_server
      18233 ?        SN     0:00 ./zabbix_server
      18234 ?        SN     0:00 ./zabbix_server
      18235 ?        SN     0:00 ./zabbix_server
      18237 ?        SN     0:00 ./zabbix_server
      18239 ?        SN     0:00 ./zabbix_server
      18241 ?        SN     0:00 ./zabbix_server
      18244 ?        SN     0:00 ./zabbix_server
      18245 ?        SN     0:00 ./zabbix_server
      18246 ?        SN     0:00 ./zabbix_server
      18249 ?        SN     0:00 ./zabbix_server
      18251 ?        SN     0:00 ./zabbix_server
      18253 ?        SN     0:00 ./zabbix_server
      18254 ?        SN     0:00 ./zabbix_server
      18256 ?        SN     0:00 ./zabbix_server
      18257 ?        SN     0:00 ./zabbix_server
      19762 pts/0    S+     0:00 grep zabbix
      попытался запустить заббикс агент на той же машине... что-то не запустился...

      файл /etc/zabbix/zabbix_agentd.conf

      Code:
      # This is a config file for Zabbix Agent (Unix)
      # To get more information about Zabbix, visit http://www.zabbix.com
      
      ############ GENERAL PARAMETERS #################
      
      ### Option: PidFile
      #       Name of PID file.
      #
      # Mandatory: no
      # Default:
      # PidFile=/tmp/zabbix_agentd.pid
      
      ### Option: LogFile
      #       Name of log file.
      #       If not set, syslog is used.
      #
      # Mandatory: no
      # Default:
      # LogFile=
      
      LogFile=/tmp/zabbix_agentd.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: SourceIP
      #       Source IP address for outgoing connections.
      #
      # Mandatory: no
      # Default:
      # SourceIP=
      
      ### Option: EnableRemoteCommands
      #       Whether remote commands from Zabbix server are allowed.
      #       0 - not allowed
      #       1 - allowed
      #
      # Mandatory: no
      # Default:
      # EnableRemoteCommands=0
      
      ### Option: LogRemoteCommands
      #       Enable logging of executed shell commands as warnings
      #       0 - disabled
      #       1 - enabled
      #
      # Mandatory: no
      # Default:
      # LogRemoteCommands=0
      
      ##### Passive checks related
      
      ### Option: Server
      #       List of comma delimited IP addresses (or hostnames) of Zabbix servers.
      #       No spaces allowed. First entry is used for receiving list of and sending active checks.
      #       Note that hostnames must resolve hostname->IP address and IP address->hostname.
      #       If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
      #
      # Mandatory: yes
      # Default:
      # Server=
      
      Server=127.0.0.1
      
      ### Option: Hostname
      #       Unique, case sensitive hostname.
      #       Required for active checks and must match hostname as configured on the server.
      #
      # Default:
      # Hostname=system.uname
      
      Hostname=Zabbix Server
      
      ### Option: ListenPort
      #       Agent will listen on this port for connections from the server.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # ListenPort=10050
      
      ### Option: ListenIP
      #       Agent will listen on the specified interface.
      #
      # Mandatory: no
      # Default:
      # ListenIP=0.0.0.0
      
      # ListenIP=127.0.0.1
      
      ### Option: DisablePassive
      #       Disable passive checks. The agent will not listen on any TCP port.
      #       Only active checks will be processed.
      #       0 - do not disable
      #       1 - disable
      #
      # Mandatory: no
      # Default:
      # DisablePassive=0
      
      ##### Active checks related
      
      ### Option: DisableActive
      #       Disable active checks. The agent will work in passive mode listening for server.
      #
      # Mandatory: no
      # Default:
      # DisableActive=0
      
      # DisableActive=1
      
      ### Option: ServerPort
      #       Server port for retrieving list of and  sending active checks.
      #
      # Mandatory: no
      # Default:
      # ServerPort=10051
      
      ### Option: RefreshActiveChecks
      #       How often list of active checks is refreshed, in seconds.
      #
      # Mandatory: no
      # Range: 60-3600
      # Default:
      # RefreshActiveChecks=120
      
      ### Option: BufferSend
      #       Do not keep data longer than N seconds in buffer.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # BufferSend=5
      
      ### Option: BufferSize
      #       Maximum number of values in a memory buffer. The agent will send
      #       all collected data to Zabbix Server or Proxy if the buffer is full.
      #
      # Mandatory: no
      # Range: 1-65535
      # Default:
      # BufferSize=100
      
      ### Option: MaxLinesPerSecond
      #       Maximum number of new lines the agent will send per second to Zabbix Server
      #       or Proxy processing 'log' and 'logrt' active checks.
      #       The provided value will be overridden by the parameter 'maxlines',
      #       provided in 'log' or 'logrt' item keys.
      #
      # Mandatory: no
      # Range: 1-1000
      # Default:
      # MaxLinesPerSecond=100
      
      
      ############ ADVANCED PARAMETERS #################
      
      ### Option: StartAgents
      #       Number of pre-forked instances of zabbix_agentd that process passive checks.
      #
      # Mandatory: no
      # Range: 1-16
      # Default:
      # StartAgents=3
      
      ### Option: Timeout
      #       Spend no more than Timeout seconds on processing
      #
      # Mandatory: no
      # Range: 1-30
      # Default:
      # Timeout=3
      
      ### Option: Include
      #       You may include individual files or all files in a directory in the configuration file.
      #
      # Mandatory: no
      # Default:
      # Include=
      
      # Include=/etc/zabbix/zabbix_agent.userparams.conf
      # Include=/etc/zabbix/zabbix_agentd/
      
      
      ####### USER-DEFINED MONITORED PARAMETERS #######
      
      ### Option: UnsafeUserParameters
      #       Allow all characters to be passed in arguments to user-defined parameters.
      #       0 - do not allow
      #       1 - allow
      #
      # Mandatory: no
      # Range: 0-1
      # Default:
      # UnsafeUserParameters=0
      
      ### Option: UserParameter
      #       User-defined parameter to monitor. There can be several user-defined parameters.
      #       Format: UserParameter=<key>,<shell command>
      #       Note that shell command must not return empty string or EOL only.
      #       Example: UserParameter=system.test,who|wc -l
      #UserParameter=system.test,who|wc -l
      ### Set of parameters for monitoring MySQL server (v3.23.42 and later)
      ### Change -u<username> and add -p<password> if required
      #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
      #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
      #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
      #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
      #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
      #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
      #UserParameter=mysql.version,mysql -V

      Comment

      • dima_dm
        Senior Member
        • Dec 2009
        • 2697

        #4
        Скорее всего проблема в этом
        Hostname=Zabbix Server
        Должно быть DNS имя или IP.
        Смотрите ошибки в лог файле /tmp/zabbix_agentd.log

        Comment

        • zvava
          Junior Member
          • May 2010
          • 4

          #5
          заббикс сервер запустил, только вставил в файл конфигурации строчку

          DBSocket=/var/lib/mysql/mysql.sock

          логфайл сервера:
          Code:
          17816:20100526:174935.587 Starting Zabbix Server. Zabbix 1.8.2 (revision 11211).
           17816:20100526:174935.587 **** Enabled features ****
           17816:20100526:174935.587 SNMP monitoring:       YES
           17816:20100526:174935.587 IPMI monitoring:        NO
           17816:20100526:174935.587 WEB monitoring:        YES
           17816:20100526:174935.587 Jabber notifications:   NO
           17816:20100526:174935.587 ODBC:                   NO
           17816:20100526:174935.587 SSH2 support:           NO
           17816:20100526:174935.587 IPv6 support:           NO
           17816:20100526:174935.587 **************************
           17818:20100526:174935.623 server #1 started [DB Cache]
           17825:20100526:174935.626 server #7 started [Trapper]
           17827:20100526:174935.627 server #8 started [Trapper]
           17829:20100526:174935.627 server #9 started [Trapper]
           17833:20100526:174935.628 server #12 started [ICMP pinger]
           17834:20100526:174935.628 server #13 started [Alerter]
           17831:20100526:174935.628 server #10 started [Trapper]
           17837:20100526:174935.629 server #14 started [Housekeeper]
           17837:20100526:174935.629 Executing housekeeper
           17832:20100526:174935.629 server #11 started [Trapper]
           17839:20100526:174935.629 server #15 started [Timer]
           17844:20100526:174935.630 server #17 started [HTTP Poller]
          17816:20100526:174935.633 server #0 started [Watchdog]
           17849:20100526:174935.634 server #20 started [Escalator]
           17820:20100526:174935.675 server #3 started [Poller. SNMP:YES]
           17822:20100526:174935.675 server #4 started [Poller. SNMP:YES]
           17846:20100526:174935.675 server #18 started [Discoverer. SNMP:YES]
           17840:20100526:174935.681 server #16 started [Poller for unreachable hosts. SNMP:YES]
           17824:20100526:174935.682 server #6 started [Poller. SNMP:YES]
           17819:20100526:174935.684 server #2 started [Poller. SNMP:YES]
           17823:20100526:174935.685 server #5 started [Poller. SNMP:YES]
           17837:20100526:174946.087 Deleted 0 records from history and trends
           17827:20100526:175014.074 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
           17825:20100526:175214.190 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
           17829:20100526:175414.318 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
           17831:20100526:175614.431 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
           17832:20100526:175814.556 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
           17827:20100526:180014.687 Sending list of active checks to [127.0.0.1] failed: host [student2] not found
          а заббикс агент на этой машине не запускется

          логфайл агента:
          Code:
          17993:20100526:175014.048 Zabbix Agent started. Zabbix 1.8.2 (revision 11211).
           17994:20100526:175014.048 zabbix_agentd collector started
           17995:20100526:175014.048 zabbix_agentd listener started
           17996:20100526:175014.049 zabbix_agentd listener started
           17997:20100526:175014.049 zabbix_agentd listener started
           17998:20100526:175014.049 zabbix_agentd active check started [127.0.0.1:10051]
           17998:20100526:175014.074 No active checks on server: host [student2] not found
           17998:20100526:175214.191 No active checks on server: host [student2] not found
          zabbix_agentd [18295]: File [/tmp/zabbix_agentd.pid] exists and is locked. Is this process already running ?
          zabbix_agentd [18295]: ERROR: File [/tmp/zabbix_agentd.pid] exists and is locked. Is this process already running ?
           17998:20100526:175414.318 No active checks on server: host [student2] not found
           17998:20100526:175614.431 No active checks on server: host [student2] not found
           17998:20100526:175814.557 No active checks on server: host [student2] not found
           17998:20100526:180014.687 No active checks on server: host [student2] not found
           17998:20100526:180214.781 No active checks on server: host [student2] not found
          какие настройки в конфиг файле нужно прописать, чтобы они увидели друг друга?
          1) если стоят на одной машине
          2) если на разных и взаимодействие через сеть

          Comment

          • dima_dm
            Senior Member
            • Dec 2009
            • 2697

            #6
            Originally posted by zvava
            какие настройки в конфиг файле нужно прописать, чтобы они увидели друг друга?
            1) если стоят на одной машине
            Zabbix Agent у вас запустился.
            Нужно настраивать через Web интерфейс Настройка->Узлы сети
            Originally posted by zvava
            2) если на разных и взаимодействие через сеть
            Нужно
            /etc/zabbix/zabbix_agentd.conf
            Server= прописать IP адреса Zabbix сервера
            Hostname=прописать IP адреса Zabbix сервера
            ListenIP=0.0.0.0 - оставьте по умолчанию

            Далее настраивать через Web интерфейс Настройка->Узлы сети
            P.S. Прочитайте документацию, прежде чем настраивать.

            Comment

            • zvava
              Junior Member
              • May 2010
              • 4

              #7
              так.... наверно я сейчас очень тупой вопрос спрошу ,но всё же )))

              мне требуется поднять заббикс сервер на удалённой машине "через консоль"...
              захожу через PuTTY (там нужный IP и порт прописан), потом ввожу логин/пароль... ну и в консоли.

              а как через веб интерфейс туда попасть?

              ввожу в лисе IP адрес из путти и не фига...
              что там вводить надо?

              Comment

              • dima_dm
                Senior Member
                • Dec 2009
                • 2697

                #8
                Установить php с расширениями( у вас версии могут быть другие)
                php-gd-5.1.2-5.el4s1.1
                php-pear-1.4.6-1.el4s1.3
                php-5.1.2-5.el4s1.1
                php-bcmath-5.1.2-5.el4s1.1
                php-mysql-5.1.2-5.el4s1.1
                php-pdo-5.1.2-5.el4s1.1
                php-xml-5.1.2-5.el4s1.1
                php-mbstring-5.1.2-5.el4s1.1

                Настроить Web сервер (например apache), настроить поддержку php в apache.

                Сами Web страницы портала Zabbix сервера в директории с исходными кодами
                zabbix-1.8.2/frontends/php/
                Их нужно переместить в корневую директорию, на которую настроен Web сервер.
                Конфигурациооный файл Web портала Zabbix сервера zabbix-1.8.2/frontends/php/conf/zabbix.conf, править естественно, нужно тот файл, который в корневой директории Web сервера conf/zabbix.conf.
                Last edited by dima_dm; 26-05-2010, 17:41.

                Comment

                Working...