-
Notifications
You must be signed in to change notification settings - Fork 24
Hipchat notification #202
Copy link
Copy link
Closed
Description
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.
Reactions are currently unavailable