Ad Widget

Collapse

Low Level discovery and cdrom

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HeadQuaker
    Member
    • Jul 2015
    • 58

    #1

    Low Level discovery and cdrom

    Hello,

    I have set a LLD for hard drive.
    It is working, a bit too much because i can see cdrom/dvdrom too;

    How can I avoid this ?
    Useing Filter ? What should i set?

    thank you

    SOLVED : the issue was just the delay of applying the template modification to all hosts... So dumb
    Last edited by HeadQuaker; 02-04-2020, 14:50.
  • HeadQuaker
    Member
    • Jul 2015
    • 58

    #2
    Hi,
    Already seen that but it does not working, probably i'm doing it bad.
    It is in windows environment

    Comment

    • HeadQuaker
      Member
      • Jul 2015
      • 58

      #3
      Any idea ?

      What i have set :

      {#FSDRIVETYPE} not match cdrom

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Show which key you use for LLD and which json it returns for some host with a cdrom.

        Comment

        • HeadQuaker
          Member
          • Jul 2015
          • 58

          #5
          My LLD is like that :
          Zabbix Agent, key : vfs.fs.discovery

          How can i see the json ?
          zabbix get agent ?

          Thx for ur help

          Comment


          • Hamardaban
            Hamardaban commented
            Editing a comment
            At zabbix server- zabbix_get -s IP_OF_HOST -k "vfs.fs.discovery"
        • HeadQuaker
          Member
          • Jul 2015
          • 58

          #6
          it seems good :

          [{"{#FSNAME}":"C:","{#FSTYPE}":"NTFS","{#FSDRIVE TYP E}":"fixed"},{"{#FSNAME}":"D:","{#FSTYPE}":"UDF" ," {#FSDRIVETYPE}":"cdrom"}]

          but not working... hum

          Comment

          • Hamardaban
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • May 2019
            • 2713

            #7
            That's all right. Show how the filter is configured (picture)?

            Comment

            • HeadQuaker
              Member
              • Jul 2015
              • 58

              #8
              It seems working now... Maybe it was the delay of applying the modification on template to hosts.
              Thanks for your help, I've learn how to see json from servers

              Comment


              • Hamardaban
                Hamardaban commented
                Editing a comment
                That's good! For information, there is a timeout for the zabbix server to apply the saved configuration.
            • HeadQuaker
              Member
              • Jul 2015
              • 58

              #9
              Yes but it takes a really long time the check is every 1H, that's why i found it strange.

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #10
                Filtering is described in

                Even examples are for filesystem discovery.

                Comment

                Working...