Skip to content

Commit 3601b32

Browse files
committed
chore(alertsenders): Disable systray alertsender by default
Disable the systray alert sender by default, and enable evenlog verbose mode.
1 parent cb070a1 commit 3601b32

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

configs/fibratus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ alertsenders:
1919
# Systray sender sends alerts as notifications to the taskbar status area.
2020
systray:
2121
# Enables/disables systray alert sender
22-
enabled: true
22+
enabled: false
2323

2424
# Indicates if the associated sound is played when the balloon notification is shown
2525
sound: true
@@ -84,7 +84,7 @@ alertsenders:
8484
# Enables/disables the verbose mode. In verbose mode, the full event
8585
# context, including all parameters and the process information are included
8686
# in the log message.
87-
verbose: false
87+
verbose: true
8888

8989
# =============================== API ==================================================
9090

pkg/alertsender/eventlog/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ type Config struct {
4040
// AddFlags registers persistent flags.
4141
func AddFlags(flags *pflag.FlagSet) {
4242
flags.Bool(enabled, true, "Indicates if eventlog alert sender is enabled")
43-
flags.Bool(verbose, false, "Enables/disables the verbose mode. In verbose mode, the full event context, including all parameters and the process information are included in the log message")
43+
flags.Bool(verbose, true, "Enables/disables the verbose mode. In verbose mode, the full event context, including all parameters and the process information are included in the log message")
4444
}

pkg/alertsender/systray/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type Config struct {
4040

4141
// AddFlags registers persistent flags.
4242
func AddFlags(flags *pflag.FlagSet) {
43-
flags.Bool(enabled, true, "Determines whether systray alert sender is enabled")
43+
flags.Bool(enabled, false, "Determines whether systray alert sender is enabled")
4444
flags.Bool(sound, true, "Indicates if the associated sound is played when the balloon notification is shown")
4545
flags.Bool(quietMode, false, "Instructs not to display the balloon notification if the current user is in quiet time")
4646
}

pkg/config/_fixtures/fibratus.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ aggregator:
1616

1717
# Alert senders deal with emitting alerts via different channels.
1818
alertsenders:
19+
# Systray sender sends alerts as notifications to the taskbar status area.
20+
systray:
21+
# Enables/disables systray alert sender
22+
enabled: true
23+
24+
# Indicates if the associated sound is played when the balloon notification is shown
25+
sound: true
26+
27+
# Instructs not to display the balloon notification if the current user is in quiet time.
28+
# During this time, most notifications should not be sent or shown. This lets a user become
29+
# accustomed to a new computer system without those distractions. Quiet time also occurs for
30+
# each user after an operating system upgrade or clean installation.
31+
quiet-mode: false
32+
1933
# Mail sender transports the alerts via SMTP protocol.
2034
mail:
2135
# Enables/disables mail alert sender.

0 commit comments

Comments
 (0)