15
# - sms messages to your cell phone or any sms enabled device (messagebird.com)
16
# - notifications to users on pagerduty.com
17
# - messages to your irc channel on your selected network
18
+# - messages to a local or remote syslog daemon
19
#
20
# The 'to' line given at netdata alarms defines a *role*, so that many
21
# people can be notified for each role.
62
# If not found, irc notifications will be silently disabled.
63
nc=""
64
65
+# The full path of the logger command.
66
+# If empty, the system $PATH will be searched for it.
67
+# If not found, syslog notifications will be silently disabled.
68
+logger=""
69
+
70
#------------------------------------------------------------------------------
71
# extra options for external commands
72
#
80
# of potentially sensitive information.
81
#curl_options="--insecure"
82
83
+# Extra options to pass to logger. If you just want to send to your
84
+# local system logs, you can leave this empty and everything should work.
85
+# If you want to send to a remote syslog server, you need to specify the
86
+# remote server here with the `--host` option, and may need additional
87
+# options to select the protocol. See `man logger` for more information.
88
+#logger_options=""
89
+
90
#------------------------------------------------------------------------------
91
# NOTE ABOUT RECIPIENTS
92
#
453
IRC_REALNAME=""
454
455
456
+#------------------------------------------------------------------------------
457
+# syslog notifications
458
+#
459
+# syslog notifications only need you to have a working logger command, which
460
+# should be the case on pretty much any Linux system.
461
+
462
+# enable/disable sending syslog notifications
463
+# NOTE: make sure you have everything else configured the way you want
464
+# it _before_ turning this on.
465
+SEND_SYSLOG="NO"
466
+
467
+# A note on log levels and facilities:
468
+#
469
+# The traditional UNIX syslog mechanism has the concept of both log
470
+# levels and facilities. A log level indicates the relaitve severity of
471
+# the message, while a facility specifies a generic source for the message
472
+# (for example, the `mail` facility is where sendmail and postfix log
473
+# their messages). All major syslog daemons have the ability to filter
474
+# messages based on both log level and facility, and can often also make
475
+# routing decisions for messages based on both factors.
476
+#
477
+# On Linux, the eight log levels in decreasing order of severity are:
478
+# emerg, alert, crit, err, warning, notice, info, debug
479
+#
480
+# By default, netdata alerts will be logged at the warning level
481
+# for warnings and clear notifications, and the err level for critical
482
+# notifications.
483
+#
484
+# And the 19 facilities you can log to are:
485
+# auth, authpriv, cron, daemon, ftp, lpr, mail, news, syslog, user,
486
+# uucp, local0, local1, local2, local3, local4, local5, local6, and local7
487
+#
488
+# By default, netdata alerts will be logged to the local6 facility.
489
+#
490
+# Depending on your distribution, this means that either all your
491
+# netdata alerts will by default end up in the main system log (usually
492
+# /var/log/messages), or they won't be logged to a file at all.
493
+# Neither of these are likely to be what you actually want, but any
494
+# configuration to change that needs to happen in the syslog daemon
495
+# configuration, not here.
496
+
497
+# This specifies the log level that warnings and clear notifications
498
+# will be sent at. If unset, it defaults to 'warning'.
499
+SYSLOG_LEVEL=''
500
+
501
+# This specifies the log level that critical alerts will be sent at.
502
+# If unset, it defaults to 'err'
503
+SYSLOG_CRITICAL_LEVEL=''
504
+
505
+# This controls which facility is used for logging. Defaults to local6.
506
+SYSLOG_FACILITY=''
507
+
508
+
509
#------------------------------------------------------------------------------
510
# custom notifications
511
#