Ad Widget

Collapse

Discovery issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olidel
    Junior Member
    • Sep 2018
    • 5

    #1

    Discovery issue

    Hello,

    I have an issue with the discovery process and I cannot pinpont where this is coming from. Basically the discovery process is sending me e-mail about host or service that no longer exists on the network Eg I am receiving this e-mail:

    Discovery rule: Local network 2

    Device IP:192.168.198.44
    Device DNS:
    Device status: UP
    Device uptime: 233d 20h 9m

    Device service name: SSH
    Device service port: 22
    Device service status: DOWN
    Device service uptime: 275d 12h 47m


    Another example:

    Discovery rule: Local network 2

    Device IP:192.168.198.39
    Device DNS:
    Device status: DOWN
    Device uptime: 281d 19h 6m

    Device service name: ICMP ping
    Device service port: 0
    Device service status: DOWN
    Device service uptime: 281d 19h 6m

    In the Zabbix GUI there is nowhere that I can see the ip address "192.168.198.39". Of course, I'm seeing "192.168.198.44" but this is OK for that one. In the discovery rule "Local network 2", I have even restricted the ip discovery range from 192.168.198.3-62 to 192.168.198.4-62 but I still see some message about the IP 192.168.198.3. I have restarted multiple time the zabbix server and evn the server itself to be sure that the configuration files are read properly but without succes. Do you have an idea where I should look for this ghost information?


    Thaank you.

    OD
  • TheRiderU
    Member
    • May 2018
    • 31

    #2
    Why you need to do this with a discovery rule?

    Comment

    • olidel
      Junior Member
      • Sep 2018
      • 5

      #3
      Hello,

      Thank you for your reply. I do not really understand your remark. Is there other way to do it? I want to find out automatically about new host (or new services) on some particular subnets. Anyway, this does not explain why I'am receiving some e-mails for non existent host. Also it is worth noting that I have also disabled in the action menu the "send e-mail" option but I'am still receiving e-mails.



      OD

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        Are you sure it is the same database configured in frontend (zabbix.conf.php) and server (zabbix_server.conf)?

        Comment

        • olidel
          Junior Member
          • Sep 2018
          • 5

          #5
          Hello,

          /usr/share/zabbix/conf/zabbix.conf.php:

          Code:
          // Zabbix GUI configuration file.
          global $DB;
          
          $DB['TYPE']     = 'MYSQL';
          $DB['SERVER']   = 'localhost';
          $DB['PORT']     = '0';
          $DB['DATABASE'] = 'zabbix';
          $DB['USER']     = 'zabbix';
          :/etc/zabbix/zabbix_server.conf:




          ### Option: DBHost
          # Database host name.
          # If set to localhost, socket is used for MySQL.
          # If set to empty string, socket is used for PostgreSQL.
          #
          # Mandatory: no
          # Default:
          DBHost=localhost


          ### Option: DBName
          # Database name.
          # For SQLite3 path to database file must be provided. DBUser and DBPasswo$
          #
          # Mandatory: yes
          # Default:
          # DBName=

          DBName=zabbix


          ### Option: DBUser
          # Database user. Ignored for SQLite.
          #
          # Mandatory: no
          # Default:
          # DBUser=

          DBUser=zabbix
          When I have installed this the first time a few year ago, I have used the installation wizard, so I don't think that it was possible to choose a different database.

          Thank you.

          OD

          Comment

          • olidel
            Junior Member
            • Sep 2018
            • 5

            #6
            Hello,

            No more ideas for this issue?


            Best regards

            OD

            Comment

            • TheRiderU
              Member
              • May 2018
              • 31

              #7
              Pls send some pictures of the discovery rule or the whole setup thx.

              Comment

              • olidel
                Junior Member
                • Sep 2018
                • 5

                #8
                Hello,

                Sorry for the delay but this is what I have. Please note that in the action -> Operations, there is no "send e-mail". Although I'am still receiving emails.


                Click image for larger version

Name:	zabbix1.JPG
Views:	166
Size:	73.9 KB
ID:	366779


                Click image for larger version

Name:	zabbix2.JPG
Views:	144
Size:	77.2 KB
ID:	366780

                Click image for larger version

Name:	zabbix3.JPG
Views:	168
Size:	108.8 KB
ID:	366781


                Thank you.

                OD

                Comment

                Working...