I would like to setup filesystem ( / , /var , nfs mount ) alerts for PODS using grafana prometheus and alert manager in Azure Kubernetes cluster

  • What Grafana version and what operating system are you using?
    OpenSource Grafana , Grafana v10.1.1 ,
    VERSION_ID=3.18.2
    “Alpine Linux v3.18” , kube-prometheus-stack installed on our cluster.
  • What are you trying to achieve?
    I would like to setup filesystem ( / , /var , nfs mount ) alerts using grafana prometheus and alert manager in Azure Kubernetes cluster.But I could see only CPU and Memory datails in grafana dash board.How to view filesystems details in grafana dash board
  • How are you trying to achieve it?
    Using kube-Prometheus-stack
  • What happened?
    Could not see the filesystem detals (/ , /var/ , nfs fileststem) of the PODS
  • What did you expect to happen?
    To see the filesystem detals (/ , /var/ , nfs fileststem) of the PODS, so that I can setup alerts
  • Can you copy/paste the configuration(s) that you are having problems with?
    Below lines added to values file for alerting
    100*(1-(node_filesystem_free_bytes{mountpoint=“/var”} / node_filesystem_size_bytes{mountpoint=“/var”}))
    Below is the jobname in the values file
    - job_name: test-FS
    metrics_path: /plugins/servlet/prometheus/metrics
    honor_timestamps: true
    scrape_interval: 6m
    scrape_timeout: 5m
    scheme: https
    static_configs:
    - targets:
    - server-us.example.com
    tls_config:
    insecure_skip_verify: true
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No, data is not being shown
  • Did you follow any online instructions? If so, what is the URL?
    No