profile
viewpoint
Tiago Cruz tiago-cruz-movile Movile Sao Paulo

tiago-cruz-movile/chef-zookeeper 0

Chef cookbook for installing and managing Zookeeper.

tiago-cruz-movile/dnsdist-chef-zabbix 0

Chef recipe and zabbix lld to use with dnsdist

tiago-cruz-movile/ecsdemo-crystal 0

Part 4 of a 4 part ECS Workshop

tiago-cruz-movile/ecsdemo-frontend 0

Part 2 of a 4 part ECS Workshop

tiago-cruz-movile/ecsdemo-nodejs 0

Part 3 of a 4 part ECS workshop

tiago-cruz-movile/ecsdemo-platform 0

Phase 1 of a 4 part ECS workshop

tiago-cruz-movile/NIPAP 0

Neat IP Address Planner - NIPAP is the best open source IPAM in the known universe, challenging classical IP address management (IPAM) systems in many areas.

tiago-cruz-movile/rpm-haproxy 0

Haproxy 1.6.4 rpmspec for CentOS 7

tiago-cruz-movile/zabbix-backup 0

Zabbix configuration backup script

tiago-cruz-movile/zabbix-cloudwatch 0

An external script for getting cloudwatch metrics into Zabbix

issue openedNLPchina/elasticsearch-sql

how to support nested fields using group by range

for Example like that:

"select count(nested(caseDetails.riskcoreL)) from workflow-execution-runtime12 WHERE (workflowDefId = 'kyp-model') GROUP BY range(nested(caseDetails.riskcoreL), 0,20,50,80)

created time in 3 hours

issue closedalerta/zabbix-alerta

Error to send events and resource to zabbix

Hi there!

I am facing the error below, could you please help me ?

2019-10-03 16:28:58.794 root[3933] MainThread INFO - [alerta] endpoint=http://192.168.224.141:8080/api key=cEvQK7FoZoNS-3EHPoyTkHFvTqMZA5uo0pD7KvPE 2019-10-03 16:28:58.795 root[3933] MainThread ERROR - send_alert() missing 2 required positional arguments: 'resource' and 'event' Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/zabbix_alerta-3.5.0-py3.5.egg/zabbix_alerta.py", line 222, in main api.send_alert(**alert) TypeError: send_alert() missing 2 required positional arguments: 'resource' and 'event'

Thanks.

closed time in 4 days

ghost

issue commentalerta/zabbix-alerta

Error to send events and resource to zabbix

You need to make sure the default message of the "Forward to Alerta" action has the following:

resource={HOST.NAME1}
event={ITEM.KEY1}
environment=Production
severity={TRIGGER.SEVERITY}
status={TRIGGER.STATUS}
ack={EVENT.ACK.STATUS}
service={TRIGGER.HOSTGROUP.NAME}
group=Zabbix
value={ITEM.VALUE1}
text={TRIGGER.STATUS}: {TRIGGER.NAME}
tags={EVENT.TAGS}
attributes.ip={HOST.IP1}
attributes.thresholdInfo={TRIGGER.TEMPLATE.NAME}: {TRIGGER.EXPRESSION}
type=zabbixAlert
dateTime={EVENT.DATE}T{EVENT.TIME}Z
ghost

comment created time in 4 days

issue commentalerta/zabbix-alerta

Zabbix 5.0 Support is not working %100, probably because of the breaking changes in Zabbix 5.0

For now, it looks like it's working @satterly! Thank you for your effort. I'll monitor the situation today if something comes up I'll let you know.

Stay sane, stay safe :)

burakksglu

comment created time in 4 days

issue commentalerta/zabbix-alerta

Zabbix 5.0 Support is not working %100, probably because of the breaking changes in Zabbix 5.0

I actually think that was probably the root cause of the problem but I couldn't know how your server was setup. Click helpfully provided some pointers. Let's hope it works.

Thank you! It's actually very similar to your Dockerfile. We use also containers it was working with 4.0 but we only changed the version to 5.0 which led us to incompatibility. Also we install this with pip3 install, do you think that might be an issue? Should I change it to your line in the dockerfile:

pip install --no-dir-cache

Thanks, Burak.

burakksglu

comment created time in 4 days

issue commentalerta/zabbix-alerta

Zabbix 5.0 Support is not working %100, probably because of the breaking changes in Zabbix 5.0

I actually think that was probably the root cause of the problem but I couldn't know how your server was setup. Click helpfully provided some pointers. Let's hope it works.

burakksglu

comment created time in 4 days

issue commentalerta/zabbix-alerta

Zabbix 5.0 Support is not working %100, probably because of the breaking changes in Zabbix 5.0

Hey @satterly ! Thank you for the fixes. I guess parsing is working right now but I'm getting this error now on the zabbix.

image

burakksglu

comment created time in 4 days

issue closedalerta/zabbix-alerta

Alerta V7 + Zabbix getting read time out when trying to close ticket

Some of my tickets are not getting closed on alerta. Looking at the zabbix_alerta.log I can see a read timeout error message. I don't see any issues on the alerta server that may cause this timeout. Plus I have an alerta v5 running in parallel and the same alert gets closed there. this is happening very randomly. Is it possible to increase this timeout?

2020-02-21 01:04:27.884 root[5918] MainThread ERROR - HTTPConnectionPool(host='10.3.30.6', port=80): Read timed out. (read timeout=5.0) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/zabbix_alerta.py", line 222, in main api.send_alert(**alert) File "/usr/lib/python2.7/site-packages/alertaclient/api.py", line 68, in send_alert r = self.http.post('/alert', data) File "/usr/lib/python2.7/site-packages/alertaclient/api.py", line 330, in post response = self.session.post(url, data=json.dumps(data, cls=CustomJsonEncoder), headers=headers, auth=self.auth, timeout=self.timeout) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 555, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 521, in send raise ReadTimeout(e, request=request) ReadTimeout: HTTPConnectionPool(host='10.3.30.6', port=80): Read timed out. (read timeout=5.0)

closed time in 5 days

gabricar

issue commentalerta/zabbix-alerta

Alerta V7 + Zabbix getting read time out when trying to close ticket

You can now add timeout as an option in the configuration file.

gabricar

comment created time in 5 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 13afdc8614185d63628d54ea06d4c3dac897d11e

Use click CLI kit instead of argparse

view details

Nick Satterly

commit sha 40206bc50e7b39fe2ddd807156bfccd1b4142557

Fix conflicts

view details

Nick Satterly

commit sha 116af8b125e5050d13954eb44c1790770f3b4489

Fix linting errors

view details

Nick Satterly

commit sha e9ba056bb90bb8b8548e10b5126083d6bb43ef64

Merge pull request #42 from alerta/use-click-parser Use click CLI kit instead of argparse

view details

push time in 5 days

PR merged alerta/zabbix-alerta

Use click CLI kit instead of argparse

Fixes #39

+339 -181

0 comment

10 changed files

satterly

pr closed time in 5 days

issue closedalerta/zabbix-alerta

Zabbix 5.0 Support is not working %100, probably because of the breaking changes in Zabbix 5.0

Issue Summary Some actions are failing to send because Alerta can't decode sent information.

Environment

  • OS: Linux

  • Deployment: Docker 7.5.4

  • Database: Postgres

  • Server config: Auth enabled? Yes Auth provider? Basic Customer views? No

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Zabbix 5.0'
  2. Create a host with temperature discovery with °C or use of none English characters.
  3. Configure the standard action template and start an alert. You can see that "value -> 61 \udcc2\udcb0C" displayed on error message in Zabbix 5.0
  4. See error (include command output)

Expected behavior To be able to decode or accept with errors.

Screenshots image

image

closed time in 5 days

burakksglu

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 40206bc50e7b39fe2ddd807156bfccd1b4142557

Fix conflicts

view details

Nick Satterly

commit sha 116af8b125e5050d13954eb44c1790770f3b4489

Fix linting errors

view details

push time in 5 days

PR opened alerta/zabbix-alerta

Use click CLI kit instead of argparse
+336 -176

0 comment

10 changed files

pr created time in 5 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 13afdc8614185d63628d54ea06d4c3dac897d11e

Use click CLI kit instead of argparse

view details

push time in 5 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 03fbb6fe43a278c4b3c41a2e8a833674c7e12e9b

Use click CLI kit instead of argparse

view details

push time in 5 days

create barnchalerta/zabbix-alerta

branch : use-click-parser

created branch time in 5 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 180e1fcd6c14eed58d5630d2dbcfcb9b2c01ff23

Update README

view details

push time in 7 days

issue openedNLPchina/elasticsearch-sql

页面查询报错

7.9.3版本 image

created time in 9 days

issue closedNLPchina/elasticsearch-sql

安装elasticsearch-sql插件报错,Java版本不一致

[root@T-H1CA1-ES-03 elasticsearch]# ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/7.8.1.0/elasticsearch-sql-7.8.1.0.zip future versions of Elasticsearch will require Java 11; your Java version from [/opt/module/jdk1.8.0_73/jre] does not meet this requirement ES_PATH_CONF must be set to the configuration path

因为我的环境中跑有其他程序,我不能改动环境中配置已好的Java-version,请问是否还有其他的解决方式

closed time in 9 days

withlw

issue commentNLPchina/elasticsearch-sql

安装elasticsearch-sql插件报错,Java版本不一致

我已经解决这个问题 要在环境变量中设置ES_PATH_CONF

withlw

comment created time in 9 days

issue openedNLPchina/elasticsearch-sql

安装elasticsearch-sql插件报错,Java版本不一致

[root@T-H1CA1-ES-03 elasticsearch]# ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/7.8.1.0/elasticsearch-sql-7.8.1.0.zip future versions of Elasticsearch will require Java 11; your Java version from [/opt/module/jdk1.8.0_73/jre] does not meet this requirement ES_PATH_CONF must be set to the configuration path

因为我的环境中跑有其他程序,我不能改动环境中配置已好的Java-version,请问是否还有其他的解决方式

created time in 10 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha eed56d4959a1dc4bda3e5c197f841ab6339e9f3d

degrees

view details

push time in 10 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha eb12e294c8dafd81cdf7fc08876541f5c7f78743

Add a test for sending alerts

view details

push time in 10 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 30fc377f1bd59d7dae47a994fbd5dfea7e8341ff

Add a test for sending alerts

view details

push time in 10 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 1e333572866be52233909b2a7114f24c8112fafa

fix

view details

push time in 10 days

PR opened alerta/zabbix-alerta

Add a test for sending alerts
+82 -43

0 comment

4 changed files

pr created time in 10 days

create barnchalerta/zabbix-alerta

branch : add-args-test

created branch time in 10 days

push eventalerta/zabbix-alerta

Nick Satterly

commit sha 693553d875f0b553481efac203f8f2f82a1f3f0f

Add unit tests and test pipeline

view details

Nick Satterly

commit sha e8c4fb61e7741a2669c579c863bfc48f72f9aed2

fix

view details

Nick Satterly

commit sha d3a53acfb759d709c659ad0a3b8dd69d3c63e8a7

Merge pull request #40 from alerta/add-unit-tests Add unit tests and test pipeline

view details

push time in 10 days

more