Ad Widget

Collapse

After upgrading from zabbix 2.2 to 3.0.3 problem with vfs.fs.discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zalex
    Junior Member
    • Jan 2014
    • 18

    #1

    After upgrading from zabbix 2.2 to 3.0.3 problem with vfs.fs.discovery

    vfs.fs.discovery in zabbix version 3 now detects floppy, CD-ROM, USB mount point, e.g. /proc/bus/usb, the free space which is equal to 0. In the result of a lot of false triggers. Zabbix agent is used version 2.2. How can I fix it?
  • zalex
    Junior Member
    • Jan 2014
    • 18

    #2
    Resolved in manual

    After DB upgrade zabbix to version 3, disappeared the filter rules in LLD templates, e.g., {#FSTYPE} = @File systems for discovery; {#IFNAME} = @Network interfaces for discovery; and so on. Had to add a filter rule LLD manually in all templates. It's not a small job. The triggers had to be removed manually. A screen shot is attached.

    I think updating the database from version 2.2 to version 3 ill-prepared developers.
    Attached Files

    Comment

    • DmitryL
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2016
      • 278

      #3
      Hello zalex!

      Are you using filters in discovery rule?

      You can create regular expression in Administration -> General -> regular expression
      with
      Code:
      expression type: Result is false
      and
      Code:
      expression: ^(cdrom|usb|....)
      Add this expression to discovery rule filter to exclude listed mounts from discovery.
      Or you can create Regular expression with Result is true and list all mounts you whant to discover.
      Last edited by DmitryL; 01-06-2016, 11:05.

      Comment

      • zalex
        Junior Member
        • Jan 2014
        • 18

        #4
        Originally posted by zalex
        After DB upgrade zabbix to version 3, disappeared the filter rules in LLD templates, e.g., {#FSTYPE} = @File systems for discovery; {#IFNAME} = @Network interfaces for discovery; and so on. Had to add a filter rule LLD manually in all templates. It's not a small job. The triggers had to be removed manually. A screen shot is attached.

        I think updating the database from version 2.2 to version 3 ill-prepared developers.
        Originally posted by Dmitryb
        Hello zalex!

        Are you using filters in discovery rule?

        You can create regular expression in Administration -> General -> regular expression
        with
        Code:
        expression type: Result is false
        and
        Code:
        expression: ^(cdrom|usb|....)
        Add this expression to discovery rule filter to exclude listed mounts from discovery.
        Or you can create Regular expression with Result is true and list all mounts you whant to discover.
        Hello Dmitryb

        Regular expressions in Administration -> General -> regular, after the updates were in place. The problem was that the templates disappeared setting filters for LLD (low level discovery). See my post above.

        Comment

        • DmitryL
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2016
          • 278

          #5
          Yes, moderator approved your post after i posted my reply
          What DB are you using?

          Comment

          • zalex
            Junior Member
            • Jan 2014
            • 18

            #6
            Originally posted by Dmitryb
            What DB are you using?

            I am using Oracle 10g.

            Comment

            • DmitryL
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • May 2016
              • 278

              #7
              Goodmorning!

              There was same issues with Oracle DB in past. As i remember, problem was in Oracle, and it was not reproducible.

              Comment

              • zalex
                Junior Member
                • Jan 2014
                • 18

                #8
                Good morning!

                The Zabbix developers claim that Oracle's fully supported, but DB2 only in experimental mode.

                Comment

                • oitss
                  Member
                  • Dec 2013
                  • 62

                  #9
                  The same problem

                  The same problem

                  Comment

                  • zalex
                    Junior Member
                    • Jan 2014
                    • 18

                    #10
                    Originally posted by oitss
                    Hi oitss!

                    I had it manually set filter values.

                    Comment

                    Working...