Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get SMTP to fire emails #238

Open
DanielHouston opened this issue Nov 26, 2017 · 0 comments
Open

Unable to get SMTP to fire emails #238

DanielHouston opened this issue Nov 26, 2017 · 0 comments
Assignees

Comments

@DanielHouston
Copy link

DanielHouston commented Nov 26, 2017

I have been unable to get the SMTP notifier to file emails as a result of a pod_exists check failing.

I have an nginx pod running on GCP. All relevant SMTP secrets have been set as per: https://github.com/appscode/searchlight/blob/master/docs/tutorials/notifiers.md#smtp and I have checked their existence with kubectl.

The CRD yaml is as follows:

apiVersion: monitoring.appscode.com/v1alpha1
kind: ClusterAlert
metadata:
  name: pod-exists-demo-0
  namespace: default
spec:
  check: pod_exists
  vars:
    selector: app=nginx
    count: 2
  checkInterval: 10m
  alertInterval: 5s
  notifierSecretName: notifier-config
  receivers:
  - notifier: SMTP
    state: CRITICAL
    to: ["MY EMAIL ADDRESS HERE"]

which shows up fine in Icinga. After deleting the pods, I can see the check in Icinga turn critical, but I'm not getting an email. I've tried with 2 different emails (my personal exchange server and gmail.)

No logs in the searchlight-operator pod indicate any problems.
Nothing other than SuccessfulSync message when describing the cluster alert via kubectl

@tamalsaha tamalsaha self-assigned this Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants