Skip to content

receiving the alerts before the refresh interval #53

Description

@balajik1992

Hi I am using sensu-plugins-mailer for the mail notification. I have set below configuration for my check
"interval": 60,
"refresh": 43200,
"timeout": 30,
"handlers": ["ose-email"],
my handler configuration is like below
"handlers": {
"ose-email": {
"type": "pipe",
"filters": ["state_change_only"],
filter configurations is like below
"filters": {
"state_change_only": {
"negate": false,
"attributes": {
"occurrences": "eval: value == 1 || ':::action:::' == 'resolve'"
}
}
}

I am receiving alert as ["warning: event filtering in sensu-plugin is deprecated, see http://bit.ly/sensu-plugin\nwarning: occurrence filtering in sensu-plugin is deprecated, see http://bit.ly/sensu-plugin\nmail -- sent alert for $hostname/$check-name to $mail-id

I have set half day refresh time (12 hours) but I am receiving the alert before that time
what to do for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions