Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netdata_server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSI Ansible
netdata_server
Commits
1c9ade14
Verified
Commit
1c9ade14
authored
Sep 29, 2023
by
David Mehren
Browse files
Options
Downloads
Patches
Plain Diff
Use different names for default and custom alarm setting files
parent
ed02bf50
No related branches found
No related tags found
No related merge requests found
Pipeline
#192232
passed
Sep 29, 2023
Stage: linting
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
files/10_ansible_defaults.conf
+0
-0
0 additions, 0 deletions
files/10_ansible_defaults.conf
tasks/main.yml
+3
-3
3 additions, 3 deletions
tasks/main.yml
with
4 additions
and
4 deletions
README.md
+
1
−
1
View file @
1c9ade14
...
...
@@ -4,7 +4,7 @@ Configures netdata to monitor the host and send alerts.
## Alerts
Make sure to set
`netdata_from_email`
and
`netdata_to_email`
and to configure the
`msmtp_relay`
role.
You can override alarm settings in
`files/health_override.conf`
You can override alarm settings in
`files/
{{ inventory_hostname }}/20_netdata_
health_override.conf`
## Incoming replication
If you set
`netdata_master`
to
`true`
it will also act as a central target for other collectors.
...
...
This diff is collapsed.
Click to expand it.
files/
netdata_health_override
.conf
→
files/
10_ansible_defaults
.conf
+
0
−
0
View file @
1c9ade14
File moved
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
3
−
3
View file @
1c9ade14
...
...
@@ -26,13 +26,13 @@
group
:
root
mode
:
"
0644"
with_fileglob
:
-
"
{{
inventory_hostname
}}/netdata_health_override
.conf
"
-
netdata_health_override.conf
-
10_ansible_defaults
.conf
-
"
{{
inventory_hostname
}}/20_
netdata_health_override.conf
"
notify
:
Reload netdata alarms
-
name
:
Copy last_collected alert config
ansible.builtin.template
:
dest
:
"
/etc/netdata/health.d/last_collected.conf"
dest
:
"
/etc/netdata/health.d/
10_
last_collected.conf"
src
:
"
last_collected.conf.j2"
owner
:
root
group
:
root
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment