Ad Widget

Collapse

Zabbix 1.6.6 Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sjbalaji
    Member
    • Aug 2008
    • 33

    #1

    Zabbix 1.6.6 Installation

    Hi,
    I am a newbie in Zabbix.
    I need to install zabbix 1.6.6 with mysql as db in our local environment.
    can anyone guide me for Zabbix installation and Configuration?
    Is there any step by step guide for done is this?
    i gone through the manual,but its very hard to do.
    Please can anyone guide?
    i am plan to do install in rhel4.
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    http://www.zabbix.com/wiki/howto/install/start

    This one might be the easiest for you http://blog.brendon.com/unix/install...-the-easy-way/

    Happy Zabbixing!
    Disclaimer: All of the above is pure speculation.

    Comment

    • sjbalaji
      Member
      • Aug 2008
      • 33

      #3
      Thanks,MrKen
      I am followed the following link and i am installed Zabbix easily.
      http://www.zabbix.com/wiki/howto/ins.../centosinstall
      Now i am need to monitor windows machines,(as agent)is there any guide for this to do ?
      Also i need to monitor some customized setup!is there any link to follow ?
      Thanks in Advance.
      Last edited by sjbalaji; 24-12-2009, 06:45. Reason: Missed to paste link :(

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        You have already downloaded Scotty's window's installer. The install is very straight forward, like installing anything else on Windows - follow the instructions on http://www.suiviperf.com/zabbix/ where it says "Using the Binary Package".

        You need to create a Host in zabbix and link it to the Windows_Template.

        For more on monitoring Windows, there's more on the wiki http://www.zabbix.com/wiki/howto/monitor/os/windows/a_pretty_complete_windows_monitoring_solution

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        • sjbalaji
          Member
          • Aug 2008
          • 33

          #5
          Hi,
          i ran the exe and its asked zabbix server ip and check box to select agent and all.
          After that i got setup completed succesfully Message.
          is any services or port i need to start in windows machine ?
          Or any config files there to change in Windows machine?
          I installed the agent in D:/ProgramFiles.

          Thanks in Advance

          Comment

          • sjbalaji
            Member
            • Aug 2008
            • 33

            #6
            Hi MrKen
            Also can you help me to setup Zabbix Alarm (Alerting while Some of service failed)

            Comment

            • MrKen
              Senior Member
              • Oct 2008
              • 652

              #7
              Originally posted by sjbalaji
              is any services or port i need to start in windows machine ?
              Or any config files there to change in Windows machine?
              I installed the agent in D:/ProgramFiles.
              You shouldn't need to do anything to ports.

              Open windows task manager, 'Processes' tab, and check that zabbix_agentd.exe is running as SYSTEM.

              In D:\ProgramFiles there should be a folder called 'zabbix'. In that folder is zabbix_agentd.conf, you shouldn't need to change anything for now, but in this file you can add your own UserParameters.

              Now create your host, link the template and see what happens.

              MrKen
              Disclaimer: All of the above is pure speculation.

              Comment

              • sjbalaji
                Member
                • Aug 2008
                • 33

                #8
                HI MrKen,
                I checked the Process tab in task manager their no process running as zabbix
                How can i startup the agent ?
                Also in the program files in D: there is a folder zabbix in there is no file named agentd.conf.
                The below list of files only there under D:/ProgramFiles/Zabbix Agent :

                LICENSE
                README.txt
                zabbix_agentd

                zabbix_agentd
                zabbix_get
                zabbix_sender

                and Uninstall

                Even am added the Host in Zabbix Monitoring server,I got only host not reachable alert

                Comment

                • MrKen
                  Senior Member
                  • Oct 2008
                  • 652

                  #9
                  You have zabbix_agentd and zabbix_agentd. One of them is .conf and the other is .exe

                  Try executing the .exe file and see if it starts.

                  Also check the .conf and make sure the various details are correct (Zabbix_server IP address, Port Number, Hostname [case sensitive, i.e must be the same as you set in zabbix gui]).
                  Disclaimer: All of the above is pure speculation.

                  Comment

                  • MrKen
                    Senior Member
                    • Oct 2008
                    • 652

                    #10
                    Originally posted by sjbalaji
                    Hi MrKen
                    Also can you help me to setup Zabbix Alarm (Alerting while Some of service failed)
                    Maybe time you downloaded the 1.6 Zabbix manual, and take some time to read through the wiki (and forums).

                    Before you can receive an alert you will need:
                    Users & Usergroups with permissions to read/write to the relevant hosts.
                    Define media for alerts - email, jabber, sms.
                    Add the media to the users.
                    Define triggers for relevant items.
                    Then you can define Actions for those triggers.

                    That should keep you busy for the next hour!

                    MrKen
                    Disclaimer: All of the above is pure speculation.

                    Comment

                    • sjbalaji
                      Member
                      • Aug 2008
                      • 33

                      #11
                      Hi MrKen,
                      i have followed the steps by you
                      Now i have a process zabbix_agentd.exe running as system user in task manager.
                      I have configured the Host in zabbix server and added windows template for that.

                      Now i am get grey blink in the server(Hostname) is unreachable.

                      For your reference i am giving belo my zabbix-agentd.conf
                      i have a query here: for Listen IP need to give windows monitoring IP ?


                      --------------------------------------------------------------------------

                      # This is config file for zabbix_agentd
                      # To get more information about ZABBIX, go http://www.zabbix.com
                      #

                      ############ GENERAL PARAMETERS #################

                      # List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
                      # No spaces allowed. First entry is used for sending active checks.
                      # Note that hostnames must resolve hostname->IP address and
                      # IP address->hostname.

                      Server=192.168.1.247

                      # Server port for sending active checks

                      ServerPort=10051

                      # Unique hostname. Required for active checks.

                      Hostname=2003

                      # Listen port. Default is 10050

                      ListenPort=10050

                      # IP address to bind agent
                      # If missing, bind to all available IPs

                      #ListenIP=127.0.0.1

                      # Number of pre-forked instances of zabbix_agentd.
                      # Default value is 5
                      # This parameter must be between 1 and 16

                      StartAgents=5

                      # How often refresh list of active checks. 2 minutes by default.

                      #RefreshActiveChecks=120

                      # Disable active checks. The agent will work in passive mode listening server.

                      #DisableActive=1

                      # Enable remote commands for ZABBIX agent. By default remote commands disabled.

                      EnableRemoteCommands=0

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

                      DebugLevel=0

                      # Name of PID file

                      #PidFile=C:\Program Files\Zabbix Agent\Zabbix_agentd.pid

                      # Name of log file.
                      # If not set, syslog will be used

                      LogFile=C:\Program Files\Zabbix Agent\Zabbix_agentd.log

                      # Spend no more than Timeout seconds on processing
                      # Must be between 1 and 30

                      Timeout=5

                      ##### Experimental options. Use with care ! #####

                      # Get rid of sockets in TIME_WAIT state
                      # This will set socket option SO_LINGER

                      # NoTimeWait=1

                      ##### End of experimental options
                      ####### USER-DEFINED MONITORED PARAMETERS #######
                      # Format: UserParameter=<key>,<shell command>
                      # Note that shell command must not return empty string or EOL only
                      #UserParameter=system.test,who|wc -l
                      ### Set of parameter 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

                      • MrKen
                        Senior Member
                        • Oct 2008
                        • 652

                        #12
                        Hi,

                        Your agentd.conf looks fine to me. But just to be sure:

                        Server=192.168.1.247 [This is the IP of the Zabbix Server?]

                        Hostname=2003 [This is the Hostname as it appears on your Conf of Host page in the Zabbix gui? - this must be exactly as it appears in zabbix (case sensitive)]

                        Do you see anything in Monitoring -> Latest data?
                        Anything in zabbix_server.log?
                        Anything in zabbix_agentd.log?
                        Is the Firewall enabled on the Windows server?

                        MrKen
                        Disclaimer: All of the above is pure speculation.

                        Comment

                        • sjbalaji
                          Member
                          • Aug 2008
                          • 33

                          #13
                          Hi Mrken,
                          Still i am getting the problem while monitoring the windows agent.
                          I am getting Server(Hostname)is Unreachable.
                          i am added the host in Windows template.
                          Please can you guide me to setup windows agent?

                          FYI,the process zabbixagent running in Taskmanager as SYSTEM

                          Comment

                          • MrKen
                            Senior Member
                            • Oct 2008
                            • 652

                            #14
                            I believe that you have resolved this already. Yes?

                            [Connect to 'IP address' / 'Dns name' in host config]

                            MrKen
                            Disclaimer: All of the above is pure speculation.

                            Comment

                            • sjbalaji
                              Member
                              • Aug 2008
                              • 33

                              #15
                              Yes MrKen,
                              Thank you very much for all the support.Now i am able to monitor windows agent.

                              Now i am plan to make a own template to monitor some things.
                              can you help me to setup a template and export the template in some other zabbix server?
                              for create template i am tried with Configuration->Hosts->Templates->Create Template
                              is this right way to create template?
                              Also i want to know add the item in newly created template.
                              Also i want to know the procedure of exporting and importing template some where.

                              Thanks in Advance.

                              Comment

                              Working...