Ad Widget

Collapse

Help installing on FreeBSD 4.11 please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smoked1
    Junior Member
    • Jul 2005
    • 1

    #1

    Help installing on FreeBSD 4.11 please

    I just installed version 1.0 from the FreeBSD ports. The thing is that I have no idea what to do next. Do I need to run the server and the client even though they are both on the same system? I have about 5 sample configuration files in /usr/lcoal/etc/zabbix and I am not sure what files to use. If anyone has installed this on FreeBSD before could give some help I would appriciate it. I am also wondering if Zabbix will run on FreeBSD 5.4.
  • iphigenie
    Junior Member
    • Dec 2005
    • 5

    #2
    I have it on 5.3 if it's of interest

    Had trouble with the ports one so installed from source

    One the monitoring server side you need to worry about the trapperd and suckerd conf files. Create a /etc/zabbix directory with those in it. All i really changed were the database details and the logging directory, plus one line (see later)

    then try running the two binaries directly and check the log files (set in config) to see what it says.

    I had a few problems until i commented out the line that follows
    # Experimental options. Use with care !

    might work for you

    Comment

    • iphigenie
      Junior Member
      • Dec 2005
      • 5

      #3
      whats odd is that in the agent and agentd conf files the experimental stuff is commented out, but in the sucker and trapper files seemed to have it non commented

      Comment

      • jcrm
        Junior Member
        • Jun 2005
        • 7

        #4
        Originally posted by smoked1
        I just installed version 1.0 from the FreeBSD ports. The thing is that I have no idea what to do next. Do I need to run the server and the client even though they are both on the same system? I have about 5 sample configuration files in /usr/lcoal/etc/zabbix and I am not sure what files to use. If anyone has installed this on FreeBSD before could give some help I would appriciate it. I am also wondering if Zabbix will run on FreeBSD 5.4.
        Code:
        [B]mybox>[/B] pkg_info  zabbix\*
        Information for zabbix-1.0_2,1:
        
        [...]
        
        [B]mybox>[/B] fgrep -C DocumentRoot /usr/local/etc/apache/httpd.conf
        
        #
        # 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 "/usr/local/share/zabbix/php"
        
        #
        
        [B]mybox>[/B] diff /usr/local/etc/zabbix/zabbix_suckerd.conf.sample /usr/local/etc/zabbix/zabbix_suckerd.conf
        10c10
        < StartSuckers=5
        ---
        > StartSuckers=60
        45c45
        < PidFile=/var/tmp/zabbix_suckerd.pid
        ---
        > PidFile=/tmp/zabbix_suckerd.pid
        53c53
        < AlertScriptsPath=/home/zabbix/bin/
        ---
        > AlertScriptsPath=/usr/local/libexec/zabbix/
        56c56
        < #FpingLocation=/usr/sbin/fping
        ---
        > FpingLocation=/usr/local/sbin/fping
        72c72
        < DBUser=root
        ---
        > DBUser=me
        77c77
        < #DBPassword=<password>
        ---
        > DBPassword=mypass
        81c81
        < #DBSocket=/tmp/mysql.sock
        ---
        > DBSocket=/tmp/mysql.sock
        
        [B]mybox>[/B] diff /usr/local/etc/zabbix/zabbix_agentd.conf.sample /usr/local/etc/zabbix/zabbix_agentd.conf
        61a62,66
        > 
        > UserParameter=temp[cpu], lockf -kst 5 /tmp/mbmon.lck /usr/local/bin/mbmon -T 1 -c 1|| echo -10 && sleep 0.1
        > UserParameter=temp[case], lockf -kst 5 /tmp/mbmon.lck /usr/local/bin/mbmon  -T 2 -c 1|| echo -10 && sleep 0.1
        > UserParameter=fan[cpu],echo `lockf -kst 5 /tmp/mbmon.lck /usr/local/bin/mbmon -F 1 -c 1 || echo -600` 1k60/p|dc
        > UserParameter=fan[case],echo `lockf -kst 5 /tmp/mbmon.lck /usr/local/bin/mbmon -F 2 -c 1i || echo -600` 1k60/p|dc
        
        [B]mybox>[/B]  ps auwwx | fgrep zabbix
        zabbix     1122  0.0  0.1  1220  408  ??  SN   Tue07PM   0:40.43 zabbix_agentd: waiting for connection. Requests [12146] (zabbix_agentd)
        zabbix     1121  0.0  0.1  1220  408  ??  IN   Tue07PM   0:40.51 zabbix_agentd: waiting for connection. Requests [12144] (zabbix_agentd)
        zabbix     1120  0.0  0.1  1220  408  ??  IN   Tue07PM   0:39.85 zabbix_agentd: waiting for connection. Requests [12151] (zabbix_agentd)
        zabbix     1119  0.0  0.1  1220  408  ??  IN   Tue07PM   0:40.25 zabbix_agentd: waiting for connection. Requests [12152] (zabbix_agentd)
        zabbix     1118  0.0  0.1  1220  408  ??  SN   Tue07PM   0:39.84 zabbix_agentd: waiting for connection. Requests [12159] (zabbix_agentd)
        zabbix     1117  0.0  0.0  1204    0  ??  IWN  -         0:00.00 zabbix_agentd: main process (zabbix_agentd)
        zabbix      795  0.0  0.2  3700  912  ??  S    29Nov05   1:19.51 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      794  0.0  0.1  3700  668  ??  I    29Nov05   0:11.59 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      793  0.0  0.1  3700  668  ??  I    29Nov05   0:29.37 zabbix_suckerd: sucker [sleeping for 59 seconds] (zabbix_suckerd)
        zabbix      792  0.0  0.1  3652  564  ??  S    29Nov05   0:09.39 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      791  0.0  0.1  3652  564  ??  S    29Nov05   0:09.36 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      790  0.0  0.1  3684  692  ??  I    29Nov05   0:16.93 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      789  0.0  0.2  3700 1040  ??  S    29Nov05   0:12.60 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      788  0.0  0.2  3700 1012  ??  I    29Nov05   0:13.47 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      787  0.0  0.3  3700 1304  ??  S    29Nov05   1:35.02 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      786  0.0  0.3  3700 1304  ??  I    29Nov05   1:35.45 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      785  0.0  0.2  3700 1052  ??  S    29Nov05   4:41.28 zabbix_suckerd: sucker [sleeping for 10 seconds] (zabbix_suckerd)
        zabbix      784  0.0  0.3  3700 1300  ??  S    29Nov05   1:17.00 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      783  0.0  0.3  3700 1300  ??  I    29Nov05   1:55.49 zabbix_suckerd: sucker [sleeping for 29 seconds] (zabbix_suckerd)
        zabbix      782  0.0  0.3  3700 1300  ??  S    29Nov05   2:58.44 zabbix_suckerd: sucker [sleeping for 17 seconds] (zabbix_suckerd)
        zabbix      781  0.0  0.3  3700 1300  ??  I    29Nov05   2:57.56 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      780  0.0  0.3  3700 1292  ??  I    29Nov05   2:20.48 zabbix_suckerd: sucker [sleeping for 29 seconds] (zabbix_suckerd)
        zabbix      779  0.0  0.3  3700 1292  ??  S    29Nov05   2:20.03 zabbix_suckerd: sucker [sleeping for 29 seconds] (zabbix_suckerd)
        zabbix      778  0.0  0.3  3700 1516  ??  S    29Nov05   4:08.05 zabbix_suckerd: sucker [sleeping for 15 seconds] (zabbix_suckerd)
        zabbix      777  0.0  0.3  3700 1300  ??  I    29Nov05   1:01.45 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      776  0.0  0.3  3700 1520  ??  S    29Nov05   2:38.18 zabbix_suckerd: sucker [sleeping for 8 seconds] (zabbix_suckerd)
        
        [...]
        
        zabbix      763  0.0  0.2  3700  912  ??  I    29Nov05   1:17.30 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      762  0.0  0.2  3700  920  ??  I    29Nov05   1:19.06 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      761  0.0  0.2  3700  972  ??  I    29Nov05   1:59.67 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      760  0.0  0.2  3700  964  ??  S    29Nov05   1:18.67 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      759  0.0  0.2  3700 1148  ??  S    29Nov05   2:28.03 zabbix_suckerd: sucker [sleeping for 28 seconds] (zabbix_suckerd)
        zabbix      758  0.0  0.3  3700 1372  ??  S    29Nov05   2:39.97 zabbix_suckerd: sucker [sleeping for 12 seconds] (zabbix_suckerd)
        zabbix      757  0.0  0.2  3700 1228  ??  S    29Nov05   2:34.60 zabbix_suckerd: sucker [sleeping for 27 seconds] (zabbix_suckerd)
        zabbix      756  0.0  0.2  3700 1244  ??  S    29Nov05   1:17.53 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      755  0.0  0.3  3700 1248  ??  I    29Nov05   0:09.52 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      754  0.0  0.2  3700 1164  ??  S    29Nov05   1:25.63 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      753  0.0  0.1  3700  668  ??  I    29Nov05   0:55.43 zabbix_suckerd: sucker [sleeping for 35 seconds] (zabbix_suckerd)
        zabbix      752  0.0  0.1  3700  664  ??  I    29Nov05   0:12.76 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      751  0.0  0.1  3700  668  ??  S    29Nov05   0:12.66 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      750  0.0  0.1  3700  668  ??  S    29Nov05   0:12.83 zabbix_suckerd: sucker [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      749  0.0  0.1  3700  668  ??  I    29Nov05   0:36.24 zabbix_suckerd: sucker [sleeping for 55 seconds] (zabbix_suckerd)
        zabbix      748  0.0  0.2  3700 1084  ??  S    29Nov05   4:35.19 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      747  0.0  0.2  3700 1096  ??  S    29Nov05   5:43.44 zabbix_suckerd: sucker [sleeping for 29 seconds] (zabbix_suckerd)
        zabbix      746  0.0  0.2  3700  972  ??  S    29Nov05   1:25.58 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      745  0.0  0.3  3700 1448  ??  S    29Nov05   3:59.75 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      744  0.0  0.2  3700 1076  ??  S    29Nov05   4:43.46 zabbix_suckerd: sucker [sleeping for 29 seconds] (zabbix_suckerd)
        zabbix      743  0.0  0.2  3700  884  ??  S    29Nov05   1:01.66 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      742  0.0  0.2  3700 1016  ??  I    29Nov05   1:02.68 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      741  0.0  0.2  3700 1088  ??  S    29Nov05   1:08.39 zabbix_suckerd: sucker [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      740  0.0  0.3  3700 1372  ??  S    29Nov05   2:02.95 zabbix_suckerd: sucker [sleeping for 27 seconds] (zabbix_suckerd)
        zabbix      739  0.0  0.2  3700 1232  ??  I    29Nov05   9:26.82 zabbix_suckerd: pinger [sleeping for 60 seconds] (zabbix_suckerd)
        zabbix      738  0.0  0.1  3652  612  ??  S    29Nov05   0:20.21 zabbix_suckerd: sleeping for 30 sec (zabbix_suckerd)
        zabbix      737  0.0  0.2  3700 1020  ??  S    29Nov05   0:20.79 zabbix_suckerd: sender [sleeping for 30 seconds] (zabbix_suckerd)
        zabbix      736  0.0  0.1  3668  652  ??  I    29Nov05   0:11.65 zabbix_suckerd: housekeeper [sleeping for 1 hour(s)] (zabbix_suckerd)
        zabbix      250  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: waiting for connection (zabbix_trapperd)
        zabbix      249  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: waiting for connection (zabbix_trapperd)
        zabbix      248  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: waiting for connection (zabbix_trapperd)
        zabbix      247  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: waiting for connection (zabbix_trapperd)
        zabbix      246  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: waiting for connection (zabbix_trapperd)
        zabbix      240  0.0  0.0  1576    0  ??  IW   -         0:00.00 zabbix_trapperd: main process (zabbix_trapperd)

        Comment

        Working...