Ad Widget

Collapse

Ubuntu 7 & Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickp
    Junior Member
    • May 2007
    • 28

    #1

    Ubuntu 7 & Zabbix

    Hi all

    I'm trying to setup a monitoring solution for our customers, so i went looking for some solutions, and found that Zabbix is the thing we need. I'm a windows administrator with basic linux knowledge so bare me i'm trying to get the best of both worlds...

    Now this is what i have done until now
    Code:
    Installed a LAMP version of Ubuntu 7
    Updated everything
    installed libsnmp-dev (took me a while to find that...)
    Did this:
    Code:
    apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
    To make sure i got most of the things, based on the howtoforge installdoc
    Also this
    Code:
    apt-get install mysql-server mysql-client libmysqlclient15-dev
    Followed the zabbix installation doc without any errors, took the beta version. Started zabbix_Server. But i just can't get to the zabbix website.

    Anybody that could help me a hand, i'm gonna contribute wherever i can,this is keeping me busy for almost 3 days..

    Thx in advance
  • nickp
    Junior Member
    • May 2007
    • 28

    #2
    /var/www

    Okay, i'm a litle further now... copied the /frontends/php to /var/www and it runs smoothly i think...

    I get the Zabbix server is runnin 0, according to some posts here it's go to do something with the php in safe mode, so i'm just gonna ignore that for now.

    Tried also the new version, but got that loop bug, changed it according the patches. But still not fixed..

    I addes 2 devices a firewall and a windows 2003 server, strange thing is that none of the graphs events etc.. works....

    So maybe the zabbix server is really not running?

    checked it with service zabbix status, but it says unrecognized service..

    anybody?

    Comment

    • nickp
      Junior Member
      • May 2007
      • 28

      #3
      graphs

      In the graphs i get No data...

      Comment

      • Rudolf
        Member
        • Dec 2004
        • 90

        #4
        The running zabbix's I always check with "ps aux | grep zabbix"
        For the graphics, check if gd and php-gd are installed
        I suppose you checked the config files? On my Fedora 5 it's /etc/zabbix/zabbix_server.conf
        If you have a firewall, is the default port 10051 open? Or 10050? Check .conf
        You modified include/db.inc.php on the web server with the correct user/pass for mysql?

        Comment

        • nickp
          Junior Member
          • May 2007
          • 28

          #5
          Hi

          thx for the response. I finally got it working on my debian server. Localhost is monitorred perfectly.

          Only my windows server isn't, do you know if i have to change something on the firewall settings on the debian server?

          Linux n00b here

          Always get the message: connection reset by peer.

          Comment

          • nickp
            Junior Member
            • May 2007
            • 28

            #6
            SNMP devices give me a timeout...

            Comment

            • Villain
              Member
              • Aug 2006
              • 84

              #7
              I gave up on monitoring snmp because I couldn't understand the whole OID things that I kept reading about.

              However, if possible, use php or some other scripting language to do some of the monitoring. You can then use Zabbix to read the results of those scripts using custom user items. We do this for monitoring servers that are critical and cannot have extra services running on them, as well as to monitor switches and routers.

              As for installing the monitoring client on your Windows boxes, make sure you edit the configuration file and change the location of the temp and log files. I think it should read something like:

              c:\temp\tempfile

              and

              c:\temp\logfile

              I ran into problems getting the service to install and run until I made those changes.

              Comment

              • nickp
                Junior Member
                • May 2007
                • 28

                #8
                Well on debian zabbix works like a charm, long live aptitude..

                First i had 1.1.3 then with changing /etc/apt/sources.list to use the unstable branche
                apt-get update apt-get upgrade and voilĂ  upgraded to the new version

                I still believe it's a firewall thing, localhost is monitored perfectly but the winbox and the firewall not.

                I have a small doc i wrote for internal purposes, if you want i can mail it to you for a zabbix setup under debian. It's sightly different then on a Ubuntu.

                Nick

                Comment

                Working...