Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Maddash notification documentation

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Maddash notification documentation


Chronological Thread 
  • From: Andrew Lake <>
  • To: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>, perfsonar-user <>
  • Subject: Re: [perfsonar-user] Maddash notification documentation
  • Date: Wed, 3 May 2017 08:01:31 -0700
  • Ironport-phdr: 9a23:yUz+3hzaJC1MDvvXCy+O+j09IxM/srCxBDY+r6Qd2+wVIJqq85mqBkHD//Il1AaPBtSFra8VwLqP+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFJiTanYb5/KBq6oAbMusILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0higZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUUSmpbWsZaSjJPDIWyYYASC+YNJOZVo4z7qlATrxWxGBOsCfvvxDBKiH/42qI13eoiHw/bwgIvA8kDv27IoNjvLqofS/y5wavOwD7eb/1WwzD96I3Qfx09p/GDQKhwftTfyEIyEQ3KlFaQppL4ND6SzOsNtXWU7up7WO2xkG4rsQdxrSazxso1jITCm4wbylfB9SpjwYY1I8W1R1BgYdK+FptfqT2aOo1rSc0hW2FloDs2xqMFtJKhciUG0psqywPFZ/GGcIWE+hDuWemLLTtlmn5oeKizihW8/ES6yODwSs+520tQoCVfiNnDrHUN2gTT6seZTvt9+V+s2TiR2A3d8O1EJVs7la7BJ54uxb4wiIIfsUXFHiDohEX7lLKaelsn9+Sy5enreLrrqoKGO4J1iQzyKqEulda+AeQ8PAgORW+b+eGk2bL5+032XbVLg+YonanCqpzaI9oUprKhDw9Pzokj8wq/Dyuh0NkAhXkIMkhFeBycj4juPVHBOur4Ae6ig1S3jjhr3evLPrngApXWMnjDi6ntcax8605a1Ao808pf55RKBbEdPv7/QFH+u8HFDkxxDwvhidvnDJE1+Y4ZQ22CSoPfeOP9inGjo751eK/UJbwulwq1Ct4O0rSm2XA0nkUScO+lm4YXbFi+F+9vZUqefyyoys8MC2kRuQw3Vqn3k1CYGWpLamy8RKU67yt+FZmrF6/CQJygmrqMwH39E5FLMDNoEFeJRF7ue5+JRL8oYSGfaptolDAVfbW6DYksyUf950fB17N7I7+MqWUjvpX52Y0wvrWOmA==

Hi George,

The “name” section of the notifications controls the subject. Also under the “parameters” sections there is a subject prefix you can use to add a different tag. Here is an example of a notification we have on ESnet that subject “[MaDDash] ESnet Performance Problems”.


- name: "ESnet Performance Problems"
     type: "email"
     schedule: "0 * * * ?"
     problemReportFrequency: 86400
     minimumSeverity: 1
     filters:
        - type: "category"
          value: "PERFORMANCE"
     parameters:
       dashboardUrl: "http://ps-dashboard.es.net"
       subjectPrefix: "[MaDDash]"
       from: "..."
       to:
           - "..."

Hope that helps,
Andy


On May 2, 2017 at 4:00:37 PM, Uhl, George D. (GSFC-423.0)[SGT INC] () wrote:

Thanks Andrew, that was very helpful.

Just to make sure I understand what you wrote:

Multiple filters of the same type are treated as OR conditions.
Multiple filters of different types are teated as AND conditions.

I can specify the email subject line in the Notification name field.  Is there a way to change the embedded title of the email from “MaDDash: Test Email Report” to something else?  I put in a title field in the notification section of my yaml hoping that would override it but that didn’t work.

-George

From: Andrew Lake <>
Date: Tuesday, May 2, 2017 at 9:32 AM
To: George Uhl <>, perfsonar-user <>
Subject: Re: [perfsonar-user] Maddash notification documentation

Hi George,

Not yet, I am working on it. Was hoping to have that out by now but have been distracted by other things. There are currently four types of filters you can add in the notification block:

1. category - This can be PERFORMANCE or CONFIGURATION. PERFORMANCE matches on patterns that contain “red" or “yellow” (i.e. checks that find data but fall below your set thresholds). CONFIGURATION matches against “orange (i.e. when the dashboard can't find data for a given test)

2. “dashboard” - These correspond the names in the “dashboards” section of your maddash.yaml file. They essentially on alert on problems found in the grids that belong to a dashboard.

3. “grid” - These correspond to the names of individual grids found in the “grids” section of the maddash.yaml file

4. “site”- This is the name of a row or column. Usually the hostname or IP of the host being checked.

You can use multiple filters. Multiple filters of the same type are treated as an OR condition. For example if you define two “site” filters, one for "host1” and another for “host2”, you will get any alert that includes host1 or host2. Multiple filers of the same type are treated as an AND condition. If we were to add a “category” filter with a value of “PERFORMANCE” to the previous example it would send alerts that are of type performance and include either host 1 or host 2. Hope some of that is helpful. 

Thanks,
Andy


On May 1, 2017 at 10:55:11 AM, Uhl, George D. (GSFC-423.0)[SGT INC] () wrote:

Hi,

Is there a comprehensive guide to the maddash notification system.  I’m interested in the available filtering options for email notifications.

Thanks,
George



Archive powered by MHonArc 2.6.19.

Top of Page