profile
viewpoint

vinayvenu/bahmni-openmrs 2

Repository that encapsulates all the client apps to be packaged as OpenMRS omods.

avniproject/avni-models 0

OpenCHS data model to be used by front end clients

avniproject/jnpct 0

OpenCHS implementation repository for Jashoda Narottam Public Charitable Trust

smartyrad/openmrs-module-tag 0

Provides a generic tagging mechanism for all domain objects

su-docker/config-migrate 0

Tool to make structural changes to your json config files

vinayvenu/15InARow 0

A Javascript version of the popular game 15 in a row

PR opened netdata/netdata

Allow the REMOVED status to be sent via ACLK if a previous status was WARN/CRIT
Summary

On agent startup if an alarm is found in REMOVED state without an updated entry and the old status is WARN/CRIT then submit the update so the cloud can clear the alarm (if still on the list)

Component Name

aclk

Test Plan
  • Setup a cloud enabled and claimed agent so that it will trigger the following alarm
  • Enable something like /sys/class/power_supply = yes in the netdata conf
  • Change
    template: linux_power_supply_capacity
       on: powersupply.capacity
     calc: $capacity
    units: %
    every: 10s
     warn: $this < 100
     crit: $this < 5
    delay: up 30s down 5m multiplier 1.2 max 1h
     info: the percentage remaining capacity of the power supply
       to: sysadmin
    

so that it will cause a warning

  • Check that you see the warning in the cloud and local dashboard
  • Stop the agent and disable /sys/class/power_supply = no
  • Start the agent
    • Check alarms on local dashboard and cloud
      • If the alarm does not appear on the dashboard and does not appear on the cloud, then the agent disconnect message was properly processed by the cloud.
  • If the alarm does not appear in the dashboard but appears in the cloud and it is empty then:
    • Apply the PR
    • Restart the agent
    • The alarm should disappear from the cloud
Additional Information
+8 -7

0 comment

1 changed file

pr created time in 17 minutes

push eventavniproject/avni-webapp

Joy

commit sha 23f960e029a2b9795e50b66eb63c727043b291ab

#0 | [DEA] Add translations for groups

view details

push time in 22 minutes

pull request commentopenmrs/openmrs-contrib-android-client

AC-657 added About section

https://www.figma.com/file/LzEJgldSbhdIuBiFQkePf0/OpenMRS-android-designs?node-id=0%3A1 here it is, try and make your design consistent with the figma link.

Yes , i am doing

MasterBlaster99

comment created time in 26 minutes

pull request commentopenmrs/openmrs-contrib-android-client

AC-657 added About section

https://www.figma.com/file/LzEJgldSbhdIuBiFQkePf0/OpenMRS-android-designs?node-id=0%3A1 here it is, try and make your design consistent with the figma link.

Yes , i am trying

MasterBlaster99

comment created time in 27 minutes

pull request commentopenmrs/openmrs-contrib-android-client

AC-657 added About section

https://www.figma.com/file/LzEJgldSbhdIuBiFQkePf0/OpenMRS-android-designs?node-id=0%3A1 here it is, try and make your design consistent with the figma link.

Yes , i am doing

MasterBlaster99

comment created time in 40 minutes

push eventopenmrs/openmrs-module-fhir2

Ian

commit sha 41f6c12c039fd858e1e5765e476b82f48c0a75d7

Rename test class

view details

Ian

commit sha 16423202cf860d2da20fa4043beecd6991822df0

FM2-329 Resolve error being thrown when order type unknown Also makes the code more likely to be able to generate an appropriate link

view details

push time in an hour

push eventnetdata/netdata

Odysseas Lamtzidis

commit sha 74e21e79b15844f7a2ed7150a518628369d17550

Update collectors/python.d.plugin/postgres/README.md Co-authored-by: Joel Hans <joel@netdata.cloud>

view details

push time in an hour

PR opened openmrs/openmrs-module-dhisconnector

DCM-32: Support SixMonthly April period type in automation

The issue I worked on

See https://issues.openmrs.org/browse/DCM-32

Description of what I changed:

Added SixMonthly April period type support for automation by updating the following method: src/main/java/org/openmrs/module/dhisconnector/api/impl/DHISConnectorServiceImpl.java:transformToDHISPeriod Added SixMonthly April to supported period types array.

+58 -10

0 comment

2 changed files

pr created time in 2 hours

pull request commentnetdata/netdata

Added support for claiming nodes as part of installation.

Correction, it was simpler than I thought it would be, so I just added the required logic to the claiming script.

Now, if there is no machine ID recorded, the claiming script will attempt to just generate one itself in the proper location.

Ferroin

comment created time in 3 hours

pull request commentopenmrs/openmrs-ocl-client

OCLOMRS-921:Switched the position of the Submit and Cancel button in …

Coverage Status

Coverage remained the same at 46.756% when pulling aab7cf710930b9a7af9e9e0045e526034a9b8652 on nk183:OCLOMRS-921 into 34e1f131d81550db3bcd8f7a559d03f2c3bbfddc on openmrs:master.

nk183

comment created time in 3 hours

pull request commentnetdata/netdata

Added support for claiming nodes as part of installation.

/var/lib/netdata/registry/netdata.public.unique.id generation?

This file just needs a regular UUID in it, correct? If so, is there any reason we can’t just generate it as part of the regular install process when it does not already exist (that is, just run uuidgen to generate an ID to put in the file before we even start the agent)?

Agent just generates random UUID and checks it against blacklist of 2 banned guids: 8a795b0c-2311-11e6-8563-000c295076a6 4aed1458-1c3e-11e6-a53f-000c290fc8f5

registry_internals.c line 284 registry_get_this_machine_guid for reference

Important is there can be no ENDLINE at the end of file so you must use sth. like echo -n $(uuidgen) > file.

OK. I’m actually going to look at doing a separate PR to add ID generation to the install process then (this has benefits to users for other reasons and will be a bit more involved than I think this PR should be), and will rebase this PR on top of that once it’s merged.

Ferroin

comment created time in 3 hours

pull request commentnetdata/netdata

Spelling build

I'm leaving this to you folks, but https://github.com/netdata/netdata/pull/10428/checks?check_run_id=1735278628 would be frustrating if I was responsible for pushing it along :-/

jsoref

comment created time in 3 hours

Pull request review commentnetdata/netdata

Added support for claiming nodes as part of installation.

 #  --local-files              Use a manually provided tarball for the installation #  --allow-duplicate-install  do not bail if we detect a duplicate install #  --reinstall                if an existing install would be updated, reinstall instead+#  --claim-token              specify a token to use for claiming the newly installed instance

Long-term though I think the goal is to not have users touch the claiming script except in specific exceptional cases. If we were to add a command for netdatacli to allow claiming of a running agent and merge this PR, we could pivot to not even mentioning the claiming script, and just point users at the installer options, the Docker environment variables, and the netdatacli command for claiming.

Ferroin

comment created time in 3 hours

Pull request review commentnetdata/netdata

Update README.md on postgres collector

 Collects database health and performance metrics.  ## Requirements --   `python-psycopg2` package. You have to install it manually.+-   `python-psycopg2` package. You have to install it manually and make sure that it is available to the `netdata` user, either using pip, the package manager of your Linux distribution or any other method you prefer.
-   `python-psycopg2` package. You have to install it manually and make sure that it is available to the `netdata` user, either using `pip`, the package manager of your Linux distribution, or any other method you prefer.
OdysLam

comment created time in 3 hours

pull request commentopenmrs/openmrs-ocl-client

OCLOMRS-920: Make sources and collections links.

Coverage Status

Coverage decreased (-0.08%) to 46.674% when pulling 3f17f638842e00e6c6f2ee63690d757ca930fca9 on hadijahkyampeire:OCLOMRS-920 into 34e1f131d81550db3bcd8f7a559d03f2c3bbfddc on openmrs:master.

hadijahkyampeire

comment created time in 3 hours

issue commentnetdata/netdata

Netdata not updating

@Ferroin I'm really appreciate on all your help. I checked my /etc/netdata/.environment

This is content:

# Created by installer
PATH="/usr/local/cpanel/3rdparty/lib/path-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin:/root/bin:/sbin:/opt/cpanel/composer/bin"
CFLAGS="-O2"
LDFLAGS=""
NETDATA_PREFIX=""
NETDATA_CONFIGURE_OPTIONS=""
NETDATA_ADDED_TO_GROUPS=" adm nobody"
INSTALL_UID="0"
NETDATA_GROUP="netdata"
REINSTALL_OPTIONS="--auto-update --stable-channel "
RELEASE_CHANNEL="stable"
IS_NETDATA_STATIC_BINARY="no"
NETDATA_LIB_DIR="/var/lib/netdata"

I just set: NETDATA_TMPDIR="/opt"

I hope that will be enough. We will see tomorrow when cron run. Thank you.

It should be enough provided that the code in the updater to actually use that path is working correctly. It looks like you found a bug in the code that’s supposed to actually set the value in that file though.

jamesnr

comment created time in 3 hours

Pull request review commentnetdata/netdata

Spelling code

  #define ACLK_MAX_TOPIC 255 -#define ACLK_RECONNECT_DELAY 1 // reconnect delay -- with backoff stragegy fow now+#define ACLK_RECONNECT_DELAY 1 // reconnect delay -- with backoff strategy fow now

fow->for

jsoref

comment created time in 3 hours

pull request commentnetdata/netdata

Spelling build

@vkalintiris If you could take a look at this that would be appreciated.

jsoref

comment created time in 4 hours

delete branch netdata/netdata

delete branch : pr/10428

delete time in 4 hours

create barnchnetdata/netdata

branch : pr/10428

created branch time in 4 hours

Pull request review commentnetdata/netdata

fix postgres password bug and change default config

 tcp:     name     : 'local'     database : 'postgres'     user     : 'postgres'+    password : 'postgres'

lets add password for tcpipv4 and tcpipv6 jobs

OdysLam

comment created time in 4 hours

issue commentnetdata/netdata

Backend memory leak using netdata in AWS EKS using netdata Helm Deployment with parent-child configuration

Hi, unfortunately I only have today's logs. I will be saving those on regular basis to get the full picture.

Sent you today's portion.

maciejasembler

comment created time in 4 hours

issue commentnetdata/netdata

Connection closed when exporting to timescaledb

Duplicate of #10529

oleotiger

comment created time in 4 hours

issue closednetdata/netdata

Connection closed when exporting to timescaledb

Bug report summary

With timescaledb as database to store all metrics (as collected) and promscale as adapter, netdata failed exporting data.

OS / Environment

CentOS Linux release 7.7.1908 (Core)

Netdata version

netdata v1.28.0-128-g852bbdf

Component Name

export

Steps To Reproduce

My export conf

[exporting:global]
    enabled = yes
    # send configured labels = yes
    # send automatic labels = no
    update every = 3
[json:timescaledb_instance]
    enabled = yes
    destination = localhost:14866
    #remote write URL path = /write
    data source = as collected
    prefix = netdata
    hostname = xxx.xxx.xxx.xxx
    update every = 3
    buffer on failures = 10

Error message of promscale:Client 127.0.0.1 closed socket.

Error message in /var/log/netdata/error.log

**2021-01-18 17:17:21: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)**
2021-01-18 17:17:41: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_0/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:17:41: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_1/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:17:41: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_2/ports/1/rate' (errno 22, Invalid argument)
**2021-01-18 17:17:43: netdata LOG FLOOD PROTECTION too many logs (201 logs in 1084 seconds, threshold is set to 200 logs in 1200 seconds). Preventing more logs from process 'netdata' for 116 seconds.**
2021-01-18 17:19:43: netdata LOG FLOOD PROTECTION resuming logging from process 'netdata' (prevented 21 logs in the last 1200 seconds).
2021-01-18 17:19:43: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_0/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:19:43: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_1/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:19:43: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_2/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:04: netdata ERROR : MAIN : EXPORTING: failed to write data to 'localhost:14866'. Willing to write 2092068 bytes, wrote 1768237 bytes. Will re-connect. (errno 11, Resource temporarily unavailable)
2021-01-18 17:20:04: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)
2021-01-18 17:20:14: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_0/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:14: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_1/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:14: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_2/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:31: netdata ERROR : MAIN : EXPORTING: failed to write data to 'localhost:14866'. Willing to write 2092079 bytes, wrote 1766662 bytes. Will re-connect. (errno 11, Resource temporarily unavailable)
**2021-01-18 17:20:31: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)**
2021-01-18 17:20:44: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_0/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:44: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_1/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:44: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_2/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:20:53: netdata ERROR : MAIN : EXPORTING: failed to write data to 'localhost:14866'. Willing to write 2092055 bytes, wrote 1570200 bytes. Will re-connect. (errno 11, Resource temporarily unavailable)
2021-01-18 17:20:53: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)
2021-01-18 17:21:15: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_0/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:21:15: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_1/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:21:15: netdata ERROR : PLUGIN[proc] : Unable to read '/sys/class/infiniband/hrn0_2/ports/1/rate' (errno 22, Invalid argument)
2021-01-18 17:21:19: netdata ERROR : MAIN : EXPORTING: failed to write data to 'localhost:14866'. Willing to write 2092068 bytes, wrote 1570165 bytes. Will re-connect. (errno 11, Resource temporarily unavailable)
2021-01-18 17:21:19: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)
2021-01-18 17:21:41: netdata ERROR : MAIN : EXPORTING: failed to write data to 'localhost:14866'. Willing to write 2092376 bytes, wrote 1570204 bytes. Will re-connect. (errno 11, Resource temporarily unavailable)
2021-01-18 17:21:41: netdata ERROR : MAIN : Failed to connect to '::1', port '14866' (errno 111, Connection refused)

Lines starting with 2 stars are what I think should be care about.

If I restart netdata, data exporting is resumed and will fail after a while again.

Expected behavior

Stable exporting

closed time in 4 hours

oleotiger

issue commentnetdata/netdata

alarm configuration for fail2ban

Hey @youmakemyday,

Welcome to our community!

We no longer use our GitHub for support (questions, troubleshooting, etc.) but only to track bugs.

Please visit our Community Forums and create a new topic in the Netdata Agent Support category.

Cheers!

youmakemyday

comment created time in 4 hours

issue closednetdata/netdata

alarm configuration for fail2ban

Hello together,

is it possible to notify me, then the "BanCounter" (fail2ban.jails_in_jail) count in 5 minutes more then 3 new IPs?

Thx for this great tool and your help.

my test-config looks like that: `# /usr/lib/netdata/conf.d/health.d/fail2ban.conf

alarm: fail2ban on: fail2ban.jails_in_jail lookup: average -1m collected_total_raw every: 60s warn: $this > 2 delay: down 5m multiplier 1.5 max 1h plugin: python.d.plugin module: fail2ban info: fail2ban more then 2 in 1 minute to: sysadmin `

closed time in 4 hours

youmakemyday

PR opened openmrs/openmrs-ocl-client

OCLOMRS-920: Make sources and collections links.

JIRA TICKET NAME:

Should make sources and dictionaries with in an organization links.

Summary:

  • Made organization sources and collections links.
+5 -3

0 comment

2 changed files

pr created time in 4 hours

pull request commentopenmrs/openmrs-ocl-client

OCLOMRS-857: Back button and title hidden by expanded side nav

Done by Naman so it created conflict.

suruchee

comment created time in 4 hours

PR closed openmrs/openmrs-ocl-client

OCLOMRS-857: Back button and title hidden by expanded side nav

OCLOMRS-857: Back button and title hidden by expanded side nav:

https://issues.openmrs.org/browse/OCLOMRS-857

Summary:

+4 -3

6 comments

2 changed files

suruchee

pr closed time in 4 hours

more