Skip to content

Hipchat notification #202

@valentin2105

Description

@valentin2105

Hi !

First, thanks for Searchlight, it the kind of tool that I missed in my cluster.

I try to enable Hipchat notifications but I can't make it work,

here is my ClusterAlert.yaml :

apiVersion: monitoring.appscode.com/v1alpha1
kind: ClusterAlert
metadata:
  name: component-status
  namespace: default
spec:
  check: component_status
  checkInterval: 30s
  alertInterval: 2m
  notifierSecretName: notifier-config
  receivers:
  - notifier: hipchat
    state: CRITICAL
    to: ["#DevOps"]

(#DevOps) is my room name.
I have created the secret notifier-config with this command :

kubectl create secret generic notifier-config -n kube-system \
    --from-file=./HIPCHAT_AUTH_TOKEN

The file HIPCHAT_AUTH_TOKEN contain the token (write with echo -n).
It's a room token, not a Global token. (I tried both).

When I stop kube-controller-manager for example, Icinga detect it quickly, got a CRITICAL alert, but not any Hipchat message anywhere. (and no logs at all.)

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions