summaryrefslogtreecommitdiffstats
path: root/health/notifications
AgeCommit message (Collapse)Author
2024-01-15Regenerate integrations.js (#16792)Netdata bot
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com>
2024-01-15Update telegram documentation (#16777)thiagoftsm
2023-12-13Cleanup am files (#16597)vkalintiris
* Remove stale automake files. * Remove .inc make files
2023-12-13CMake build system. (#15996)vkalintiris
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud> Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Co-authored-by: netdatabot <bot@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-11-22fixes for logging (#16459)Costa Tsaousis
* fixes for logging * added log environment variables to cgroup-network * fix wrong condition * rename variable * fix leftovers * fix log2journal docs and logs
2023-11-22add sbindir_POST to PATH of bash scripts that use `systemd-cat-native` (#16456)Ilya Mashchenko
* use sbindir_POST in charts.d and alarm-notify * convert cgroup-name.sh to in * convert cgroup-network-helper.sh to in * simplify cgroup-network-helper
2023-11-22New logging layer (#16357)Costa Tsaousis
* cleanup of logging - wip * first working iteration * add errno annotator * replace old logging functions with netdata_logger() * cleanup * update error_limit * fix remanining error_limit references * work on fatal() * started working on structured logs * full cleanup * default logging to files; fix all plugins initialization * fix formatting of numbers * cleanup and reorg * fix coverity issues * cleanup obsolete code * fix formatting of numbers * fix log rotation * fix for older systems * add detection of systemd journal via stderr * finished on access.log * remove left-over transport * do not add empty fields to the logs * journal get compact uuids; X-Transaction-ID header is added in web responses * allow compiling on systems without memfd sealing * added libnetdata/uuid directory * move datetime formatters to libnetdata * add missing files * link the makefiles in libnetdata * added uuid_parse_flexi() to parse UUIDs with and without hyphens; the web server now read X-Transaction-ID and uses it for functions and web responses * added stream receiver, sender, proc plugin and pluginsd log stack * iso8601 advanced usage; line_splitter module in libnetdata; code cleanup * add message ids to streaming inbound and outbound connections * cleanup line_splitter between lines to avoid logging garbage; when killing children, kill them with SIGABRT if internal checks is enabled * send SIGABRT to external plugins only if we are not shutting down * fix cross cleanup in pluginsd parser * fatal when there is a stack error in logs * compile netdata with -fexceptions * do not kill external plugins with SIGABRT * metasync info logs to debug level * added severity to logs * added json output; added options per log output; added documentation; fixed issues mentioned * allow memfd only on linux * moved journal low level functions to journal.c/h * move health logs to daemon.log with proper priorities * fixed a couple of bugs; health log in journal * updated docs * systemd-cat-native command to push structured logs to journal from the command line * fix makefiles * restored NETDATA_LOG_SEVERITY_LEVEL * fix makefiles * systemd-cat-native can also work as the logger of Netdata scripts * do not require a socket to systemd-journal to log-as-netdata * alarm notify logs in native format * properly compare log ids * fatals log alerts; alarm-notify.sh working * fix overflow warning * alarm-notify.sh now logs the request (command line) * anotate external plugins logs with the function cmd they run * added context, component and type to alarm-notify.sh; shell sanitization removes control character and characters that may be expanded by bash * reformatted alarm-notify logs * unify cgroup-network-helper.sh * added quotes around params * charts.d.plugin switched logging to journal native * quotes for logfmt * unify the status codes of streaming receivers and senders * alarm-notify: dont log anything, if there is nothing to do * all external plugins log to stderr when running outside netdata; alarm-notify now shows an error when notifications menthod are needed but are not available * migrate cgroup-name.sh to new logging * systemd-cat-native now supports messages with newlines * socket.c logs use priority * cleanup log field types * inherit the systemd set INVOCATION_ID if found * allow systemd-cat-native to send messages to a systemd-journal-remote URL * log2journal command that can convert structured logs to journal export format * various fixes and documentation of log2journal * updated log2journal docs * updated log2journal docs * updated documentation of fields * allow compiling without libcurl * do not use socket as format string * added version information to newly added tools * updated documentation and help messages * fix the namespace socket path * print errno with error * do not timeout * updated docs * updated docs * updated docs * log2journal updated docs and params * when talking to a remote journal, systemd-cat-native batches the messages * enable lz4 compression for systemd-cat-native when sending messages to a systemd-journal-remote * Revert "enable lz4 compression for systemd-cat-native when sending messages to a systemd-journal-remote" This reverts commit b079d53c11f6687cd64d804fdd7b24c0492bf245. * note about uncompressed traffic * log2journal: code reorg and cleanup to make modular * finished rewriting log2journal * more comments * rewriting rules support * increased limits * updated docs * updated docs * fix old log call * use journal only when stderr is connected to journal * update netdata.spec for libcurl, libpcre2 and log2journal * pcre2-devel * do not require pcre2 in centos < 8, amazonlinux < 2023, open suse * log2journal only on systems pcre2 is available * ignore log2journal in .gitignore * avoid log2journal on centos 7, amazonlinux 2 and opensuse * add pcre2-8 to static build * undo last commit * Bundle to static Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Add build deps for deb packages Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Add dependencies; build from source Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Test build for amazon linux and centos expect to fail for suse Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * fix minor oversight Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Reorg code * Add the install from source (deps) as a TODO * Not enable the build on suse ecosystem Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud>
2023-10-29Regenerate integrations.js (#16291)Netdata bot
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com>
2023-10-22Fix Discord webhook payload (#16257)luchaos
2023-10-13Regenerate integrations.js (#16176)Netdata bot
Co-authored-by: Ancairon <Ancairon@users.noreply.github.com>
2023-10-06Regenerate integrations.js (#16138)Netdata bot
2023-10-06Remove family from alerts (#16025)Emmanuel Vasilakis
* remove loading and storing families from alert configs * remove families from silencers * remove from alarm log * start remove from alarm-notify.sh.in * fix test alarm * rebase * remove from api/v1/alarm_log * remove from alert stream * remove from config stream * remove from more * remove from swagger for health api * revert md changes * remove from health cmd api test
2023-10-03external plugins: respect env NETDATA_LOG_SEVERITY_LEVEL (#16089)Ilya Mashchenko
* func to set global log sev level for ext plugins * apps: set log sev level * cgroup-network: set log sev level * cups: set log sev level * debugfs: set log sev level * freeipmi: set log sev level * nfacct: set log sev level * perf: set log sev level * slabinfo: set log sev level * xenstat: set log sev level * cgroup-name.sh: handle log sev level * alarm-notify.sh: handle log sev level * systemd-journal: set log sev e level * ebpf.plugin: set log sev level * ioping: handle log sev level * cgroup-network-helper.sh: handle log sev level * fix for cgroup-network-helper.sh
2023-10-02Regenerate integrations.js (#16062)Netdata bot
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com> Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
2023-09-26Remove discontinued Hangouts and StackPulse notification methods (#16041)Fotis Voutsas
2023-09-19Add a summary field to alerts (#15886)Emmanuel Vasilakis
* add a summary field to alerts * add summary field to db * rebase * better migration * rebase * change email notification * revert to silent * use macro * add the summary field to some alerts * add more summary fields * change migration function * add to postgres alerts * add summary to vernemq * more summary fields * more summary fields * fixes * add doc
2023-09-12feat: Adds access control configuration for ntfy (#15932)Mike Iversen
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-09-06Replace _ with spaces for name variable for ntfy (#15909)МАН69К
2023-08-15docs rename alarm to alert (#15812)Ilya Mashchenko
2023-08-02Assorted fixes for integrations templates. (#15702)Austin S. Hemmelgarn
* Fix missing endif in template. * Add h2 to setup template. * Reduce duplication within the troubleshooting template. * Add missing troubleshooting section for agent notifications. * Fix path checking in troubleshooting template.
2023-08-01Update metadata.yaml (#15679)Shyam Sreevalsan
2023-08-01Fix formatting (#15673)Shyam Sreevalsan
* Fix formatting * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * change block style to `|` for detailed_description --------- Co-authored-by: ilyam8 <ilya@netdata.cloud>
2023-08-01Fix table formatting (custom exporter) (#15668)Shyam Sreevalsan
* Fix table formatting (custom exporter) * Update metadata.yaml * Update metadata.yaml
2023-08-01Fixing tables (aws sns) (#15671)Shyam Sreevalsan
Update metadata.yaml
2023-07-31Fix icons for notifications (#15644)Shyam Sreevalsan
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
2023-07-29Update metadata.yaml (#15632)Shyam Sreevalsan
2023-07-28Add notification metadata for agent notifications (#15622)Shyam Sreevalsan
* Add notification metadata * Update health/notifications/email/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update health/notifications/email/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update health/notifications/email/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update health/notifications/awssns/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update health/notifications/gotify/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update health/notifications/custom/metadata.yaml Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st> * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml * Update metadata.yaml --------- Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
2023-07-28Fix descriptions in config objects, make them single line (#15610)Fotis Voutsas
2023-07-28Sample Cloud Notifications metadata for Discord (#15597)Satyadeep Ashwathnarayana
* Added a sample metadata.yaml for Alerta * Fixing training spaces bringing yamlint errors * Sample Cloud Notification matadata for Discord * Add yamllint line-length check disable * Update metadata.yaml
2023-07-27Added a sample metadata.yaml for Alerta (#15591)Satyadeep Ashwathnarayana
* Added a sample metadata.yaml for Alerta * Fixing training spaces bringing yamlint errors
2023-07-26Add schema and examples for notification method metadata. (#15549)Austin S. Hemmelgarn
2023-07-12agent alert notifications redirect (#15350)Costa Tsaousis
* agent alert notifications redirect * set the same cookies with SameSite: Strict * registry search now requires only "for" parameter * registry responses are not cacheable * fix typo and add more error checking * registry memory when mmap is used * fix free with aral
2023-07-05health: respect overriding nc binary for IRC notifications (#15310)Ilya Mashchenko
2023-05-15Comment out default `role_recipients_*` values (#15047)James Gregory-Monk
2023-05-02feat: add OpsGenie alert levels to payload (#14992)OliverNChalk
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-04-25Update README.md (#14962)Chris Akritidis
2023-04-20WEBRTC for communication between agents and browsers (#14874)Costa Tsaousis
* initial webrtc setup * missing files * rewrite of webrtc integration * initialization and cleanup of webrtc connections * make it compile without libdatachannel * add missing webrtc_initialize() function when webrtc is not enabled * make c++17 optional * add build/m4/ax_compiler_vendor.m4 * add ax_cxx_compile_stdcxx.m4 * added new m4 files to makefile.am * id all webrtc connections * show warning when webrtc is disabled * fixed message * moved all webrtc error checking inside webrtc.cpp * working webrtc connection establishment and cleanup * remove obsolete code * rewrote webrtc code in C to remove dependency for c++17 * fixed left-over reference * detect binary and text messages * minor fix * naming of webrtc threads * added webrtc configuration * fix for thread_get_name_np() * smaller web_client memory footprint * universal web clients cache * free web clients every 100 uses * webrtc is now enabled by default only when compiled with internal checks * webrtc responses to /api/ requests, including LZ4 compression * fix for binary and text messages * web_client_cache is now global * unification of the internal web server API, for web requests, aclk request, webrtc requests * more cleanup and unification of web client timings * fixed compiler warnings * update sent and received bytes * eliminated of almost all big buffers in web client * registry now uses the new json generation * cookies are now an array; fixed redirects * fix redirects, again * write cookies directly to the header buffer, eliminating the need for cookie structures in web client * reset the has_cookies flag * gathered all web client cleanup to one function * fixes redirects * added summary.globals in /api/v2/data response * ars to arc in /api/v2/data * properly handle host impersonation * set the context of mem.numa_nodes
2023-04-10Add support for alert notifications to ntfy.sh (#14875)Dim-P
2023-04-05Fix js tag in documentation (#14862)Fotis Voutsas
fix js tag
2023-04-04Update Agent notification methods documentation (#14827)Fotis Voutsas
* update health/notifications/README.md * Alerta notification method documentation update * Amazon SNS and some alerta changes * notification methods imporvements * alerta refinements * awssns refinements * custom alert refinements * discord refinements * email notifications documentation update * flock notifications documentation update * alerta edits * awssns edits * custom notification method edits * discord edits * email notification method edits * flock edits * IRC notifications update * Kavenegar notifications documentation update * matrix notifications documentation update * messagebird notifications documentation update * msteams notifications documentation update * wording change * twilio notifications documentation update * telegram notifications documentation update * syslog notifications update * smstools3 notifications documentation update * rocket.chat notifications documentation update * pushover notifications documentation update * pushbullet notifications documentation update * prowl notifications documentation update * pagerduty notifications documentation update * remove comments from example configuration * slight wording changes * more notification methods documentation updates * slack notification documentation update * add config options to the notifications Introduction page * crop image twilio * crop image slack * crop image pushover * crop images pushbullet * crop image messagebird * crop image kavenegar
2023-02-28Make the title metadata H1 in all markdown files (#14625)Fotis Voutsas
* make the title metadta the H1 * Update collectors/python.d.plugin/zscores/README.md * Update libnetdata/ebpf/README.md * Update ml/README.md * Update libnetdata/string/README.md --------- Co-authored-by: Chris Akritidis <43294513+cakrit@users.noreply.github.com>
2023-02-20Fix broken links in our documentation (#14565)Fotis Voutsas
* fix broken link in ml/README.md * fix broken link across all files * fix broken link across all files * fix broken links and remove what's next sections * fix broken links and remove what's next section * Remove related links sections with broken links that link to removed files * fix broken links
2023-02-17Update email notification docs with info about setup in Docker. (#14555)Austin S. Hemmelgarn
2023-02-17Reorg learn 021723 (#14556)Chris Akritidis
* Change titles of agent alert notifications * Reintroduce netdata for iot * Eliminate guides category, merge health config docs * Rename setup to configuration * Codacy fixes and move health config reference
2023-02-15Reorganize learn documents under Integrations part 2 (#14538)Chris Akritidis
* Reorge exporter integrations * Reorg alert notifications. change mdx to md for alert related files * Move all .mdx to .md, including links.
2023-02-14Fix broken links in markdown files (#14513)Fotis Voutsas
* fix broken links in claim/README.md * delete broken link in docs/guidelines.md * fix broken links * fix broken link * fix broken links * fix broken links * fix broken links * fix broken links * fix broken links * remove broken link * fix broken link * fix broken links * fix broken links * fix broken links * fix broken link * fix linking phrasing * fix broken links batch * fix broken links second batch * fix broken links * fix broken links * fix broken links * Update COLLECTORS.md * fix broken links * fix broken links
2023-02-08Add export for people running their own registry (#14457)Chris Akritidis
See https://github.com/netdata/netdata/issues/3495#issuecomment-1408452259
2023-02-02Covert our documentation links to GH absolute links (#14344)Tasos Katsoulas
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2023-01-31Update the notifications/integrations docs (#14335)Hugo Valente
* Add the docs for the newly added notification/integrations methods of the cloud. Notifications: Discord/PagerDuty/Slack/Generic WebHook * Update docs related to; Managing notification with the new methods. Co-authored-by: Shyam Sreevalsan <shyam@netdata.cloud>
2023-01-27minor fix on notification doc (Discord) (#14339)Tasos Katsoulas
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>