Ad Widget

Collapse

How do I add discovery rule for NFS disks to a template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dthacker
    Member
    • Feb 2014
    • 42

    #1

    How do I add discovery rule for NFS disks to a template

    Zabbix 2.4
    What I'm trying to do:
    I am using the Template OS Linux to monitor most of my servers. Filesystem discovery is not seeing mounted NFS filesystems for most VM's, which is fine.
    However, I have a group of 3 servers where NFS mounts need to be discovered. I've performed these steps so far
    • Made a full clone of Template Linux OS
      Created a new Regular Expression containing only NFS as a string to match
      Linked a single VM to the new template
      Attempted to add the new RegEx to the mounted filesystem discovery rules for the template.


    I'm following the path Configuration--Templates--->MyTemplateName--Discovery Rules-->Mounted Filesystem Discovery---->Filters to add the additional filter rule. I see a greyed out {#MACRO} and a greyed out "Regular Expression in the entry boxes. I am logged in as admin. Any tips on how to add this filter rule?

    TIA,
    Dave
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    After entering the Macro and Regular expression, are you saved by pressing the Update button?

    Comment

    • dthacker
      Member
      • Feb 2014
      • 42

      #3
      Atsushi, thanks for your question.
      The problem occurs when I click on "Add" in the "Filters" box. A new line "B" appears below the original line "A", but the Macro and Regular Expression are greyed out in line "B", and I'm not able to edit them. If I press update, no changes are made.

      Dave

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        That grayed are input sample.
        you can input that column.

        Comment

        • dthacker
          Member
          • Feb 2014
          • 42

          #5
          Here is a screenshot showing the issue.

          If I can't add filter data into the new fields, how do I add filter conditions?

          TIA
          Dave

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            Plase input Label B line, macro and regexp.

            Comment

            • dthacker
              Member
              • Feb 2014
              • 42

              #7
              Operator error on my part. Thank you Atsushi.

              Dave

              Comment

              Working...