Ad Widget

Collapse

Zabbix empty

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yannobi
    Junior Member
    • Jun 2013
    • 10

    #1

    Zabbix empty

    Hi guyz

    Two days trying to solve this issue with my zabbix but i need your help coz i'm begin to turn crazy.

    New install of a ubuntu server 12, and new install of a zabbix 2.0.6
    Everything went good and the frontend is here ! Zabbix Server is "on"

    But nothing happen on it, expect if i add a host with a zabbix agent manually. Nothing from a discovery with ICMP or SNMP


    Nothing in the log except line from the zabbix service when it starts... and nothing more after that.

    Here is logs after a

    Code:
    service zabbix-server restart
    Code:
      3649:20130627:130543.056 Zabbix Server stopped. Zabbix 2.0.6 (revision 35158).
      4589:20130627:130543.081 Starting Zabbix Server. Zabbix 2.0.6 (revision 35158).
      4589:20130627:130543.081 ****** Enabled features ******
      4589:20130627:130543.081 SNMP monitoring:           YES
      4589:20130627:130543.081 IPMI monitoring:           YES
      4589:20130627:130543.081 WEB monitoring:            YES
      4589:20130627:130543.081 Jabber notifications:       NO
      4589:20130627:130543.081 Ez Texting notifications:  YES
      4589:20130627:130543.081 ODBC:                       NO
      4589:20130627:130543.081 SSH2 support:               NO
      4589:20130627:130543.081 IPv6 support:               NO
      4589:20130627:130543.081 ******************************
      4592:20130627:130543.137 server #2 started [db watchdog #1]
      4599:20130627:130543.149 server #9 started [trapper #1]
      4591:20130627:130543.150 server #1 started [configuration syncer #1]
      4600:20130627:130543.150 server #10 started [trapper #2]
      4601:20130627:130543.151 server #11 started [trapper #3]
      4602:20130627:130543.152 server #12 started [trapper #4]
      4603:20130627:130543.155 server #13 started [trapper #5]
      4604:20130627:130543.156 server #14 started [icmp pinger #1]
      4605:20130627:130543.158 server #15 started [alerter #1]
      4606:20130627:130543.158 server #16 started [housekeeper #1]
      4606:20130627:130543.158 executing housekeeper
      4607:20130627:130543.158 server #17 started [timer #1]
      4608:20130627:130543.158 server #18 started [http poller #1]
      4614:20130627:130543.170 server #21 started [history syncer #2]
      4613:20130627:130543.170 server #20 started [history syncer #1]
      4615:20130627:130543.171 server #22 started [history syncer #3]
      4616:20130627:130543.172 server #23 started [history syncer #4]
      4617:20130627:130543.173 server #24 started [escalator #1]
      4618:20130627:130543.175 server #25 started [ipmi poller #1]
      4619:20130627:130543.176 server #26 started [ipmi poller #2]
      4620:20130627:130543.177 server #27 started [ipmi poller #3]
      4589:20130627:130543.180 server #0 started [main process]
      4630:20130627:130543.210 server #29 started [self-monitoring #1]
      4629:20130627:130543.213 server #28 started [proxy poller #1]
      4594:20130627:130543.233 server #4 started [poller #2]
      4595:20130627:130543.237 server #5 started [poller #3]
      4596:20130627:130543.249 server #6 started [poller #4]
      4593:20130627:130543.257 server #3 started [poller #1]
      4598:20130627:130543.261 server #8 started [unreachable poller #1]
      4597:20130627:130543.262 server #7 started [poller #5]
      4612:20130627:130543.265 server #19 started [discoverer #1]
      4606:20130627:130543.285 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions


    fping has been chmoded and chowned

    Code:
    zabbix@zabbix:~$ ls -l /usr/bin/fping
    -rws--x--- 1 root zabbix 26356 févr.  2  2010 /usr/bin/fpinq
    Path changed in the zabbix_server.conf

    Someone have a clue for me ?
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    Server looks OK. So you are not installing any agents, right? You are doing SNMP and ICMP monitoring?

    Show us how you have a host configured in the frontend for SNMP monitoring.

    Comment

    • Yannobi
      Junior Member
      • Jun 2013
      • 10

      #3
      In fact, just after a restart of zabbix_server, nothing happens !

      I have 3 discovery jobs, each one with 3 checks :

      -- ICMP delay 300 : Sometimes, it works but i have to wait 24 hours ot have a partial result (not all hosts have been discovered). It tested ping and fping directly from the server and it's ok !

      -- SNMPv2 agent ".1.3.6.1.2.1.1.5 : I checked with snmpwalk diretly on the server and it works perfectly. I tried with "sysName.0" nut nope !

      -- Zabbix agent "system.name"

      What is the result :

      -- Discovery of 2 switches : nothing

      -- discovery of 86 hosts (a site) : found 8 but no traces on log

      -- discovery of 76 machine (another site) : found 5 hosts out of 76... and no trace on log

      A restart or reboot the server changes nothing. I have to wait almost 24 hours and i have a partial result.


      Strange, isn't it !!

      Comment

      • Yannobi
        Junior Member
        • Jun 2013
        • 10

        #4
        By the way, i have 2 hosts with agents : the server and my PC. None of both is detected on zabbix

        Comment

        • tchjts1
          Senior Member
          • May 2008
          • 1605

          #5
          Can you do some screenshots of the actual configuration of your hosts?
          MWSnap is freeware that does very good screenshots.

          Have you assigned any templates to your hosts?

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            Also, I think you need to look at "auto registration" instead of discovery.

            Comment

            • Yannobi
              Junior Member
              • Jun 2013
              • 10

              #7
              I hope this is what you need cause i don't configure hosts. They are automaticaly populated from the discovery.

              For the moment, i created action to add host on hostgroup but not on template

              You can see on the hosts list that sb07412w have an agent but is not detected (in fact, the agent for the server is seen, mistack from me, sorry)
              Attached Files

              Comment

              • Yannobi
                Junior Member
                • Jun 2013
                • 10

                #8
                Where can i found what zabbix is doing. I hava verbose=3 but still nothing on zabbix_server.log except the few lines when irestart the service.

                Is there a cronjob i can check ?

                Comment

                • Yannobi
                  Junior Member
                  • Jun 2013
                  • 10

                  #9
                  I found on issue on the dashboard of zabbix applied to the zabbix server :

                  Evaluation failed for function: {Zabbix server:agent.ping.nodata(5m)}

                  Is it something related with my mess ?

                  Comment

                  • Yannobi
                    Junior Member
                    • Jun 2013
                    • 10

                    #10
                    SOrry but impossible to upload screenshots ! It doesn't work

                    Comment

                    • Yannobi
                      Junior Member
                      • Jun 2013
                      • 10

                      #11
                      For the moment, no templates associated to my actions : i discover, i enalbe the host, and i put it on a hostgroup

                      Comment

                      • Yannobi
                        Junior Member
                        • Jun 2013
                        • 10

                        #12
                        I found something strange.
                        When i reboot my server, i have this message :

                        Code:
                         1075:20130627:162607.925 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                        But if only restart the service, this message doesn't appear in the log !

                        Comment

                        • tchjts1
                          Senior Member
                          • May 2008
                          • 1605

                          #13
                          Originally posted by Yannobi
                          For the moment, no templates associated to my actions : i discover, i enalbe the host, and i put it on a hostgroup
                          Ok, well you have to assign templates to your hosts, otherwise Zabbix isn't going to monitor anything from them. On the machines that you have Zabbix agent on, attach the appropriate OS template. For instance, I assume your Zabbix server is Linux, so attach Template OS Linux to it and you should start seeing data under Monitoring --> Latest Data --> <host>

                          For your SNMP hosts, you need to attach an SNMP template to them. Try Template SNMP Generic and/or Template SNMP Interfaces.

                          Comment

                          • tchjts1
                            Senior Member
                            • May 2008
                            • 1605

                            #14
                            Originally posted by Yannobi
                            Where can i found what zabbix is doing. I hava verbose=3 but still nothing on zabbix_server.log except the few lines when irestart the service.

                            Is there a cronjob i can check ?
                            I think your Zabbix server is fine. Look at the servers where you have the agent installed and look for zabbix_agentd.log

                            The path to that log is defined in zabbix_agentd.conf

                            I see on your screenshot for ?Zabbix server" you have a red X. Hover your mouse over that X and see if it gives you an error message.

                            Comment

                            • Yannobi
                              Junior Member
                              • Jun 2013
                              • 10

                              #15
                              Hi,

                              I assigned templates to my hosts. I have datas for the zabbix server. Ok for that.

                              Like magic, some hosts were discovered during the night. I watched the zabbox_server.log but found nothing about the discovery. Where can i find BIG logs to understant what and when something happen on this server ?
                              Ihad this all night long (yeah baby

                              Code:
                                1836:20130628:033858.553 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:043858.911 executing housekeeper
                                1836:20130628:043858.972 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:053859.327 executing housekeeper
                                1836:20130628:053859.389 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:063859.745 executing housekeeper
                                1836:20130628:063859.810 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:073900.180 executing housekeeper
                                1836:20130628:073900.242 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:083900.600 executing housekeeper
                                1836:20130628:083900.664 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                                1836:20130628:093901.029 executing housekeeper
                                1836:20130628:093901.091 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
                              I'm investigating for the agent on my PC but i 'smell' a problem with some poller on the server !

                              Comment

                              Working...