Ad Widget

Collapse

Distributed Monitorig Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maruscya
    Senior Member
    Zabbix Certified Specialist
    • Jul 2007
    • 129

    #1

    Distributed Monitorig Help

    Hello Guys.

    I follow this howto for configure DistMon Env....



    It is a very nice howto.... i try configure my enviroment from scratch. After start zabbix server, into log appear this lince.

    32181:20080508:164151 NodeID does not match configuration settings. Processing of the node is disabled
    And this strange line

    1495:20080508:165520 server #206 started [Node watcher. Node ID:0]
    Zabbix server (master and child node) works on port 5001, not on port 10051. Under node (master and child) configuration i have setup port 5001

    This is my zabbix_server.conf file ...

    # This defines which server this is.
    # Default value 1
    # This parameter must be between 1 and 255
    Server=1

    NodeId=1

    # Number of pre-forked instances of pollers
    # Default value is 6
    # This parameter must be between 6 and 255
    StartPollers=100

    # Number of pre-forked instances of trappers
    # Default value is 5
    # This parameter must be between 2 and 255
    StartTrappers=100

    # Listen interface for trapper. Trapper will listen all network interfaces
    # if this parameter is missing.
    #ListenIP=127.0.0.1

    # Listen port for trapping. Default port number is 10051. This parameter
    # must be between 1024 and 32767
    ListenPort=5001

    # How often ZABBIX will perform housekeeping procedure
    # (in hours)
    # Default value is 1 hour
    # Housekeeping is removing unnecessary information from
    # tables history, alert, and alarms
    # This parameter must be between 1 and 24
    HousekeepingFrequency=1

    # How often ZABBIX will try to send unsent alerts
    # (in seconds)
    # Default value is 30 seconds
    SenderFrequency=30

    # Uncomment this line to disable housekeeping procedure
    #DisableHousekeeping=1

    # Specifies debug level
    # 0 - debug is not created
    # 1 - critical information
    # 2 - error information
    # 3 - warnings (default)
    # 4 - for debugging (produces lots of information)
    DebugLevel=3

    # Specifies how long we wait for agent (in sec)
    # Must be between 1 and 30
    Timeout=15

    # After how many seconds of unreachability treat a host as unavailable
    UnreachablePeriod=45

    # How ofter check host for availability during the unreachability period
    UnavailableDelay=15

    # How ofter check host for availability during the unavailability period
    UnavailableDelay=60

    # Name of PID file
    PidFile=/var/run/zabbix/zabbix_server.pid

    # Name of log file
    # If not set, syslog is used
    LogFile=/var/log/zabbix/zabbix_server.log

    #Location for custom alert scripts
    AlertScriptsPath=/var/lib/zabbix/scripts

    #Location of 'fping. Default is /usr/sbin/fping
    FpingLocation=/usr/sbin/fping

    # Frequency of ICMP pings. Defauls is 30 second.
    PingerFrequency=30

    # Database host name
    # Default is localhost
    DBHost=localhost

    # Database name
    #DBName=zabbix_db
    DBName=distmon

    # Database user
    DBUser=********

    # Database password
    # Comment this line if no password used
    DBPassword=*********

    # Connect to MySQL using Unix socket?
    DBSocket=/var/run/mysqld/mysqld.sock
    Someone can help me to understand the error ??? I'm usign zabbix 1.4.4 with gentoo linux

    Maruscya
    Last edited by maruscya; 08-05-2008, 16:58. Reason: update info
  • maruscya
    Senior Member
    Zabbix Certified Specialist
    • Jul 2007
    • 129

    #2
    Another test

    Hello...

    I try create another database from scratch...

    #>mysql
    CREATE DATABASE distmon
    and create schema and data

    mysql -p -uzabbix_user distmon < /tmp/zabbix-1.4.4/create/schema/mysql.sql
    mysql -p -uzabbix_user distmon < /tmp/zabbix-1.4.4/create/data/data.sql
    mysql -p -uzabbix_user distmon < tmp/zabbix-1.4.4/create/data/images_mysql.sql
    And then convert table using

    #>zabbix_server -n 1 -c /etc/zabbix/zabbix_server.conf
    Converting tables .................................................. ................ done.

    Conversion completed.
    Finally.... start zabbix.... no change... the same problem ...


    Maruscya

    Comment

    • data7
      Junior Member
      • May 2008
      • 18

      #3
      Question about distributed monitoring.

      Hello, actually i am planning to use Zabbix on distributed monitoring mode and i have a doubt: the TCP connection is established from the child node to the master node or the opposite? I tried to find this everywhere (including the manual) unsuccessfully. I do need this information because its important for firewall folks.

      Sorry to post another doubt on this topic. I did it for saving space for other ones in first page.

      Thanks in advance.

      Gabriel Rubilar

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        I think it goes in both directions. If you look at the logs it looks like the parent node is pushing to the child node and the child node is pushing to the parent node. I don't know for sure, but you could put Wireshark on the system and find out. Just be sure to filter for the remote node or you'll see too much stuff. :-)
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • maruscya
          Senior Member
          Zabbix Certified Specialist
          • Jul 2007
          • 129

          #5
          Hello ...

          IMHO comunication is bidirection.... from master to child... and from child to master.

          Check documentation, at section 12.7.x

          Comment

          Working...