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.
83
+# Extra options to pass to logger. You shouldn't have to specify anything
84
+# here in most cases.
85
#logger_options=""
86
87
#------------------------------------------------------------------------------
474
# On Linux, the eight log levels in decreasing order of severity are:
475
# emerg, alert, crit, err, warning, notice, info, debug
476
#
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.
477
+# By default, warnings will be logged at the warning level, critical
478
+# alerts at the crit level, and clear notifications at the invo level.
479
#
480
# And the 19 facilities you can log to are:
481
# auth, authpriv, cron, daemon, ftp, lpr, mail, news, syslog, user,
490
# configuration to change that needs to happen in the syslog daemon
491
# configuration, not here.
492
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.
493
+# This controls which facility is used by defalt for logging. Defaults
494
+# to local6.
495
SYSLOG_FACILITY=''
496
497
+# If a role's recipients are not configured, use the following.
498
+# (empty = do not send a notification for unconfigured roles)
499
+#
500
+# The recipient format for syslog uses the following format:
501
+# [[facility.level][@host[:port]]/]prefix
502
+#
503
+# `prefix` gets appended to the front of all log messages generated for
504
+# that recipient. The prefix is mandatory.
505
+# 'host' and 'port' can be used to specify a remote syslog server to
506
+# send messages to. Leave these out if you want messages to be delivered
507
+# locally. 'host' can be either a hostname or an IP address.
508
+# IPv6 addresses must have square around them.
509
+# 'facility' and 'level' are used to override the default logging facility
510
+# set above and the log level. If one is specified, both must be present.
511
+#
512
+# For example, to send messages with a 'netdata' prefix to a syslog
513
+# daemon listening on port 514 on 'loghost' using the daemon facility and
514
+# notice log level:
515
+# DEFAULT_RECIPIENT_SYSLOG='daemon.notice@loghost:514/netdata'
516
+#
517
+DEFAULT_RECIPIENT_SYSLOG="netdata"
518
519
#------------------------------------------------------------------------------
520
# custom notifications
613
614
role_recipients_irc[sysadmin]="${DEFAULT_RECIPIENT_IRC}"
615
616
+role_recipients_syslog[sysadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
617
+
618
role_recipients_custom[sysadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
619
620
# -----------------------------------------------------------------------------
648
649
role_recipients_irc[domainadmin]="${DEFAULT_RECIPIENT_IRC}"
650
651
+role_recipients_syslog[domainadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
652
+
653
role_recipients_custom[domainadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
654
655
# -----------------------------------------------------------------------------
684
685
role_recipients_irc[dba]="${DEFAULT_RECIPIENT_IRC}"
686
687
+role_recipients_syslog[dba]="${DEFAULT_RECIPIENT_SYSLOG}"
688
+
689
role_recipients_custom[dba]="${DEFAULT_RECIPIENT_CUSTOM}"
690
691
# -----------------------------------------------------------------------------
720
721
role_recipients_irc[webmaster]="${DEFAULT_RECIPIENT_IRC}"
722
723
+role_recipients_syslog[webmaster]="${DEFAULT_RECIPIENT_SYSLOG}"
724
+
725
role_recipients_custom[webmaster]="${DEFAULT_RECIPIENT_CUSTOM}"
726
727
# -----------------------------------------------------------------------------
756
757
role_recipients_irc[proxyadmin]="${DEFAULT_RECIPIENT_IRC}"
758
759
+role_recipients_syslog[proxyadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
760
+
761
role_recipients_custom[proxyadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
762
763
# -----------------------------------------------------------------------------
790
791
role_recipients_pd[sitemgr]="${DEFAULT_RECIPIENT_PD}"
792
773
-role_recipients_custom[sitemgr]="${DEFAULT_RECIPIENT_CUSTOM}"
793
+role_recipients_syslog[sitemgr]="${DEFAULT_RECIPIENT_SYSLOG}"
794
795
+role_recipients_custom[sitemgr]="${DEFAULT_RECIPIENT_CUSTOM}"