Hi All, I get the following error when I try send the alert to Alerta. Can you please help me resolve these errors.
[morgothb_d:alert3] 2016/11/15 01:28:42 E! failed to send alert data to Alerta: failed to understand Alerta response. code: 405 content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>405 Method Not Allowed</title> <h1>Method Not Allowed</h1> <p>The method is not allowed for the requested URL.</p> Config File ============= [alerta] enabled = true url = "http://xx.xxx.xxx.xxx:8080/webhooks/anomaly" token = "" environment = "" origin = "Kapacitor" Tick script =========== var consensus = -1.0 // Number of sigmas allowed for normal window deviation var sigmas = 7.0 batch |query(''' SELECT * FROM "statistics"."autogen"."eventflow_IIS" ''') .period(5m) .every(5m) .groupBy(field,field1) // |.where(lambda: TRUE) @morgoth() .field(field) .scoreField(scoreField) .minSupport(minSupport) .errorTolerance(errorTolerance) .consensus(consensus) // Configure a single Sigma fingerprinter .sigma(sigmas) // Morgoth returns any anomalous windows |alert() .details('Count is anomalous') .id('kapacitor/{{ .TaskName }}/{{ .Name }}/{{ .Group }}') .message('{{ .ID }} is at level {{ .Level }} Errorcount is:{{ index .Fields "eventcount" }}') .crit(lambda: TRUE) .alerta() .resource('xx.121.xx.xx') .event('Anomaly has happened') .log('/tmp/anomaly_c.log') |influxDBOut() .database('anomaly') .retentionPolicy('autogen') .flushInterval(1s) .measurement('Anomaly_d') -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/42ac25f6-839c-45ed-9876-5157bf0295f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
