Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
1e922de8
Verified
Commit
1e922de8
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
[monitoring] Add non-free for MIBs
parent
4bab0368
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
monitoring.yml
+3
-0
3 additions, 0 deletions
monitoring.yml
roles/debian-non-free/tasks/main.yml
+5
-0
5 additions, 0 deletions
roles/debian-non-free/tasks/main.yml
roles/prometheus/tasks/main.yml
+1
-0
1 addition, 0 deletions
roles/prometheus/tasks/main.yml
with
9 additions
and
0 deletions
monitoring.yml
+
3
−
0
View file @
1e922de8
...
...
@@ -30,7 +30,10 @@
prometheus_snmp_targets
:
-
targets
:
-
pulsar.adm.crans.org
# Debian non-free mirror
debian_mirror
:
http://ftp.adm.crans.org/debian/
roles
:
-
debian-non-free
-
prometheus
-
prometheus-alertmanager
...
...
This diff is collapsed.
Click to expand it.
roles/debian-non-free/tasks/main.yml
0 → 100644
+
5
−
0
View file @
1e922de8
---
-
name
:
Add Debian non-free repository
apt_repository
:
repo
:
deb {{ debian_mirror }} {{ ansible_lsb.codename }} non-free
state
:
present
This diff is collapsed.
Click to expand it.
roles/prometheus/tasks/main.yml
+
1
−
0
View file @
1e922de8
...
...
@@ -5,6 +5,7 @@
name
:
-
prometheus
-
prometheus-snmp-exporter
-
snmp-mibs-downloader
# To generate SNMP configuration
register
:
apt_result
retries
:
3
until
:
apt_result is succeeded
...
...
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