Ad Widget

Collapse

Installing Zabbix and Postgres on same server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeffkelly
    Junior Member
    • Oct 2009
    • 8

    #1

    Installing Zabbix and Postgres on same server

    Hello,

    I'm installing Zabbix and PostgreSQL on the same computer. Below is an excerpt from JohnUSA's Ubuntu installation procedure. Questions follow.

    nano /etc/zabbix/zabbix_agentd.conf
    Make sure that the Server parameter points to the server address, for the agent that runs on the server it is like this: Server=127.0.0.1 change to xxx.xxx.xxx.xxx
    AND REMOVE # from ListenIP=127.0.0.1 AND CHANGE IT to ListenIP=xxx.xxx.xxx.xxx


    nano /etc/zabbix/zabbix_server.conf
    REMOVE # from ListenIP=127.0.0.1 AND CHANGE IT to ListenIP=10.20.10.239

    Questions
    1. In zabbix_agentd.conf, is "server=" 127.0.0.1 or the server address (192.168.1.20)?
    2. 2. In zabbix_agentd.conf, is ListenIP 127.0.0.1 or the server address (192.168.1.20)?
    3. In zabbix_server.conf, is the ListenIP address 127.0.0.1 or the server address (192.168.1.20)?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    make sure the ip in zabbix agent daemon config file matches the one set for that host in the frontend - by default, 127.0.0.1.
    in most cases you should not change listenip directives in either config file.
    Zabbix 3.0 Network Monitoring book

    Comment

    • jeffkelly
      Junior Member
      • Oct 2009
      • 8

      #3
      Originally posted by richlv
      make sure the ip in zabbix agent daemon config file matches the one set for that host in the frontend - by default, 127.0.0.1.
      in most cases you should not change listenip directives in either config file.
      Please forgive the ignorance, but I don't know what "frontend" means.

      Here's what I did. Can you confirm it is right or make necessary corrections?
      • In zabbix_agentd.conf: server = 192.168.1.20.
      • In zabbix_agentd.conf: ListenIP is commented.
      • In zabbix_server.conf: ListenIP address is commented.


      I got V1.8 to work but am having an fsock error as reported by others. So, the server is offline.

      Comment

      • Firm
        Senior Member
        • Dec 2009
        • 342

        #4
        'frontend' means GUI interface of Zabbix, where you configure and monitor hosts. You may leave all values as they were (127.0.0.1) or change 'server' to 192.168.1.20. In last case make sure that you've changed ip address of 'Zabbix server' in GUI.

        Comment

        Working...