123456789101112131415161718192021 |
- 2020/01/14 18:07:56.941 [I] [asm_amd64.s:1337] http server Running on http://:8080
- 2020/01/14 18:11:40.153 [D] [server.go:2774] 127.0.0.1 - - [14/Jan/2020 06:11:40] "POTS /graylog2/dingding HTTP/1.1 200 0" 0.000000 curl/7.65.3
- 2020/01/14 18:12:01.259 [D] [server.go:2774] 127.0.0.1 - - [14/Jan/2020 06:12:01] "POTS /graylog2/dingding HTTP/1.1 200 0" 0.000000 curl/7.65.3
- 2020/01/14 18:12:15.397 [I] [value.go:447] [1578996735397445800] {"check_result":{"result_description":"Dummy alert to test notifications","triggered_condition":{"id":"6ea4597b-49d2-4146-86b9-6566a22b15f7","type":"dummy","created_at":"2020-01-13T23:34:51.674Z","creator_user_id":"admin","title":"Test Alert","parameters":{}},"triggered_at":"2020-01-13T23:34:51.675Z","triggered":true,"matching_messages":[]},"stream":{"creator_user_id":"admin","outputs":[],"description":"豸־","created_at":"2020-01-09T08:12:44.094Z","rules":[{"field":"Down","stream_id":"5e16e07c1935de48a9553389","description":"forwarding","id":"5e183ccc1935de48a956ad3f","type":1,"inverted":true,"value":"Down"}],"alert_conditions":[],"title":"豸־","content_pack":null,"is_default_stream":false,"index_set_id":"5e16e02c1935de48a955332e","matching_type":"OR","remove_matches_from_default_stream":false,"disabled":false,"id":"5e16e07c1935de48a9553389"}}
- 2020/01/14 18:12:15.419 [I] [graylog2.go:103] [1578996735397445800] [dingding] {"msgtype":"markdown","markdown":{"title":"PrometheusAlert告警信息","text":"## [PrometheusAlertGraylog2告警信息](http://graylog.org)\n\n#### Dummy alert to test notifications\n\n![PrometheusAlert](https://raw.githubusercontent.com/feiyu563/PrometheusAlert/master/doc/alert-center.png)"},"at":{"atMobiles":["15395105573"],"isAtAll":true}}
- 2020/01/14 18:12:15.556 [I] [graylog2.go:103] [1578996735397445800] [dingding] {"errcode":300001,"errmsg":"token is not exist"}
- 2020/01/14 18:12:15.557 [I] [graylog2.go:105] [1578996735397445800] [weixin] 企业微信接口未配置未开启状态,请先配置open-weixin为1
- 2020/01/14 18:12:15.557 [I] [value.go:447] [1578996735397445800] 告警消息发送完成.
- 2020/01/14 18:12:15.557 [D] [server.go:2774] 127.0.0.1 - - [14/Jan/2020 06:12:15] "POST /graylog2/dingding HTTP/1.1 200 0" 0.160426 curl/7.65.3
- 2020/01/14 18:12:39.995 [I] [value.go:447] [1578996759995188200] {"check_result":{"result_description":"Stream received messages matching <message:\"DOWN\"> (Current grace time: 1 minutes)","triggered_condition":{"id":"a0d239d2-6934-46cd-896d-99ad469a63be","type":"field_content_value","created_at":"2020-01-10T08:35:55.389Z","creator_user_id":"admin","title":"豸־","parameters":{"backlog":1,"repeat_notifications":false,"field":"message","query":"*","grace":1,"value":"DOWN"}},"triggered_at":"2020-01-12T06:50:03.035Z","triggered":true,"matching_messages":[{"index":"2_3","message":"Jan 12 2020 06:49:44 E024-E025 %%01IFPDT/4/IF_STATE(l)[10680]:Interface GigabitEthernet1/0/15 has turned into DOWN state.","timestamp":"2020-01-12T06:49:44.942Z","fields":{"level":4,"full_message":"<188>Jan 12 2020 06:49:44 E010-E011 %%01IFPDT/4/IF_STATE(l)[10680]:Interface GigabitEthernet1/0/15 has turned into DOWN state.","gl2_remote_ip":"10.254.1.250","gl2_remote_port":38514,"gl2_source_node":"eb6b6cdc-9c09-42bd-b872-320f6f853caf","gl2_source_input":"5e15a0c21935de2be3933599","facility":"local7"},"id":"b838e101-3507-11ea-a01d-525400cf7ad1","source":"10.254.1.250","stream_ids":["5e16e07c1935de48a9553389","000000000000000000000001"]}]},"stream":{"creator_user_id":"admin","outputs":[],"description":"豸־","created_at":"2020-01-09T08:12:44.094Z","rules":[{"field":"Down","stream_id":"5e16e07c1935de48a9553389","description":"forwarding","id":"5e183ccc1935de48a956ad3f","type":1,"inverted":true,"value":"Down"}],"alert_conditions":[{"creator_user_id":"admin","created_at":"2020-01-10T08:35:55.389Z","id":"a0d239d2-6934-46cd-896d-99ad469a63be","type":"field_content_value","title":"豸־","parameters":{"backlog":1,"repeat_notifications":false,"field":"message","query":"*","grace":1,"value":"DOWN"}}],"title":"豸־","content_pack":null,"is_default_stream":false,"index_set_id":"5e16e02c1935de48a955332e","matching_type":"OR","remove_matches_from_default_stream":false,"disabled":false,"id":"5e16e07c1935de48a9553389"}}
- 2020/01/14 18:12:51.089 [I] [graylog2.go:115] [1578996759995188200] [dingding] {"msgtype":"markdown","markdown":{"title":"PrometheusAlert告警信息","text":"## [PrometheusAlertGraylog2告警信息](http://graylog.org)\n\n#### Stream received messages matching \u003cmessage:\"DOWN\"\u003e (Current grace time: 1 minutes)\n\n###### 告警索引:2_3\n\n###### 开始时间:2020-01-12T06:49:44.942Z \n\n###### 告警主机:10.254.1.250:0\n\n##### Jan 12 2020 06:49:44 E024-E025 %%01IFPDT/4/IF_STATE(l)[10680]:Interface GigabitEthernet1/0/15 has turned into DOWN state.\n\n![PrometheusAlert](https://raw.githubusercontent.com/feiyu563/PrometheusAlert/master/doc/alert-center.png)"},"at":{"atMobiles":["15395105573"],"isAtAll":true}}
- 2020/01/14 18:12:51.156 [I] [graylog2.go:115] [1578996759995188200] [dingding] {"errcode":300001,"errmsg":"token is not exist"}
- 2020/01/14 18:12:51.159 [I] [value.go:447] [1578996759995188200] 告警消息发送完成.
- 2020/01/14 18:12:51.160 [D] [server.go:2774] 127.0.0.1 - - [14/Jan/2020 06:12:39] "POST /graylog2/dingding HTTP/1.1 200 0" 11.165693 curl/7.65.3
- 2020/05/25 18:10:03.837 [I] [asm_amd64.s:1373] http server Running on http://:8080
|