Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-6055

notifications for node disk space

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:
      None

      Attachments

        Issue Links

          Activity

          Hide
          jhoblitt Joshua Hoblitt added a comment -

          In order to generate reasonable notifications from kibana queries, we would need to be able to filter out special filesystems (tmpfs, cgroup, etc.), bind mounts, and remote filesystems such as NFS.

          The default filesystem beat has the device name but not the statfs.f_fsid or filesystem name from /proc/mounts. It looks like this information could be added to the default metric by modifying this function. I'm not sure if this would be mergable upstream without some research into the sigar API.

          https://github.com/elastic/beats/blob/74f1f409b7dd7077217f80e770daa651e8e916f8/vendor/github.com/elastic/gosigar/sigar_unix.go#L11

          Show
          jhoblitt Joshua Hoblitt added a comment - In order to generate reasonable notifications from kibana queries, we would need to be able to filter out special filesystems (tmpfs, cgroup, etc.), bind mounts, and remote filesystems such as NFS. The default filesystem beat has the device name but not the statfs.f_fsid or filesystem name from /proc/mounts . It looks like this information could be added to the default metric by modifying this function. I'm not sure if this would be mergable upstream without some research into the sigar API. https://github.com/elastic/beats/blob/74f1f409b7dd7077217f80e770daa651e8e916f8/vendor/github.com/elastic/gosigar/sigar_unix.go#L11
          Hide
          jhoblitt Joshua Hoblitt added a comment -

          It looks like there is some basic plumbing to use elastic queries as the basis for sensu monitors.

          https://github.com/sensu-plugins/sensu-plugins-elasticsearch/blob/master/lib/sensu-plugins-elasticsearch/elasticsearch-query.rb

          Show
          jhoblitt Joshua Hoblitt added a comment - It looks like there is some basic plumbing to use elastic queries as the basis for sensu monitors. https://github.com/sensu-plugins/sensu-plugins-elasticsearch/blob/master/lib/sensu-plugins-elasticsearch/elasticsearch-query.rb

            People

            • Assignee:
              jhoblitt Joshua Hoblitt
              Reporter:
              jhoblitt Joshua Hoblitt
              Watchers:
              Frossie Economou, J Matt Peterson [X] (Inactive), Joshua Hoblitt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel