Coder Social home page Coder Social logo

Comments (5)

mkesper avatar mkesper commented on June 14, 2024 1

OK. Found out that ALL alerts default to silent.
Sorry but I did not expect that. Maybe a good addition to the docs?
Also your log check line would be a good addition as filtering out relevant lines from log is nowhere described afaics.

from netdata.

ilyam8 avatar ilyam8 commented on June 14, 2024

Hey, @mkesper.

bash-5.2$ grep alarm etc/netdata/netdata.conf
        # postpone alarms during hibernation for seconds = 60
        # enabled alarms = *
        script to execute on alarm = /usr/libexec/netdata/plugins.d/alarm-notify.sh

Did you cd /opt/netdata before grep?

The script to execute on alarm path is correct for static installs. As you see it is uncommented in your netdata.conf. So someone changed it.

from netdata.

mkesper avatar mkesper commented on June 14, 2024

You're right. I tried to change it to get it working. But the alerts were not sent out even before changing that entry. Only manual testing works.

from netdata.

ilyam8 avatar ilyam8 commented on June 14, 2024

@mkesper Can you give a specific example?

  • What alerts (notifications) didn't work?
  • Were those alerts active?
  • Did you check logs? Can you share logs? (journalctl --namespace=netdata --grep "health|ALERT NOTIFICATION")

from netdata.

ilyam8 avatar ilyam8 commented on June 14, 2024

@mkesper you can also see alert transitions/notifications in Logs

Screenshot Screenshot 2024-01-23 at 11 58 53

Found out that ALL alerts default to silent.

By default, not all of them are silent - 99 out of 320.

$ pwd
/Users/ilyam/Projects/github/ilyam8/netdata/health/health.d

$ git grep -Eo "to: .+"  | awk '{print $2}' | sort | uniq -c | sort -n
     13 sitemgr
     17 webmaster
     43 dba
     99 silent
    148 sysadmin

Also your log check line would be a good addition as filtering out relevant lines from log is nowhere described afaics.

You are right, that is an issue.

from netdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.